Page 1 of 1
Upgrading 0.7.1 to 0.9.1
Posted: Thu May 04, 2006 12:03 am
by dymezac
Hello,
I am trying to upgrade my blog from a 0.7.1 to a 0.9.1, so I did what was said in the FAQ
I extracted the new Serendpipity release files over the old directory but then when I go on my blog again I have this error :
Fatal error: Call to undefined function: serendipity_db_connect() in /var/www/sdb/5/2/dymezac/serendipity/serendipity_config.inc.php on line 189
Do you have an idea of what the problem could be ?
thank you very much
the blog is :
http://dymezac.free.fr
Re: Upgrading 0.7.1 to 0.9.1
Posted: Thu May 04, 2006 11:00 am
by garvinhicking
Hi!
Did you extract all the files iwth subdirectories? Did you make sure to overwrite existing files?
It seems as if your include/db/mysql.inc or include/db/db.inc.php file(s) could be missing.
Regard,sGarvin
Re: Upgrading 0.7.1 to 0.9.1
Posted: Thu May 04, 2006 11:09 am
by garvinhicking
Hi!
Did you extract all the files iwth subdirectories? Did you make sure to overwrite existing files?
It seems as if your include/db/mysql.inc or include/db/db.inc.php file(s) could be missing.
Regard,sGarvin
Posted: Thu May 04, 2006 11:19 am
by dymezac
Thank you very much !
Okay, I will try tonight (I live in France it's 11.19AM) when I will be back home.
I'll check and then tell you if it successed..
thank you

Posted: Sat May 06, 2006 1:09 am
by dymezac
Hello again..
I'm still trying to upgrade my serendipity since yesterday.
The problem was camoing from my provider restrictions, so now i am trying to upgrade my 0.7.1 serendipity to a 0.9.1 on my local computer, using easyPHP
I arrive to do some good thing, but still not successed with my upgrade.
Now, with easyPHP, after having started the automatic upgrade it seems that i have the 0.9.1 but i have this error message :
Warning: Smarty error: unable to read resource: "templates/default/index.tpl" in c:\program files\easyphp1-8\www\bundled-libs\Smarty\libs\Smarty.class.php on line 1088
Something strange is that i can access serendipity_admin.php and modify whatever i want in the configuration, and have all the beautiful new interface for the administration. I can edit posts, comments, etc.. but when i go to the weblog page, i have this error
If you have an idea, i will be very happy.
Thanks a lot
Posted: Sat May 06, 2006 10:19 am
by garvinhicking
Hi!
Yes, this happens because Smarty is not required on the backend. Please check your "templates" directory, see if it is readable and see if the mentioned file default/index.tpl exists and is readable.
Also check if your serendipity path configuration is entered properly with the right serendipityPath and HTTPPath. Do NOT use backslashes there; enter your paths like "/path/to/s9y" or "d:/path/to/s9y".
Best regards,
Garvin
It worked
Posted: Sat May 06, 2006 1:42 pm
by dymezac
Hello Garvin,
thanks a lot, it worked, I have put "c:/program files/easyphp1-8/www/" in serendipityPath and HTTPPath both, and now it work.
I have still to copy it all on my providers web site. I'll tell you later if it worked good
thanks again
UPDATE :
I have just seen that I made a mistake, there was some bugs.
I had to put "
http://127.0.0.1/" in the serendipityHTTPPath
and "c:/program files/easyphp1-8/www/" in serendipityPath
Re: It worked
Posted: Sat May 06, 2006 1:59 pm
by garvinhicking
Hi!
In the "HTTPPath" you should only enter "/" or "/www". It is not meant to be a full server path, but the path you see in the URL address bar of your browser!
Best regards,
Garvin
Posted: Sat May 06, 2006 2:10 pm
by dymezac
A yes, I was just updating my post (see my last post)..
I have seen that and you're right !
I am currently uploading my new upgrated serendipity
thanks again
Posted: Sat May 06, 2006 4:39 pm
by dymezac
Youpi !
Ok all works perfectly now, I have the latest version of serendipity 0.9.1 on my weblog
http://dymezac.free.fr/
It's wonderful.
Many thanks Garvin for all your help.
I was really happy because you answered me always early with my posts on the forum. If you won't be there, I could'nt reach this sucess !
Thanks a lot again
Posted: Sat May 06, 2006 4:56 pm
by garvinhicking
Hi!
Great to hear that. And no problem, that's why I'm here. You're welcome and have fun!
Best regards
Garvin