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-09-2002 06:13:25

Adam
Member
Registered: 04-30-2002
Posts: 32

Install script 1.3 update - fixed some .zip problems

Hello,

you can find updated version at:
http://www.dragontiger.com/cpp/cp-install.txt

BTW:
in .zip version, when `unzip -a file.zip` is used, bellow error appears:

-----
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 /home/virtual/dragontiger.com/httpd/www/cgi-bin/ccp-bin/library/common/database.pl line 407.
-----

if `unzip -X file.zip` is used, everything works fine

so if you got this kind of errors, the source of you problem
is or invalid FTP file transfer (ASCII/binary) or invalid
CR/LF (unvisible line endings translation)

some FTP clients have different default handling of CR/LF
conversion so this is easy to make a mistake when you
extracted CCP5 archive on your local PC, then transfer
everything to server with correct mode (ASCII/binary)
BUT: your FTP client (or even your zip/unstuff utility)
made the wrong CR/LF conversion and it ends up with above errors

hope this will help you


-AAJ

Offline

 

#2 08-09-2002 15:04:01

Adam
Member
Registered: 04-30-2002
Posts: 32

Re: Install script 1.3 update - fixed some .zip problems

Hello,

now it is 1.4 :-)
some error handling added so installer is now a little more communicative
:-))

-AAJ

Offline

 

#3 12-08-2002 05:12:14

Guest
Guest

Re: Install script 1.3 update - fixed some .zip problems

Hi there,

I have uploaded your install script, and was praying it worked because i have no clue as even to configuring the cp-admin to start with.

I have entered

$my_web_dir = "/home/www.xyz.com/public_html/ccp5/";
$my_file_code = "50X335966-ccp5";

uploaded the script using ascii mode

unfortunately i got this
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@xyz.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Please advise.

Lastly how can i check whether my hosting has 'tar/gzip'
######### utilities are in default installation. As i am sure and reconfirmed that they dont allow telnet into their system.

Thanks

Desperate

 

#4 12-10-2002 22:42:27

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

Re: Install script 1.3 update - fixed some .zip problems

If you're entirely desperate smile we can install for you for a nominal charge.  I think your issue may be that you have to set the permissions on the install script to 755.

___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

#5 12-13-2002 13:28:21

Adam
Member
Registered: 04-30-2002
Posts: 32

Re: Install script 1.3 update - fixed some .zip problems

hmm...

I think the problem can be you have:

$my_file_code = "50X335966-ccp5";

while it should be WITHOUT the '-ccp5' here:

$my_file_code = "50X335966";

Adam

Offline

 

#6 12-14-2002 12:39:17

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

Re: Install script 1.3 update - fixed some .zip problems

As always, thanks for the great install script...

___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

#7 12-14-2002 15:17:23

Adam
Member
Registered: 04-30-2002
Posts: 32

Re: Install script 1.3 update - fixed some .zip problems

:-) glad to hear it is useful

just added some additional comments to prevent common mistakes
of course some auto-checking can be added, for example:

$my_web_dir = chop($my_web_dir) if ($my_web_dir =~ //$/);
$my_file_code =~ s/(-ccp5)// if ($my_file_code =~ /(-ccp5)/);

Enjoy!

Offline

 

#8 12-14-2002 15:20:34

Adam
Member
Registered: 04-30-2002
Posts: 32

Re: Install script 1.3 update - fixed some .zip problems


>Desperate wrote:
>
>I have entered
>
>$my_web_dir = "/home/www.xyz.com/public_html/ccp5/";
>$my_file_code = "50X335966-ccp5";

should be:

$my_web_dir = "/home/www.xyz.com/public_html";
$my_file_code = "50X335966";

Good Luck!

Offline

 

Board footer