Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Parse error following settings change.
I made a change in a setting using the "Announcements" extension and upon doing so I receive the following error and cannot access my forum any longer.
Parse error: parse error, unexpected '<' in /home/________/public_html/dci/forum/conf/settings.php on line 44
Thing is... Line 44 in settings.php is NOTHING
Anyone have an idea as to how I can fix this?
Here is lines 35-45 for reference...
35 $RequiredPermissionsCount = count($RequiredPermissions);
36 $i = 0;
37 for ($i = 0; $i < $RequiredPermissionsCount; $i++) {
38 if ($Context->Session->User->Permission($RequiredPermissions[$i])) {
39 $Allowed = 1;
40 break;
41 }
42 }
43 if (!$Allowed) header('location:'.GetUrl($Configuration, 'index.php'));
44
45 // 1. DEFINE VARIABLES AND PROPERTIES SPECIFIC TO THIS PAGE
0
This discussion has been closed.
Comments
Check through the file, and you'll likely missing a quote, single quote, or semi-colon somewhere prior to line 35.
Now I can load my forums but now if I try to login it says
Some problems were encountered
The requested user could not be found.
For my admin login... I haven't changed anything in the SQL...