Page 1 of 2

(solved)Upgraded to 1.1.2. No pages show.

Posted: Mon Mar 12, 2007 9:10 pm
by Dalif
Heya.. Been using 0.9 for a while, and decided tonight was the night that I wanted to upgrade. I got the file, unpacked it into the folder, and fired up the browser. Got a 403 - No permission. Fine, I think, that's what was supposed to happen, in as much as I hadn't changed permissions. Now tho, I've changed them, and I just get a blank white page. No error message, no nothing. Permissions look right on all the files and folders. Everything is situated like it should, as far as I can see.

Any thoughts?

EDIT: It was a bad download... or several bad downloads. Had to fetch it to a windows installation, unpack it and upload it then...

Posted: Mon Mar 12, 2007 11:05 pm
by mattsches
Just a suggestion: Can you see anything in your server logs?

Posted: Mon Mar 12, 2007 11:12 pm
by Dalif
Perhaps... I'm not sure where to look. At the moment, I can view no php documents at all through the webserver. I can view images and stuff located in the root directory of the site, but not the php's located right next to them.

Just shows a blank page with no code in the source whatsoever, despite the actual php docs looking normal.

Where do I look for the logs?

Thanks.

Posted: Tue Mar 13, 2007 10:48 am
by garvinhicking
Hi!

Sounds as if the permissions don'T allow the PHP process to read the PHP files? You definitely need ot check the PHP and Apache error logs.

Ask your provider where they are stored and if he can have a look. Locations are definied in php.ini and httpd.conf.

Regards,
Garvin

Posted: Tue Mar 13, 2007 10:51 am
by Dalif
Right. He's of course out of town at the moment.

But tell me tho, the only thing I did, was to unpack the 1.1.2.tar.gz file into the dir... what is different with them, that would cause this to happen?

Posted: Tue Mar 13, 2007 10:52 am
by garvinhicking
Hi!
But tell me tho, the only thing I did, was to unpack the 1.1.2.tar.gz file into the dir... what is different with them, that would cause this to happen?
Probably permissions not including read privileges, or a garbaged upload?

Regards,
Garvin

Posted: Tue Mar 13, 2007 10:53 am
by Dalif
I guess it could've been the unpacking not done to preserve permissions..

Let me try that again

Posted: Tue Mar 13, 2007 11:16 am
by Dalif
Tried a new upload, much to the same effect. Still just a totally blank page. I can't access any of the php in the dir. But can access an image located in the same dir.

Permissions are 644 on all php and js, and 755 on most directories, except a few (archives, plugins, sql, templates and templates_c) which are 777.

The server is lighttpd I believe, not finding the error log yet. I've looked through php.ini but I'm not sure what to take note of, in relation to the error log location.

Posted: Tue Mar 13, 2007 12:54 pm
by garvinhicking
Hi!

Okay. Blank page means you will definitely need the help of your provider, as it's a fatal PHP error.
The server is lighttpd I believe, not finding the error log yet. I've looked through php.ini but I'm not sure what to take note of, in relation to the error log location.
In php.ini check for "error_log" and "display_error(s)". If you can enabled 'display_errors' you won't need the logfiles. Remember to restart lighthttpd when you make changes to php.ini.

Regards,
Garvin

Posted: Tue Mar 13, 2007 1:36 pm
by Dalif
Yeah my provider just happens to be on a three week vacation in New Zealand.. damn my luck :)

Do you think, as a temporary solution, that moving the entire thing to another server could work, just right off the bat?

Posted: Tue Mar 13, 2007 1:46 pm
by garvinhicking
Hi!
Do you think, as a temporary solution, that moving the entire thing to another server could work, just right off the bat?
If on that server you have access to error logfiles, that might work. But moving an installation and changing URLs is sometimes a bit of work :)

Best regards,
Garvin

Posted: Tue Mar 13, 2007 1:47 pm
by Dalif
Yeah I know :/

I do have access tho, in as much as it would be my own server.... It's either that, or wait some weeks before he's back :/

Damn my impatience. If I had just waited.

Posted: Tue Mar 13, 2007 3:06 pm
by Dalif
Right Garvin.. Got two more questions for you.

1: If I install a clean version of s9y on another server, can I import the posts from the old and atm broken installation?

2: Where exactly are all the blog posts located in the code? Which folder..


Thanks in advance.

Posted: Tue Mar 13, 2007 3:10 pm
by garvinhicking
Hi!
1: If I install a clean version of s9y on another server, can I import the posts from the old and atm broken installation?
You should best proceed according to the FAQ on www.s9y.org, there's an outline how to do it.

Don't import entries, move the SQL around.
2: Where exactly are all the blog posts located in the code? Which folder..
They're inside the Database.

Best regards,
Garvin

Posted: Tue Mar 13, 2007 11:29 pm
by Dalif
Thanks for the help guys... :)