Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 02:58:44 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Only top ordered page displays, 500 error on all others  (Read 646 times)
Anlina

Offline Offline

Posts: 19


« on: April 22, 2008, 02:54:27 AM »

I'm working on setting up my first install of WB and everything went pretty smoothly up until I started creating pages.

My first page displayed just fine, but every additional page I create gives me a 500 server error.

I did a little testing with reordering the pages, and which ever page is at the top of my list displays properly. All others give me the same error.

Basically, as far as I can tell, accessing the domain via the index page is fine, but trying to view any of the pages at /pages/pagename.php is totally broken.

Any ideas on why this is happening or how to fix it?

You can view my test site to see exactly what is going on.

http://diane.anlinasheng.com/
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: April 22, 2008, 05:39:11 AM »

Hello,

check the permissions of your /pages dir. It seems that scripts are not allowed to create the necessary page files in pages dir.

Also have a look to the requirements of WB (Server does not run with "safe mode on") and read our doku about filepermissions on our help page.

Matthias
Logged
Anlina

Offline Offline

Posts: 19


« Reply #2 on: April 22, 2008, 06:40:04 PM »

Thank you - I manually changed the file permissions on the pages I had already created and they are viewable now.

Now, when I create a new page the permissions are still set wrong - is that something that needs to be fixed in websitebaker, or something that needs adjusting on the server end?

Safe mode does appear to be off according to phpinfo.
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #3 on: April 22, 2008, 07:22:07 PM »

That needs to be fixed serverside ... I would ask your hoster, what uid and gid (user and group id) and what default permissions the files created via PHP get. It looks like this is on purpose to diable "malicious" fileuploads / executions.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Anlina

Offline Offline

Posts: 19


« Reply #4 on: April 23, 2008, 05:12:13 AM »

Okay, I contacted my host, but it actually was an issue with the WebsiteBaker settings (and I don't think it was a fluke - I did three complete installs and encountered the same issues each time.)

Anyway, the permissions issue was caused by a value in the "settings" table.

setting_id: 38
name: string_file_mode

The value variable was set to 0666. This was on a fresh install into an empty database, so there wasn't any setting that I played around with to create this issue after installation.

Anyway, I changed this variable to 0755 and everything seems to be fixed with respect to this problem.
Logged
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!