PDA

View Full Version : generate scripts


pinbrook
23-May-2003, 12:14 PM
I have a site that the client is very reluctant to do a site refresh on, because it will take 20 hours on a 56k modem!!

There are loads of cgi errors on the site for example........

[Fri May 23 08:19:43 2003] [error] [client 62.253.32.5] attempt to
> invoke directory as script: /www/vhtdocs/xx/cgi-bin
> Illegal division by zero at ao000001.pm line 3484.
>
> [Fri May 23 08:21:30 2003] [error] [client 62.253.32.5] Premature end
> of script headers: /www/vhtdocs/xxx/cgi-bin/ca000001.cgi
>
> [Fri May 23 08:23:36 2003] [error] [client 62.253.32.5] attempt to
> invoke directory as script: /www/vhtdocs/xxx/cgi-bin
> Illegal division by zero at ao000001.pm line 3484.
>

will a generate scripts and manual upload cure the problem??

cdicken
27-May-2003, 09:13 AM
A 'Divide by Zero' error is sometimes caused when you have set the default weight in 'Business Settings | Shipping and Handling' to '0'. Check this and adjust if necessary.

If you do generate scripts and upload them, ensure they are uploaded in ASCII rather than BINARY. There are no guarantees that this will fix the problem, but it is worth a shot.