Path to xml.gif broken
Posted: Wed Jul 19, 2006 3:20 am
Hi
A few days ago I installed serenipity and was quite pleased. Everything worked as it should mostly
After written several entries however, I wish to change the location of serendipity. I chose to to (of various reasons) to delete all the php files and upload serendipity to the new folder (/m/). I didn't do anything to the database.
Upon installing, I encounter the first problem. The database tables already exist. I easly change the the prefix, and when logged in i change the prefix to the original tables, meaning I now have the database set.
But nealy all the paths are wrong. I change some of them to correspond to the new location of the site, and in the end there is only one problem left.
The URL http://norhack.net/templates/carl_contest/img/xml.gif should be http://norhack.net/m/templates/carl_contest/img/xml.gif. Weird thing is, the css and everythin else is fine. Except this picture. So there might be a tiny bug in your code somewhere
(path not updating, being static or something)
I know enough PHP to be able to replace the variable or change the value. But I wasn't able to find the place it was set.
Here is my paths, if they are of intrest. Im using the norwegian language pack and cant change to english of some reason. Meaning these are translated back to english.
Full path:/home/norhack/domains/norhack.net/public_html/m/
Upload path:uploads/
Relative path:/m/
Relativ skin path:templates/
Relativ upload path:uploads/
URL to blog:http://norhack.net
I guess not a regular problem...
And maybe a bit to in-depth 
A few days ago I installed serenipity and was quite pleased. Everything worked as it should mostly
After written several entries however, I wish to change the location of serendipity. I chose to to (of various reasons) to delete all the php files and upload serendipity to the new folder (/m/). I didn't do anything to the database.
Upon installing, I encounter the first problem. The database tables already exist. I easly change the the prefix, and when logged in i change the prefix to the original tables, meaning I now have the database set.
But nealy all the paths are wrong. I change some of them to correspond to the new location of the site, and in the end there is only one problem left.
The URL http://norhack.net/templates/carl_contest/img/xml.gif should be http://norhack.net/m/templates/carl_contest/img/xml.gif. Weird thing is, the css and everythin else is fine. Except this picture. So there might be a tiny bug in your code somewhere
I know enough PHP to be able to replace the variable or change the value. But I wasn't able to find the place it was set.
Here is my paths, if they are of intrest. Im using the norwegian language pack and cant change to english of some reason. Meaning these are translated back to english.
Full path:/home/norhack/domains/norhack.net/public_html/m/
Upload path:uploads/
Relative path:/m/
Relativ skin path:templates/
Relativ upload path:uploads/
URL to blog:http://norhack.net
I guess not a regular problem...