Find programmers and grapic design experts at ScriptLance.com
<? DEW-CODE.COM  
Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Link Check - MANUAL link (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Link Check - MANUAL link
#422
Dewed (User)
Administrator
Posts: 220
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Link Check - MANUAL link 3 Months, 2 Weeks ago Karma: 7  
On my way out the door so just a brief note..
Please make sure include/config.php $our_site is defined.. "freshcoffeeshop"
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#426
tsiligirian (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Re:Link Check - MANUAL link 3 Months, 2 Weeks ago Karma: 0  
It worked very nice!!!!!!!!!!!!!!!!!!!

If we also fixed the inability to edit sites...

This is the error message:
Fatal error: Call to undefined function sql_error() in /home/fres1cof/public_html/links/admin/sites_main.php on line 202

(If I go to link check, and I try to edit a a site from there, although everything seems to work right is doesn't save the changes)
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#427
Dewed (User)
Administrator
Posts: 220
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Link Check - MANUAL link 3 Months, 2 Weeks ago Karma: 7  
Short story / fix ..
simply change "sql_error" , "sql_fetch_array" or "sql_query" to
"mysql_error", "mysql_fetch_array" and "mysql_query"

The long story
The original authors of phplinks, on which newphplinks links was based.. upon which dewphplinks was based.. apparently weren't sure if MySQL would be around very long, so they put many of the database related stuff in wrapper functions.

I myself am not a big fan of this method.. creating a new function that simply executes an existing/native function.. seems a bit wasteful to me, so I avoided calling the functions, and slowing converted some of the new wrapper function calls to standard native functions.
Finally.. when I thought I had replaced all the native wrapper function calls, I removed the wrapper function.... except in this case I missed at least one of the function calls.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#429
Dewed (User)
Administrator
Posts: 220
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Link Check - MANUAL link 3 Months, 2 Weeks ago Karma: 7  
Incidentally, this has been corrected in the current download
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#432
tsiligirian (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Re:Link Check - MANUAL link 3 Months, 2 Weeks ago Karma: 0  
I replaced sites_main.php with the one in the stable version and it works fine (the one included with the beta doesn't work)
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#433
tsiligirian (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Re:Link Check - MANUAL link 3 Months, 2 Weeks ago Karma: 0  
I also replace edit_site.php with the one from the stable version
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Newsflash

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008