|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Is There Something Weird about....
Is there some weird quirk about configuring your scripts when a host has a Plesk control panel and has a directory structure like?:
1) anon_ftp 2) bin 3) cert 4) cgi-bin 5) conf 6) error_docs 7) httpdocs 8) httpsdocs 9) logs 10) pd 11) web_users My autoresponder script which installed easily on the previous host doesn't want to install on the new host. The script requires: A web server running UNIX, Linux or Windows NT/2000 MySQL (at least 3.23) Perl 5.005 or greater with your own CGI-BIN The new host has: UNIX MySQL 4.0.13 Perl 5.05 CGI-Bin But it does not want to install on this hosting!!!! Grrrrr. If I move to a different host, how do I know if the scripts will install on the next host? |
|
#2
|
||||
|
||||
|
"it does not want to install" does not explain your problem clearly. Can you not upload the files/script at all? Can you upload them, but they don't do what they are suppose to? Can you upload them, but then can't access them. What exactly is the problem?
__________________
# Jeremy Explain your problem instead of asking how to do what you decided was the solution. |
|
#3
|
|||
|
|||
|
Hi jharnois
Uploading is fine, otherwise that would be a FTP problem. It runs perfectly once installed, but I can't get that far. It is running on the previous hosting. It has a mysql backend, which the "install.cgi" creates. However the install can't find DBI.pm, which is not one of the files in the script. I assume it is a part of the Perl installed on the host. The error says: Can't locate DBI.pm in @INC (@INC contains: lib /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at func.cgi line 31. That is as far as I can take it. If there are other error messages to come, I can't get far enough in the install to see them. The difference is between one host to another so it leads me back to the original question: Is there something weird in the configuring of hosting with a Plesk control panel that has a directory structure like?: .............. Thank you for your insight. |
|
#4
|
||||
|
||||
|
DBI is a very popular Perl module for database interaction. Most hosts have this installed, but apparently yours does not. It doesn't have anything to do with the directory setup by Plesk b/c @INC uses absolute paths. The problem is the module is not installed in one of the directories in @INC. You need to contact your host and ask if the DBI module is installed. If so, find out where. If not, ask for it to be installed.
|
|
#5
|
|||
|
|||
|
Thank You jharnois !!
|
![]() |
| Viewing: Dev Shed Forums > Web Hosting > Web Hosting > Is There Something Weird about.... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|