Jump to content
The Uniform Server Community

About ready to shoot myself over Perl issues


Jackanape
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 3 weeks later...

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...