Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 08-18-2002 09:24:53

Emiliano
Member
Registered: 08-07-2002
Posts: 13

script execution error

Nick

We install the upgrade, but when I add any Item in the
shopping cart I get this error:

___________________________________________________web_msg
Script Execution Error
The following error was just encountered:

DBD::AnyData::st fetchall_arrayref failed: Attempt to fetch row from a Non-SELECT statement at /usr/local/etc/httpd/sites/poesia.com/htdocs/ccp5/cgi-bin/library/common/database.pl line 508
___________________________________________________

I check that the /data/table csv files are uploaded
in ASCI, and set permission to 777


The error log in our server says:
___________________________________________________error log
<Sun Aug 18 09:48:45 2002> cp-app.cgi:  at /usr/local/etc/httpd/sites/poesia.com/htdocs/ccp5/cgi-bin/library/common/database.pl line 508
<Sun Aug 18 09:49:54 2002> cp-app.cgi:
<Sun Aug 18 09:49:54 2002> cp-app.cgi: Execution ERROR: Can't use string ("CAN'T FIND COLUMN NAMES ON FIRST") as an ARRAY ref while "strict refs" in use at /usr/local/etc/httpd/sites/poesia.com/htdocs/ccp5/cgi-bin/modules/AnyData.pm line 126, <GEN5> chunk 2.
___________________________________________________


Also we are trying to change a couple of text strings and we got no clues in where are those strings, I would like to change the
"First Name" "Last Name" "Adress" in the checkout page to make the translation into spanish.


Offline

 

#2 08-18-2002 11:42:15

Emiliano
Member
Registered: 08-07-2002
Posts: 13

Re: script execution error

I delete all and reinstall the updated tar.

I'm getting problems again when I try to edit the CSV tables
(using notepad, transfer as ASCII, and chmod 777)
every time I upload a modified table receive an error.

The error goes away when I copy that table from the
original tar.  and chmod, chown,chgrp, etc but
when I upload the one in the ZIP the error comes again

Its weird for me, this is not the first script I install and modify but I cant get those tables running in the server.

there must be some detail that I forgot.

regards
Emiliano

Offline

 

#3 08-18-2002 12:32:12

Emiliano
Member
Registered: 08-07-2002
Posts: 13

Re: script execution error

I'm an Idiot.
The CSV, need BIN upload to the server.
Sorry

Offline

 

#4 08-18-2002 12:58:27

Will
Member
Registered: 02-26-2003
Posts: 493
Website

Re: script execution error

smile  Thats just what I was going to say... CSV is BIN.... atleast you figured it out! 

Will
wwwstnecorp.com
(New cart to be online as soon as I've got it looking right)


Will

Offline

 

#5 08-19-2002 11:25:37

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19965
Website

Re: script execution error

Sorry if you read some older posts that specified ASCII.  CSV files are to be uploaded as BINARY per the manual and README.  Glad you figured it out.


Nick Hendler

Offline

 

Board footer