paths aren't updated globally

Found a bug? Tell us!!
Post Reply
nichtleiter
Posts: 2
Joined: Thu Nov 10, 2011 11:49 pm

paths aren't updated globally

Post 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.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: paths aren't updated globally

Post 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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
nichtleiter
Posts: 2
Joined: Thu Nov 10, 2011 11:49 pm

Re: paths aren't updated globally

Post 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
Last edited by nichtleiter on Sat Nov 12, 2011 1:52 pm, edited 1 time in total.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: paths aren't updated globally

Post 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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Post Reply