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.
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
Hello,
now it is 1.4 :-)
some error handling added so installer is now a little more communicative
:-))
-AAJ
Offline
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
If you're entirely desperate 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.
Offline
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
:-) 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
>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