Find programmers and grapic design experts at ScriptLance.com
<? DEW-CODE.COM  
Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:new links not showing (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:new links not showing
#541
zalka (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
new links not showing 2 Months ago Karma: 0  
I have tried adding new links in admin and on the index page but they dont show up.
After i add them and go into admin again i get this message:-

You have new sites to validate.

but when i try to validate i get this

Fatal error: Call to undefined function: sql_error() in /home/zalka/www.vintageeroticfiction.com/docs/links/admin/sites_main.php on line 202

so the links dont show up.

Any ideas please
Zalka
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#543
Dewed (User)
Administrator
Posts: 220
graph
User Offline Click here to see the profile of this user
Dew-Code.com
Re:new links not showing 2 Months ago Karma: 7  
sql_error() in .... /admin/sites_main.php on line 198/202 (depedning on version)

edit the file admin/sites_main.php at line #198/202 and change it to

mysql_error()

Can I ask, what version of the script are you running and where did you get it ?
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#544
zalka (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:new links not showing 2 Months ago Karma: 0  
Thanks for the reply this is the code from 198/202
$sr, $pp
";
}

$result = sql_query($sql)

which do i edit

sorry to be a dummy
the script was given to me by a friend
Zalka
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#545
Dewed (User)
Administrator
Posts: 220
graph
User Offline Click here to see the profile of this user
Dew-Code.com
Re:new links not showing 2 Months ago Karma: 7  
A little further down, you'll find something similar

sql_error()

change that to

mysql_error()

and the version should be visible by browsing to the main public page wherever you have it installed.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#546
Dewed (User)
Administrator
Posts: 220
graph
User Offline Click here to see the profile of this user
Dew-Code.com
Re:new links not showing 2 Months ago Karma: 7  
more specifically.. you should have

Code:

$result = mysql_query($sql) or die("Invalid query: " . mysql_error());
and while you are at it. please erase the contents of the files in your /banners directory, until you have added your own banners. I have no problems with you using the script on an adult related web site, but certain advertisers don't want their ads shown on those types of sites and they are very vocal about it. So for example, edit /banners/1.html and just erase everything, saving an empty file. Later, you can plug in the HTML for your own banners.
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/09/17 21:04 By Dewed.
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#547
zalka (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:new links not showing 2 Months ago Karma: 0  
I still cant insert a link in index or admin.
i am now getting this error when i go to validate it.

Invalid query: Table 'zalka_links200.phplinks_links' doesn't exist

the version im using is

vers 2.1.0.1b
 
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