Jump to content


Photo

About ready to shoot myself over Perl issues


  • Please log in to reply
2 replies to this topic

#1 Jackanape

Jackanape

    Junior Member

  • Member
  • Pip
  • 27 posts
  • Location:The Interwebs
  • Interests:Poker, Web Coding and Design, and the ladies...well, my wife, mostly...
  • SourceForge IDJackanapesink
  • Main OS: Windows Vista

Posted 24 January 2013 - 01:09 PM

Argh. This isn't the first time this issue has arisen, but I've now reached a point where I simply cannot continue to develop on Uniform Server without a viable cgi option.

My core script that runs my CMS is a perl script, and I need to find a way to get it working, preferably from within a www/cgi-bin folder, although I find myself wondering if that will help, either.

My main problem is in altering the file paths in my Perl script, which I can get working with no problem for the script output, but it cannot find its accompanying scripts in the same directory!
I've done the following to get myself set up here:
  • I've gone ahead and updated my US installation to the latest Coral version (I confess, I greatly miss the toolbar controls!) and have installed Active Perl appropriately.
  • I've transferred my site to www/ and my cgi scripts to the main UniServer/cgi-bin directory.
  • Forced the shebang change--I understand I'll have to return all edits before going live, but that's something I'm willing to do...
  • Altered all program paths in the scripts configuration file.
  • Tested the script, it works, but can't find anything in my scripts folder. i.e., here's the error I keep getting:
    "Can't locate /cra_changedatenew.pl in @INC (@INC contains: D:/UniServer/cgi-bin/coranto D:/UniServer/usr/lib .)" And YES, the file is in the @INC directory.

I've tried various ways of reconfiguring this, but this is ridiculous. Certainly, I should be able to run and test cgi scripts on a US dev server and upload them with minor alterations back to my live server. What am I missing here?

CGI is the core of my CMS, and I can't use US if I can't use it seamlessly.

Any and all help is appreciated.
Currently Working on Coranto OS Content Management System
Honed my php at GottaTalkPoker

#2 Jackanape

Jackanape

    Junior Member

  • Member
  • Pip
  • 27 posts
  • Location:The Interwebs
  • Interests:Poker, Web Coding and Design, and the ladies...well, my wife, mostly...
  • SourceForge IDJackanapesink
  • Main OS: Windows Vista

Posted 29 January 2013 - 10:05 AM

For this project, I have moved to XAMPP, which allows for this perl configuration quickly and easily.

I am not abandoning Uniform Server, as I am still a huge fan of its capabilities, but it simply won't work for this project.
Currently Working on Coranto OS Content Management System
Honed my php at GottaTalkPoker

#3 musicvid

musicvid

    Newbie

  • Member
  • Pip
  • 7 posts
  • Main OS: Windows Vista

Posted 17 February 2013 - 12:12 AM

For this project, I have moved to XAMPP, which allows for this perl configuration quickly and easily.

I am not abandoning Uniform Server, as I am still a huge fan of its capabilities, but it simply won't work for this project.

Hey Jack, I'm running all of my Coranto testversions without issue on Orion 7.1.2
I never upgraded beyond that because it is working fine with ActivePerl.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users