here are some details:
forum.therealvanyek.ml/index.php?action=admin;area=logs;sa=errorlog;desc
/path/to/smf/Sources/Subs.php (Line 4570)
Type of error: Undefined
Error message:[Select]
2: Undefined array key 7
not sure if i need to post in that category
please include the code from lines 4560-4580 in your subs.php
And please use the code tags.
Quote from: Kindred on June 27, 2023, 10:46:26 AMplease include the code from lines 4560-4580 in your subs.php
sorry for late reply, but here it is:
call_integration_hook('integrate_security_files', array(&$securityFiles));
foreach ($securityFiles as $i => $securityFile)
{
if (!file_exists($boarddir . '/' . $securityFile))
unset($securityFiles[$i]);
}
// We are already checking so many files...just few more doesn't make any difference! :P
if (!empty($modSettings['currentAttachmentUploadDir']))
$path = $modSettings['attachmentUploadDir'][$modSettings['currentAttachmentUploadDir']];
else
$path = $modSettings['attachmentUploadDir'];
secureDirectory($path, true);
secureDirectory($cachedir);
// If agreement is enabled, at least the english version shall exist
if (!empty($modSettings['requireAgreement']))
$agreement = !file_exists($boarddir . '/agreement.txt');
btw the problem was in the attachments dir path, but now it's solved