SimplePortal

Support => Install and Upgrade => Topic started by: ardmhacha on May 31, 2009, 04:06:53 PM

Title: homepage not opening
Post by: ardmhacha on May 31, 2009, 04:06:53 PM
Hi

I have SMF 1.1.9 and Simpleportal 2.2.1 installed. The problem is the homepage won't open fully when I enter the site url in the browser (IE7 or Firefox)

It will however open when I click on the 'home' button. Its as if the homepage needs index.php. The SMF homepage opens OK when I uninstall Simpleportal.

I have had a look around the forums and haven't seen any other examples of this happening to others. I would appreciate your help with this.



Thanks
Title: Re: homepage not opening
Post by: Nathaniel on May 31, 2009, 05:28:36 PM
Could you please post a link to your forum? (via PM if you don't want to publically give it out)
Title: Re: homepage not opening
Post by: ardmhacha on May 31, 2009, 05:38:03 PM
Nathaniel, thanks for the quick response.

Here's the url. Let me know if you need admin access.

http://www.stpetersgac.com/drupaltest/smf/
Title: Re: homepage not opening
Post by: [SiNaN] on June 02, 2009, 06:45:38 AM
I see the error but we need to debug it. Would you please make this change and report us what you see at the top of the page?

Sources/SPortal1-1.php

Code: (Find) [Select]
require_once($sourcedir . '/Subs-SPortal1-1.php');
Code: (Replace) [Select]
if (allowedTo('admin_forum'))
echo '<pre>'; print_r($_GET); echo '</pre>';

require_once($sourcedir . '/Subs-SPortal1-1.php');
Title: Re: homepage not opening
Post by: ardmhacha on June 02, 2009, 04:25:57 PM
Thanks SiNaN

It gives the following.

Array ( [t] => [smf] => )

You can see for yourself using the url.
Title: Re: homepage not opening
Post by: [SiNaN] on June 03, 2009, 06:11:30 AM
This is a bug in SMF. The best I can suggest for now is this temporary fix at SimplePortal end:

./Sources/Subs-SPortal1-1.php

Code: (Find) [Select]
'variant' => true,
'language' => true,

Code: (Replace) [Select]
'variant' => true,
'language' => true,
't' => true,
'smf' => true,
Title: Re: homepage not opening
Post by: ardmhacha on June 03, 2009, 02:18:53 PM
SiNaN,

worked a treat - thank you for your time.

ardmhacha
SimplePortal 2.3.8 © 2008-2024, SimplePortal