View Single Post
  #81 (permalink)  
Old 07-07-2008, 06:50 PM
Loz07 Loz07 is offline
Casual Pligger
 
Join Date: May 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
I added the forward slash but I still get an error even after deleting the cache.

------
Oops, what you're looking for isn't here!

Try searching for the story you're looking for.
Go to the homepage to see the most recent stories.
Browse the topics to find the story.

Pretty sure it's a website bug? Please let us know and we'll try to get it fixed.
--------

Quote:
Originally Posted by szy View Post
There is wrong (relative) path in the code:

Replace first code:

PHP Code:
<br><a href="admin_links.php" onclick="javascript:window.open('admin_delete_stories.php', 'resultwindow', 'width=300, height=200')">Delete discarded stories</a
with:

PHP Code:
<br><a href="admin_links.php" onclick="javascript:window.open('/admin_delete_stories.php', 'resultwindow', 'width=300, height=200')">Delete discarded stories</a
... so you need to add a slash before 'admin_delete_stories.php'.

It works on my site (9.9.0).

Szy.
__________________
Using Version 9.9.0
Reply With Quote