Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 05:25:04 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: root index.php internal server error  (Read 2906 times)
sjbt

Offline Offline

Posts: 24


« on: December 18, 2007, 03:17:55 AM »

The home page, index.php in the root directory, returns a 500 Internal Server Error.

If I got directly to other pages (url../pages/xyz.php) they display find. I've searched different posts. The page with id 1 is intact but has been renamed. Config.php is correct and the file, index.php, matches exactly the  ones on other working sites.

Any ideas of anything I can check to see what the problem is here?



 
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: December 18, 2007, 06:36:58 AM »

Hello,

you don't need to call the index.php in the root. The user who types the url in the browser gots redirected to a page in the pages directory wich is the first one in your pages overview in WB admin. So both index.php (in the root of WB and in the pages dir) are only system files from WB and no pages files.

One thing what we probably should add to our help pages is that a page never should be named "index" when you create a page in WB admin. If you do this, the system file index.php in the pages directory gots overwritten with a page file index.php wich causes errors btw. brakes the whole WB page.

Matthias
Logged
sjbt

Offline Offline

Posts: 24


« Reply #2 on: December 18, 2007, 11:04:07 AM »

Then the problem isn't with the index.php page at all. I have a "coming soon" sort of page up as index.html right now - til the wb is ready to go live. When I remove that and just use the url, I still get an Internal Server error. But if I go to specific pages as .../pages/xyz.php it works fine.

Index.php must be hitting an error and doing what it's supposed to: "die"   Is there a way to make it show errors when it hits them so I know exactly where the problem is?

Thanks
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #3 on: December 19, 2007, 06:02:41 AM »

Hello,

you can try to replace the index.php in root an pages dir with the original ones from wb package. If this doesn't solve your issue please check and double check the pathes in config.php.

Did your issue occur with all pages or only with special pages?
Have you possibly enabled intro page without creating one?

A little bit more infos, example links or screenshoots would be very helpfull.

Matthias
Logged
lanesharon

Offline Offline

Posts: 47


WWW
« Reply #4 on: December 22, 2007, 08:32:43 PM »

But if I go to specific pages as .../pages/xyz.php it works fine.
If you built that coming soon page through WB, and cannot get to it using http://yoursite.com, then try this - http://yoursite.com/pages/your-menu-title-for-that-page.php
Logged

Take Care,  Sharon
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!