Page 1 of 1

paths aren't updated globally

Posted: Fri Nov 11, 2011 12:09 am
by nichtleiter
Used version: 1.6

Hi,

i have created a blog with s9y locally. As the weblog reached the desired look, i have uploaded all the files to the webserver and overwrote the remote database with my local one.

I changed the paths as described by Azel (http://www.s9y.org/198.html). But it seems that there are a whole lot of entries in the database that contains the old paths. (the paths to the plugins, to the images etc. are the old ones).

For me it's a non natural behaviour. Especially the frequent usage of absolute paths seems strange to me. Working with relative paths would be much more comfortable.

I don't know whether it's a problem with respect to the plugins or it's a problem with s9y?

I appreciate any comments!

With best regards and thank you for this great piece of software

J.D.

Re: paths aren't updated globally

Posted: Fri Nov 11, 2011 9:48 am
by Timbalu
Depart from the discussion about path handling, you could investigate your database dump within an editor, to copy/paste or rewrite all required path set in config, entries and/or other tables.

Re: paths aren't updated globally

Posted: Fri Nov 11, 2011 6:14 pm
by nichtleiter
Timbalu wrote:Depart from the discussion about path handling, you could investigate your database dump within an editor, to copy/paste or rewrite all required path set in config, entries and/or other tables.
Thanks for your quick reply. Changing the paths solved the problem, of course. I have written a little bash-script that does the job for me.

I used this as an opportunity to write the first post in my blog. You find a detailed description of my solution on

http://www.jd-weblog.de/s9y/index.php?/ ... rheit.html

Unfortunately it's written in german. Maybe it helps others who face the same problems!?

best regards

Re: paths aren't updated globally

Posted: Fri Nov 11, 2011 6:55 pm
by Timbalu
Well done!

If you really caught all replacements well, maybe you could post this as an commented example to the doumentation wiki, section upgrading/installation (there is a german one too). Or ask Garvin to include it for you.