Page 1 of 1
Upgraded from PHP 4.4.9 to 5.2.17, S9y 1.5.2 not upgrading?
Posted: Wed Dec 21, 2011 4:01 am
by Klyment
Hello,
My webhost recently upgraded from PHP version 4.4.9 to 5.2.17 and my S9y 1.5.2 install is now dysfunctional. I see mention in the installation notes about needing to be on S9y 1.5.5 or later. I attempted to do an upgrade to V 1.6 after backing up my database and then expanding the contents of a Serendipity install archive over top my existing installation but I can't seem to trigger the upgrade. My blog location:
http://klyment.com/serendipity/. Help, please. =) I hope it's something really simple I've overlooked.
Thank you. =D
Re: Upgraded from PHP 4.4.9 to 5.2.17, S9y 1.5.2 not upgradi
Posted: Wed Dec 21, 2011 9:28 am
by Timbalu
This might be a change of your physical path, Try to find out ... and if so, you might be able to reset it with your Database Admin Tool, like PhpMyAdmin, with
Code: Select all
UPDATE serendipity_config SET value = '/home/new/full/path/' WHERE name = 'serendipityPath';
(Note: change the table prefix to yours)
Your errors were:
Warning: Smarty error: unable to read resource: "404.tpl" in ....
Warning: readfile(../menu.htm): failed to open stream: No such file or directory in /hsphere/local/home/klyment0/klyment.com/serendipity/content.php on line 23
Re: Upgraded from PHP 4.4.9 to 5.2.17, S9y 1.5.2 not upgradi
Posted: Wed Dec 21, 2011 12:20 pm
by Klyment
Ian,
Thank you for your response. =) It appears as though my physical path was changed from /hsphere/local/home/klyment/klyment.com/serendipity/ to /hsphere/local/home/klyment0/klyment.com/serendipity/. I updated the serendipityPath variable in the serendipity_config table with the new path but am still getting the same error and am still not able to invoke the upgrade. Anything else I could check?
Re: Upgraded from PHP 4.4.9 to 5.2.17, S9y 1.5.2 not upgradi
Posted: Wed Dec 21, 2011 12:36 pm
by Timbalu
You still have that error.
Warning: readfile(../menu.htm): failed to open stream: No such file or directory in /hsphere/local/home/klyment0/klyment.com/serendipity/content.php on line 23
Is it there?
Is it readable?
Is it an embedded installation? Check all path settings.
Where do you have other full path settings?
...
Re: Upgraded from PHP 4.4.9 to 5.2.17, S9y 1.5.2 not upgradi
Posted: Wed Dec 21, 2011 1:16 pm
by Klyment
Sorry . . . I changed it back to the original setting but have changed it back again to the current physical path.
I removed what was on line 23 of content.php (it was calling menu.htm . . . used to be a menu bar tacked on below the blog) but the error still seems to be showing up for some reason.
I changed all other instances I could find of the full path: two more in serendipity_config related to anti-spam log files, one in serendipity_pluginlist related to serendipity_event_bbcode though the search brought up an additional 55 entries all in serendipity_pluginlist but I wasn't able to see the full path visible anywhere in each of the records.
Again, do I need to trouble shoot this before I can invoke the upgrade? The upgrade/installation documentation specifically notes that I need to be on S9y 1.5.5 or later if I am running PHP5 on my server. I'm hoping that an upgrade will "magically" make everything work again.
Re: Upgraded from PHP 4.4.9 to 5.2.17, S9y 1.5.2 not upgradi
Posted: Wed Dec 21, 2011 1:27 pm
by Timbalu
Klyment wrote:Sorry . . . I changed it back to the original setting but have changed it back again to the current physical path.
???
Klyment wrote:I removed what was on line 23 of content.php (it was calling menu.htm . . . used to be a menu bar tacked on below the blog) but the error still seems to be showing up for some reason.
Try to clean up the files in
templates_c. There all compiled templates reside.
Klyment wrote:Again, do I need to trouble shoot this before I can invoke the upgrade? The upgrade/installation documentation specifically notes that I need to be on S9y 1.5.5 or later if I am running PHP5 on my server. I'm hoping that an upgrade will "magically" make everything work again.
Serendipity is magic!! Yes. But you will need to solve that first, I assume.

Re: Upgraded from PHP 4.4.9 to 5.2.17, S9y 1.5.2 not upgradi
Posted: Wed Dec 21, 2011 2:51 pm
by Timbalu
check into
http://www.klyment.com/serendipity/sere ... _admin.php
and check all the absolute path settings in configurable options.
If this does not clear things up:
* try a different templates style.
* check again sitewide absolute path settings
* did you ask your ISP about changes?
* check /tmp path settings to be writable
* ....
* make sure your .htaccess and serendipity_config_local.inc.php files, the plugins/ , uploads/ and templates/ dirs are really writable
* upgrade your Serendipity (it can't get more worse, than now)
*
* always clear browsers and smarty compile caches to be sure a reload hits the truth.
Re: Upgraded from PHP 4.4.9 to 5.2.17, S9y 1.5.2 not upgradi
Posted: Wed Dec 21, 2011 3:07 pm
by Klyment
So . . . it turns out my webhost did a full migration of a bunch of servers which included new database servers and new host names for FTP servers. Apparently I was uploading to the old servers which were no longer serving my domain. Thanks for helping me with this trouble shooting and sorry for being a nuisance. =)
Re: Upgraded from PHP 4.4.9 to 5.2.17, S9y 1.5.2 not upgradi
Posted: Wed Dec 21, 2011 3:13 pm
by Timbalu
We love having nuisances like that, specifically if they get solved into 'sweetness'!
