Find programmers and grapic design experts at ScriptLance.com
<? DEW-CODE.COM  
Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Links not working (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Links not working
#72
D_Jay (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Links not working 8 Months, 2 Weeks ago Karma: 0  
For some reason when I click on categories from my home page nothing happens. Also, there are no thumbnails appearing for the featured sites I have entered (undoubtedly a related problem). I checked the Link Check tab for each site and "The address is not valid" error appears. Any ideas? My site is http://www.perthlink.com.
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/04/24 19:36 By D_Jay.
  The administrator has disabled public write access.
#75
Dewed (User)
Administrator
Posts: 250
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Links not working 8 Months, 2 Weeks ago Karma: 7  
From the FAQ entry "Clicking links reloads main page"
QUOTE:

The likely cause is you are running a newer version of Apache than the script was developed under, or the Apache config has been tweaked, so that global variables the script expects aren't available, or use a different name. There are also some known problems with register globals being turned off.

Adding these lines near the top of the directory file *should* fix either of these causes.
Code:

if ($_POST['submit_add']){$show="add";} if (empty($PATH_INFO)){$PATH_INFO = $_SERVER['PATH_INFO'];} if (empty($PATH_INFO)){$PATH_INFO = $_SERVER["ORIG_PATH_INFO"];} if (empty($PATH_INFO)){$PATH_INFO = $HTTP_SERVER_VARS['PATH_INFO'];} if (empty($PATH_INFO)){$PATH_INFO = $_SERVER["REQUEST_URI"];}
As for the thumbnails not appearing.. The featured site feature actually doesn't use the Snapshots service, instead it allows you to upload your own graphic, and it's important to note, the graphic is tied to the review of the site. So for example, if site ID# 7 is featured, write a breif review for it, create a graphic named 7.jpg and put it in /images/featured/ Remember the site must be flagged "Featured" *and* have at least one site review in order to include the graphic. Graphics of around 230x170 pixels work well. Finally the link check.. This is an admittedly outdated function using fopen which some web hosts may not even allow these days. It attempts to open the reciprocal link.. (not the main URL of the site) to look for your return link. If the reciprocal link is empty, or just "http://" it will cause the error you mention. You may also see the same error if your web host has disabled the use of fopen.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#76
D_Jay (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:Links not working 8 Months, 2 Weeks ago Karma: 0  
The additional code did the trick. Thanks, it seems to be working fine now.
 
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