Upgrading 0.7.1 to 0.9.1

Having trouble installing serendipity?
Post Reply
dymezac
Regular
Posts: 19
Joined: Mon May 01, 2006 5:23 pm
Contact:

Upgrading 0.7.1 to 0.9.1

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Upgrading 0.7.1 to 0.9.1

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Upgrading 0.7.1 to 0.9.1

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
dymezac
Regular
Posts: 19
Joined: Mon May 01, 2006 5:23 pm
Contact:

Post 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 :idea:
dymezac
Regular
Posts: 19
Joined: Mon May 01, 2006 5:23 pm
Contact:

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
dymezac
Regular
Posts: 19
Joined: Mon May 01, 2006 5:23 pm
Contact:

It worked

Post 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
Last edited by dymezac on Sat May 06, 2006 2:08 pm, edited 1 time in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: It worked

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
dymezac
Regular
Posts: 19
Joined: Mon May 01, 2006 5:23 pm
Contact:

Post 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 :wink:
thanks again
dymezac
Regular
Posts: 19
Joined: Mon May 01, 2006 5:23 pm
Contact:

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply