collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 880
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Author Topic: 500 Error in Standalone  (Read 2722 times)

0 Members and 1 Guest are viewing this topic.

Offline Jopie

  • Semi Newbie
  • *
  • Posts: 26
  • SMF Version: 1.1.12
  • SP Version: 2.3.3
500 Error in Standalone
« on: February 09, 2010, 09:02:52 AM »
Hi,
I've installed SP and that went smoothly, than i select Standalone Mode coz i want to use it as a Frontpage and have it on the frontpage adress than i altered the codes as explained in the General Custom Theme tutorial to add a forum button and give the home button the path to where the frontpage is going to be. For now i've made a test folder where the portalstandalone.php file is and so i directed it to there.

Now when i click the home button i get this message
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@...... and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------

Apache/1.3.41 Server at www.thesorceressandcompany.com Port 80



When i look into my forumlog i find this message:
8: Undefined variable: modSettings
File: /home/Myname/public_html/Forum/Themes/default/BoardIndex.template.php (eval?)
Line: 528


I've also tried to rename portalstandalone.php into index.php that resulted in a page like my frontpage now only full with little blocks with red x

The version SMF i use is: SMF 1.1.11
The version SP i use is: 2.3.1
My forum adress is: http://thesorceressandcompany.com/Forum/index.php

i'm totally new to the portal stuff and i don't have much understanding of the technical side so can you please keep it as simple as possible, i'm not English speaking also, i'm Dutch.

Thank you in advance.

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: 500 Error in Standalone
« Reply #1 on: February 09, 2010, 06:17:05 PM »
Edit your PortalStandalone.php file (with a code editor, ie. not notepad).

Change this code:
Code: [Select]
$forum_dir = 'full/path/to/forum';
To this code:
Code: [Select]
$forum_dir = '/home/Myname/public_html/Forum';
Then you should be able to rename it how you like, the important thing is that it has the correct forum directory.
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Jopie

  • Semi Newbie
  • *
  • Posts: 26
  • SMF Version: 1.1.12
  • SP Version: 2.3.3
Re: 500 Error in Standalone
« Reply #2 on: February 10, 2010, 04:55:20 AM »
Thank you for helping me and i'm sorry i attached the wrong portalstandalone.php file. I did, and have done again, change the full path to the forum. I followed the instructions precicely but it gave, and gives, me the error 500 message anyway.

I editted the code in CPanel. I clicked on the file and choose edit file. Is that not a good way of doing it?

Thanks

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: 500 Error in Standalone
« Reply #3 on: February 11, 2010, 04:19:01 AM »
Upload this file to your web site root and see if it works when you go to http://thesorceressandcompany.com/test.php address.
And slowly, you come to realize... It's all as it should be...

Offline Jopie

  • Semi Newbie
  • *
  • Posts: 26
  • SMF Version: 1.1.12
  • SP Version: 2.3.3
Re: 500 Error in Standalone
« Reply #4 on: February 11, 2010, 05:29:34 AM »
Thank you helping SiNaN.
Just to be sure i got it right, you mean /home/public_html/ ?

« Last Edit: February 11, 2010, 05:38:28 AM by Jopie »

Offline Jopie

  • Semi Newbie
  • *
  • Posts: 26
  • SMF Version: 1.1.12
  • SP Version: 2.3.3
Re: 500 Error in Standalone
« Reply #5 on: February 11, 2010, 05:37:56 AM »
I just went ahead and put it in public_html/ clicked on the link in your post and it worked  :D

Now is the question, at least for me, how do i get it to work so the home button points to there and i get index.php when i made that page look the way i want.

I'm so glad you made it work so far, thank you   :D

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: 500 Error in Standalone
« Reply #6 on: February 11, 2010, 05:45:11 AM »
Rename that file to index.php. Then go to Admin > SimplePortal > Configuration > General Settings area and set Standalone URL as http://thesorceressandcompany.com/index.php and it should change the link for the button if you added the menu button to your custom theme correctly.
And slowly, you come to realize... It's all as it should be...

Offline Jopie

  • Semi Newbie
  • *
  • Posts: 26
  • SMF Version: 1.1.12
  • SP Version: 2.3.3
Re: 500 Error in Standalone
« Reply #7 on: February 11, 2010, 06:06:01 AM »
OMG it works  :applause: i've left it as test yet coz i'm still figuring out how to make it look the way i want. But i've changed the Standalone url to it and when i click the home button it goes wonderfully to there  :applause:

You must be a wizzard  ;D thank you so much.

PS is there any documentation i can read about the difference in having pages instead of blocks? Or how to have blocks and articles on pages?