Ok, please bare with me as I'm trying to setup a testing environment because I'm tired of having to upload files every few seconds to test them on my webspace.
Not only is it stupid and time consuming, but it's also a hazard for the site ;-P
Anyway, I installed Apache, MySQL, phpMySQL, and Perl using PHPTriad.
I then updated the phpMySQL to the most recent version (no problems there) and then installed the most recent version of ActivePerl on my comp. The shebang in my scripts uses the ActivePerl installation that I did, not the one that was installed with Apache. Regardless, scripts that don't require special packages work fine.
I installed HTML::Template without any problems (after getting an error telling me it wasn't installed), and scripts that require it are working wonderfully.
I'm running into a problem with CGI::Session however.
I installed it, but got errors. I'm trying to re-install it, but PPM just tells me that it's already installed.
Here's a sample bunch of errors I'm getting from one of my scripts...
Can't locate auto/CGI/Session/autosplit.ix in @INC (@INC contains: c:/Perl/lib c:/Perl/site/lib) at c:/Perl/lib/AutoLoader.pm line 158. at c:/Perl/lib/CGI/Session.pm line 9 syntax error at /apache/cgi-bin/leftmenu.cgi line 12, near "use DBI" Execution of /apache/cgi-bin/leftmenu.cgi aborted due to compilation errors
I've tried uninstalling the module using PPM, then re-installing it.
When I type:
ppm install CGI::Session
after uninstalling it, it installs CGI-Session-Remote
Is this the same thing? Am I mis-typing something?
Last hurdle before I can start developing. Spent 2-3 hours tonight trying to figure this out, but I've beat.
If anyone could offer me some advice on how to fix this mess, it would be much appreciated.
Steny
Not only is it stupid and time consuming, but it's also a hazard for the site ;-P
Anyway, I installed Apache, MySQL, phpMySQL, and Perl using PHPTriad.
I then updated the phpMySQL to the most recent version (no problems there) and then installed the most recent version of ActivePerl on my comp. The shebang in my scripts uses the ActivePerl installation that I did, not the one that was installed with Apache. Regardless, scripts that don't require special packages work fine.
I installed HTML::Template without any problems (after getting an error telling me it wasn't installed), and scripts that require it are working wonderfully.
I'm running into a problem with CGI::Session however.
I installed it, but got errors. I'm trying to re-install it, but PPM just tells me that it's already installed.
Here's a sample bunch of errors I'm getting from one of my scripts...
Can't locate auto/CGI/Session/autosplit.ix in @INC (@INC contains: c:/Perl/lib c:/Perl/site/lib) at c:/Perl/lib/AutoLoader.pm line 158. at c:/Perl/lib/CGI/Session.pm line 9 syntax error at /apache/cgi-bin/leftmenu.cgi line 12, near "use DBI" Execution of /apache/cgi-bin/leftmenu.cgi aborted due to compilation errors
I've tried uninstalling the module using PPM, then re-installing it.
When I type:
ppm install CGI::Session
after uninstalling it, it installs CGI-Session-Remote
Is this the same thing? Am I mis-typing something?
Last hurdle before I can start developing. Spent 2-3 hours tonight trying to figure this out, but I've beat.
If anyone could offer me some advice on how to fix this mess, it would be much appreciated.
Steny