www.uburst.com www.uburst.com

"CGI error in ushop.pl"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

CGI Script Related Problems
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"CGI error in ushop.pl"
Posted by Andy Cunnah on Oct-14-00 at 05:49 AM (EST)
syntax error at G:\Inetpub\wwwroot\homesite\cgi-bin\ushop.pl line 615, near "sub validate_required_fields(" Execution of G:\Inetpub\wwwroot\homesite\cgi-bin\ushop.pl aborted due to compilation errors.

Any ideas?

This comes up when i try to view ushop.pl in the browser to login to the control panel.

I'm running the shop as a demo with a view to order the product.

I'm running on NT 4.0 IIS 4.0.

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: CGI error in ushop.pl, Bill Weiner, Oct-14-00, (1)
CGI error in ushop.pl, Andy Cunnah, Oct-16-00, (2)
RE: CGI error in ushop.pl, Bill Weiner, Oct-17-00, (3)
I've been there before, Nick Kay, Oct-17-00, (4)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: CGI error in ushop.pl"
Posted by Bill Weiner on Oct-14-00 at 02:29 PM (EST)
Based on that error, it sounds like the script may have gotten corrupted somehow. I would suggest just starting over with fresh "ushop.pl", "ushop-lib.pl" and "ushop-languages.pl" files straight out of the original zip file. Also, when transferring the scripts to your server, be sure to transfer them in ASCII or TEXT mode (as opposed to binary or raw transfer mode).

Also, if you've never installed Perl scripts on that server before, you may just want to verify that your server is configured properly to run Perl scripts by trying out the test script described at:

http://www.uburst.com/uShop/testscript.html

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "CGI error in ushop.pl"
Posted by Andy Cunnah on Oct-16-00 at 12:59 PM (EST)
Thanks, I've tried this but with no success.

It still says the same error message.

I have never been able to get this working since downloading. Its not as if has worked and then gone faulty.

The test script works fine.

I have even downloaded the files again.

Sorry to be a pain.

Any more suggestions?

If we can get this working it will be perfect for our needs.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "RE: CGI error in ushop.pl"
Posted by Bill Weiner on Oct-17-00 at 06:02 AM (EST)
As something else to check, I noticed from your paths that you are using an Windows server. Something that may be causing that sort of an error on a windows server may be the use of backward slashes (\)in the configuration questions. That is, although backward slashes are OK to use on windows computers, such as:

C:\Windows\

Perl treats backward slashes as special escape characters.... so if you had something like this:

$data_directory = ".\data\";

That could result in that sort of an error.

As a rule of thumb, when specifying such directories/paths in the configuration questions of the Perl scripts, always use forward slashes (/)... as forward slashes will work on both UNIX and Windows machines, such as:

$data_directory = "./data/";

So double check that in the configuration questions of your "ushop.pl" script.... and if that doesn't solve the problem, send your "ushop.pl" file and your "ushop-lib.pl" file to support@uburst.com and I will take a look at them.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
4 . "I've been there before"
Posted by Nick Kay on Oct-17-00 at 04:54 PM (EST)
Also "smells" like a recurrent problem I got. Eventually tracked it down to the FTP software...

1. When I uploaded the *.pl scripts they failed part way through.
2. When I ran them through the service provider's on-line script checker they passed!
3. When I downloaded them from the site back to my PC, they were OK

Therefore, I believed the problem was:
a. With the script
b. With the service provider

However, got the service provider to look at the script & was told it had "odd" characters in it.

Changed the FTP software - used to use Laplink-FTP, now use FTP-Surfer...

(touches wood) all problems have disappeared...

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.