SimplePortal

Support => Install and Upgrade => Topic started by: Old Fossil on October 19, 2009, 01:00:21 PM

Title: Error in uninstall
Post 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
Title: Re: Error in uninstall
Post by: ccbtimewiz on October 19, 2009, 01:09:01 PM
It did not uninstall properly.

Attach your index.php file please.
Title: Re: Error in uninstall
Post by: Old Fossil on October 19, 2009, 01:18:10 PM
Here ya go bud.

Title: Re: Error in uninstall
Post by: ccbtimewiz on October 19, 2009, 01:21:12 PM
Find:
Code: [Select]
sportal_init();
Replace with;
Code: [Select]
//sportal_init();
Title: Re: Error in uninstall
Post by: Old Fossil on October 19, 2009, 02:08:08 PM
Parse error: syntax error, unexpected '(' in /home/visionar/public_html/index.php on line 268

Title: Re: Error in uninstall
Post by: ccbtimewiz on October 19, 2009, 02:25:03 PM
Find:
Code: [Select]
elseif (empty($modSettings['allow_guestAccess'])($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'help', 'smstats', 'mailq', 'verificationcode', 'openidreturn',))))
Replace with:
Code: [Select]
elseif (empty($modSettings['allow_guestAccess'])($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'help', 'smstats', 'mailq', 'verificationcode', 'openidreturn',)))
Title: Re: Error in uninstall
Post by: Old Fossil on October 19, 2009, 02:36:34 PM
No change.
Title: Re: Error in uninstall
Post by: ccbtimewiz on October 19, 2009, 03:56:53 PM
What do you mean?
Title: Re: Error in uninstall
Post by: Old Fossil on October 19, 2009, 06:48:17 PM
Same error on the page.
Title: Re: Error in uninstall
Post by: Runic on October 19, 2009, 06:50:44 PM
same line?
Title: Re: Error in uninstall
Post by: Old Fossil on October 19, 2009, 06:52:00 PM
yep
Title: Re: Error in uninstall
Post by: Nathaniel on October 20, 2009, 02:05:54 AM
Try this code (for the replace posted by ccbtimewiz):
Code: [Select]
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',))))
SimplePortal 2.3.8 © 2008-2024, SimplePortal