SimplePortal
Support => Install and Upgrade => Topic started by: Old Fossil on October 19, 2009, 01:00:21 PM
-
Fatal error: Call to undefined function sportal_init() in /home/visionar/public_html/index.php on line 234
-
It did not uninstall properly.
Attach your index.php file please.
-
Here ya go bud.
-
Find:
sportal_init();
Replace with;
//sportal_init();
-
Parse error: syntax error, unexpected '(' in /home/visionar/public_html/index.php on line 268
-
Find:
elseif (empty($modSettings['allow_guestAccess'])($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'help', 'smstats', 'mailq', 'verificationcode', 'openidreturn',))))
Replace with:
elseif (empty($modSettings['allow_guestAccess'])($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'help', 'smstats', 'mailq', 'verificationcode', 'openidreturn',)))
-
No change.
-
What do you mean?
-
Same error on the page.
-
same line?
-
yep
-
Try this code (for the replace posted by ccbtimewiz):
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'help', 'smstats', 'mailq', 'verificationcode', 'openidreturn',))))