By theorichel on
One of the nodes on my site is currently unavailable, the link to it has been modified. It is expected to be:
http://www.klimatosoof.nl/node/655 but now it is:
http://www.klimatosoof.nl/node/655http://yoshishome.chat.ru/images
I have searched the database for this string , but can only find it in the cache. Emptying the cache though has no effect, so where does Drupal store this information? (Drupal 5.2)
Many Thanks
Theo Richel
Comments
I think the problem is not in how node is stored
Drupal uses the nid of each node (most important information for each node is stored in the node and node_revisions tables) to build the links. If you have clean url enabled and are using url aliases then you also can take a look at the url_alias tables.
But in your case, where another url (http://yoshishome.chat.ru/images) is appearing after your node/655 path, I think the problem is on some template file or theme function that it's printing the two links together. Take a look at how that url is printed on the page and you may find your problem there. Remember to always use the l() function to build your links.
Cheers!
Alexis Bellido
Ventanazul: web development and Internet business consulting shouldn't be boring
Thank you very much. I will
Thank you very much. I will check my templates, but I do not understand it when you say 'Take a look at how that url is printed on the page', because the only way I can see that new unwanted link is in the logs.
Also 'Remember to always use the l() function to build your links.' is new to me.
Thx
TR
I have checked my template
I have checked my template files and cannot find anything unuasual. However my server error log is filled with this message:
PHP Notice: Undefined property: stdClass::$theme in /home/www/klimatosoof/includes/theme.inc on line 45
Do not know what it means. Line 45 in theme.inc is identical to the same line in an older backup of that file.
Meanwhile I have upgraded
from Drupal 5.2 to 5.7. The upgrade was successful, apart fromn this point: the article is unavailable in the frontpage and the logs tell that it's link points to a double address (mine and one in Russia). The article is still in the database, but not in the listings of my content in Drupal.
I will post this again.
Theo Richel