SimplePortal

Support => English Support => Topic started by: Adjacent on January 09, 2011, 05:50:24 PM

Title: Standalone page error.
Post by: Adjacent on January 09, 2011, 05:50:24 PM
SMF & Simple Portal Versions (see profile).

Code: [Select]
Warning: strpos() [function.strpos]: Empty delimiter in /web/users/jason/forum/Sources/ForumFirewall.php on line 215

Notice: Undefined index: theme_language_error in /web/users/jason/forum/Sources/Load.php on line 1640

Notice: Undefined index: server in /web/users/jason/forum/Sources/Subs-Post.php on line 532

Notice: Undefined index: forum_name in /web/users/jason/forum/Sources/Subs-Post.php on line 578

Notice: Undefined index: character_set in /web/users/jason/forum/Sources/Subs-Post.php on line 863

Notice: Undefined index: utf8 in /web/users/jason/forum/Sources/Subs-Post.php on line 902

Notice: Undefined index: utf8 in /web/users/jason/forum/Sources/Subs-Post.php on line 904

Notice: Undefined index: server in /web/users/jason/forum/Sources/Subs-Post.php on line 920

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid UTF-8 string at offset 8 in /web/users/jason/forum/Sources/Subs-Post.php on line 920

Notice: Undefined index: character_set in /web/users/jason/forum/Sources/Subs-Post.php on line 863

Notice: Undefined index: mail_send_unable in /web/users/jason/forum/Sources/Subs-Post.php on line 663


Description:

I've been using Simpleportal for a while. GREAT mod. But I decided to have it set to Standalone.

See my forum is at http://mainmedia.me/forum

My standalone page which I set it to point to as http://mainmedia.me/index.php

I only get these errors above when not logged in on standalone page. I've had no other errors on anything. My database is UTF 8 btw.


Thanks for ANY help,




Jason
Title: Re: Standalone page error.
Post by: Adjacent on January 10, 2011, 06:50:27 PM
Bump. Please help. My forum officially opens tomorrow.
Title: Re: Standalone page error.
Post by: AngelinaBelle on January 11, 2011, 11:34:55 AM
It seems almost as though ForumFirewall.php doesn't much like being on your portal standalone page.
But the real problem could be some other incompatability between any of the mods you have installed.
 
I am completely unfamiliar with forum firewall.
You might check at the mod's support site, to find other SimplePortal users, like bigguy, and find out if they have had similar problems.
 
At the same time, you could try, on a test instance of your forum (you could call it /forumtest), installing JUST simpleportal, keep the standalone page at /forumtest/PortalStandalone.php, test the standalone page, then install ForumFirewall and test again.
 
That would certainly help narrow things down.
Title: Re: Standalone page error.
Post by: Adjacent on January 11, 2011, 11:57:17 AM
Oh thank you so much.  :)

I disabled ForumFirewall and now it seems to work perfectly. I guess I'll have to contact them about this error.


I was also wondering if you could help me with a small favour please.

I wanted the standalone page to have different buttons than the rest of the forum pages to make it look a little bit separate from the forum. I wanted the forum to have "Home (goes to standalone page) - Forum (goes to forum) - Help - Search - Calendar - Arcade - Shop - Members - Login - Register". I wanted the stand alone page to have custom buttons. Like maybe "Home - Forum - Chat - Wiki - About - Contact Us - Register" or something...

Would you please do this for me or tell me how so I can myself? I'm not so good with the coding side of themes.


Thanks,

Jason
Title: Re: Standalone page error.
Post by: AngelinaBelle on January 11, 2011, 03:00:10 PM
I know this can be done.
But I don't know, offhand, how to do it.
 
Your navigation buttons, for SMF version 1.1.11, are found in index.template.php
 
What you can do there is test for which page you are on, and enable and disable buttons accordingly.
 
One thing you could check is the current page's URL. That could be a fairly ugly, but simple, way to do it.
 
 
SimplePortal 2.3.8 © 2008-2024, SimplePortal