PDA

View Full Version : A General Script Error Occurred


Sly9er
09-Oct-2003, 05:12 AM
I have two price schedules on my clients site.
Customers that DO NOT log in GET a discount, and
customers THAT DO log in, DON'T GET a discount.
(I know, sounded backwards to me too, but that
is the way my client wanted it).

I have noticed that when ever customers
just go shopping, without logging in, that
the links from a site search results page
produce an error message when clicked on.
The error reads as follows:
"""A General Script Error Occurred
---------------------------------------
Error:
---------------------------------------
Press the Browser back button and try
again or contact the site owner"""

Any thoughts on this one?

Darren
09-Oct-2003, 09:12 AM
Hi John

There is a bug in 6.1.2 in ActinicPXML.pm that causes this error. There is however a fix.

Edit Actinic.PXML in your site folder with notepad. (make a backup before you begin.

Search for # Handling error


Imediately above

#
# Handling error
#

insert

else
{
$nScheduleID = $ActinicOrder::RETAILID;
}


The save ActinicPXML.pm and update the website.

I hope this helps.

Sly9er
09-Oct-2003, 06:37 PM
Your fix worked out nicely. Is this going to be an issue
when I run the site upgrader while upgrading to 6.1.3?

Darren
10-Oct-2003, 02:45 PM
when I run the site upgrader while upgrading to 6.1.3

Yes and no, the perl scripts will be upgraded to the latest versions, but as the bug is fixed in 6.1.3 you will not have this problem again.