You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 32 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Weblinks > ERROR: This URL is already listed in the Datab [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
dennis_s
Nuke Cadet
Nuke Cadet


Joined: Oct 15, 2003
Posts: 2


PostPosted: Wed Oct 15, 2003 3:24 pm Reply with quoteBack to top

Hi there,

Today I wanted to add some links into my new homepage. I added one link yesterday to see what the result looked like. It looked ok and didn't give any more attention to it.

Today I wanted to add some more links, so I went to the administration menu > web links and chose to add a new link. I entered the page title, url, describtion and selected the category (one category available). I then clicked on 'add' and received the error "ERROR: This URL is already listed in the Database!". I fired up mysql to check if there was some truth in this error... selected the database and entered "select * from nuke_links_links;" Only the website I entered the day before was in the database. Then I noticed that the url I added yesterday (www.google.com) was replaced with "/admin.php". Strange.

I tried to modify the old link back into "www.google.com" using the administration menu. No errors, but the url was not changed.

I looked at the 'add' function in /modules/Web_Links/index.php to see if the sql query wasn't working from the start but using that query in mysql the results I got back were ok.

So somehow the result from this add function isn't ok which causes the function to echo LINKALREADYEXT...which is "ERROR: This URL is already listed in the Database".

I can't seem to find the reason why I can't add the urls...maybe one of you has some ideas?

Thanks!

Dennis
Find all posts by dennis_sView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Wed Oct 15, 2003 3:33 pm Reply with quoteBack to top

If you modified admin.php with the recent workaround posted edit the new code, change the two instances of $url to $checkmyurl

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
dennis_s
Nuke Cadet
Nuke Cadet


Joined: Oct 15, 2003
Posts: 2


PostPosted: Wed Oct 15, 2003 3:41 pm Reply with quoteBack to top

Whoohoo! Yep, that did the trick.

I copy pasted the workaround earlier this week and wasn't aware of a change in code in the meantime. It goes to show that one can't be up-to-date enough Smile

Thanks!
Find all posts by dennis_sView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.605 Seconds - 36 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::