PDA

View Full Version : Referrer - Script error


greenc00
24-Mar-2003, 08:05 AM
I have been trying for the first time to get the referrer script rs000001.pl to work and get the following error
A Genergal Script error occured
Error Error opening ../punjab00/aacatalog/ (no such file or directory)

This is the reference in rs000001.pl. When I change it in rs to an absolute path the same error occurs but with the absolute path in the error.

What have we done wrong?

Chris

BPJSURF
24-Mar-2003, 08:34 AM
looks to me like you have the incorrect path in the Script as per the error message provided: Error Error opening ../punjab00/aacatalog/ (no such file or directory)

should be ../punjab00/acatalog/

Brian

greenc00
24-Mar-2003, 10:54 AM
Sorry, this is a typo!! It was acatalog.

cdicken
26-Mar-2003, 09:18 AM
In v6, you no longer have to customise the script - the file rs000001.pl is generated from a Perl template in 'Site1' called 'referrer.pl'.

Copy an original copy of this file from your 'Original' folder and upload, then trying using it again. If you still get an error, then the problem must be in the format of the script call you are using. It should look something like...

http://your.URL/cgi-bin/rs000001.pl?SOURCE=Text%20string&DESTINATION=index%2ehtml&PATH=%2e%2e%2fpublic_html%2facatalog&BASEURL=http%3a%2f%2fyour%2eURL%2facatalog