Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Yahoo Hosting Perl Setup  (Read 607 times)
0 Members and 1 Guest are viewing this topic.
edawg
Guest
« on: November 03, 2006, 07:58:00 AM »

Does anyone use Yahoo hosting and if you do how did you go about getting Calendatscript to work.  I have setup Calendarscript with Apache with great success.  Any help is greatly appreciated.

Thanks,
Edawg

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: November 04, 2006, 08:30:00 PM »

**  have setup Calendarscript with Apache with great success. **

What's the problem with Yahoo!?

Dan O.

------------------

Logged
jjit
Guest
« Reply #2 on: March 31, 2007, 04:28:00 PM »

I have the same problem...
When I run debug, it can't find any of the files. http://tuschtech.com/AdmiralsHockeyClub/cgi-bin/debug.pl


Here's the message I recieved from Yahoo support:

Perl Path
==========
Perl scripts generally start what a "Perl directive", or the path to
Perl.
The web server's operating system reads the beginning of every script
and looks for this directive. Here is an example of a Perl directive:

  #!/usr/bin/perl

We recommend that you use this directive on the first line of all Perl
scripts. The directive is required to pass parameters to Perl such as -w
or "warning" to add additional details to the log file while
troubleshooting your scripts. Here is an example of a Perl directive
with -w.

  #!/usr/bin/perl -w

In addition, if your script is used in another server environment, the
Perl directive will ensure portability and allow your script to run in
most environments.

Cgi-bin And Perl extensions
===========================
Yahoo! Web Hosting does not require a "cgi-bin" directory to run Perl
scripts. You may place Perl scripts anywhere in your site directory
structure. You are also not required to change file permissions to run
Perl scripts.

Our servers will recognize the file extensions ".pl" and ".pm" as a Perl
script.
Your Perl script must be named with either a ".pl" or ".pm" extension.
We do not support the ".cgi" extension. If your Perl script has the
extension ".cgi", please rename the extension to ".pl" or ".pm".

CGI Perl Module
===============
You can use the CGI Perl module to create and handle HTML headers,
dynamic web forms, HTTP cookies, etc. Please review the CGI Module
documentation at:

   http://perldoc.perl.org/

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: March 31, 2007, 05:19:00 PM »

** I have the same problem... **

The OP never said what his problem was.

By your debugger information, it doesn't look like the files and directories are where the script is expecting them to be.

Are those files where they're suppose to be?

If not, maybe you have to set the $BASE_DIR variable in the script(s) to operate on your server? Did you try that?

Dan O.

------------------

Logged
jjit
Guest
« Reply #4 on: April 02, 2007, 10:19:00 AM »

I've tried  few...

$BASE_DIR = "/HTTP/tuschtech.com/AdmiralsHockeyClub/calendarscript";
$BASE_DIR = "http://tuschtech.com/AdmiralsHockeyClub/cgi-bin/debug.pl";
$BASE_DIR = "http://www.tuschtech.com/AdmiralsHockeyClub/cgi-bin/debug.pl";

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #5 on: April 02, 2007, 11:54:00 AM »

Did you check to see if the files referenced by the debug script are where it reported looking for them??

** I've tried few... **

No "path" starts with http://...  That is a URL or URI.

Dan O.

------------------

Logged
jjit
Guest
« Reply #6 on: April 02, 2007, 02:17:00 PM »

yes they are.

I followed the install line for line.

I agree it has to be the path. I will try Yahoo support again.

Thanks!

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #7 on: April 02, 2007, 03:38:00 PM »

Did you check to see if the files referenced by the debug script are on the server where it reported looking for them??

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: