Perl
Please post all Perl help and support topics here.
30 topics in this forum
-
#!/usr/bin/perl print "Content-Type: text/plain", "\n\n"; print "Hello World in Perl", "\n"; http://localhost/cgi-bin/test.cgi it has Internal Server Error http://localhost/cgi-bin/ Forbidden You don't have permission to access /cgi-bin/ on this server. how to run cgi?
-
- 8 replies
- 28.1k views
-
-
Hello, I'm having trouble with Strawberry Perl. 1. Extracted 14_0_2_ZeroXIV.exe 2. Extracted ZeroXIV_strawberry_perl_5_30_0_1.exe 3. Run http: //localhost/cgi-bin/test.pl, test_1.pl, test_2.pl - ok 4. Run http: //localhost/cgi-bin/test_3.pl, test_4.pl, test_5.pl - error 5. I am trying to install additional Perl modules using UniServerZ\core\perl\bin\cpan.bat, command "install CGI" and also get error
-
- 1 reply
- 2.5k views
-
-
Platform: Windows, UniserverZ 11, ActivePerl. I use several directories for cgi. In each of them there is a .htaccess file with two lines: Options +ExecCGI and AddHandler cgi-script .pl .cgi .exe. The Perl programs start with #!perl. Starting the server with UniController.exe, Perl programs run properly. Starting the server as a service using UniService.exe, I get error 500. For error 500, the Apache log reports /dir1/dir2/.../someprogram.pl was not found. Running as service I can solve the problem using absolute address for perl.exe, for example, #!C:/UniServerZ/core/perl/bin/perl.exe. I'm thinking of the possibilities: [1] This is a bug of the service or [2] Th…
-
- 2 replies
- 9.1k views
-
-
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 la…
-
- 2 replies
- 6.7k views
-
-
I'm trying to get an instance of BugZilla up and running on a Windows Server 2012 x64 VM using the latest version of Uniserver (8.6.7 I believe). I downloaded the latest version of ActivePerl ("ActivePerl-5.16.1.1601-MSWin32-x64-296175.msi"), placed the installer inside "/alt_diag/install_perl" and ran the "extract_install_perl.bat" script. The script informs me that the install process completed successfully. However, when I go to the Perl control panel under "Server Configuration" I get a message informing me that Perl is not installed, and that once it is installed the greyed out options will become available. How can I get Perl installed? I have followed the directi…
-
- 2 replies
- 6.1k views
- 1 follower
-
-
Hi, I am using US43 Mona with Perl and i have a perl process using more than 2 Go of memory (using module gedcom.pm for genealogy). The process is broken by an "out of memory" This is set by 'Ulimit' Have you a simple solution to put ulimit > 2 Go ? Config. : Windows XP SP3 US43 Mona available memory : 3 Go micmoren
-
- 2 replies
- 11.2k views
-
-
UniServer continues to be amazing. I've just now downloaded the brand spanking new Orion 7.0.1 and it's a breeze setting it up for PHP and MySQL apps. However... I'm trying to dip my toes in the deeper waters of a CGI / Perl type script, i.e. the Movable Type package and that's giving me a headache. Admittedly, it's been a while since I last tinkered with Perl, but I'm getting 500 errors left and right, and just can't get a handle on where to start. So here's a classical newbie question: assuming one has UniServer up and running, and downloaded and installed the "full" Perl package (I used the most current and biggest package to have all modules, i.e. V5.2_full_perl.e…
-
- 1 reply
- 8.1k views
-
-
I've used Apollo 3.5 for about three years to do Perl development (as a hobby). Today I decided to try Nano 5.6.6, and ran across some interesting niggles regarding path-to-perl handling: -- I think it is fine to leave the perl libs out of the new release, but a little readme in the /usr folder giving a url to the download would be helpful. -- Apollo recognizes the generic /usr/bin/perl path. Nano doesn't; it needs /UniServer/usr/bin/perl which is localized. Problem: Someone used to uploading to CVS straight from Uniform Server is going to get a lot of complaints if one doesn't remember to go through the scripts and edit the shebangs. Can Nano be told to accept the ge…
-
- 3 replies
- 10.9k views
-
-
-
Hey folks! I was wondering if there is ANY way at all to make UniServer work with "#!/usr/bin/perl" instead of the whole path? Change something inside the software to know that #!/usr/bin/perl is equal to the whole path to perl that I would manually set? I use UniServer to test scripts on my PC, but I then upload them to a server so it's pretty inconvenient having to change that every time... Any and all ideas are greatly appreciated! Thank you!
-
- 2 replies
- 7.6k views
-
-
I downloaded version 5.5-Nano last night, but my Perl CGI scripts with nix shebang line do not work. Only after I change that line to my current ActiveState Perl install #!C:\Perl\.... it starts working. I see there are some examples on Wiki pages with #!/usr/bin/perl , what am I doing wrong?
-
- 3 replies
- 7.8k views
-
-
Hi Trying to get Bugzilla working on Uniform Server. When i go to http://localhost/bugzilla I get: Software error: Can't locate Date/Parse.pm in @INC (@INC contains: . lib Z:/usr/lib) at Bugzilla/Util.pm line 51. BEGIN failed--compilation aborted at Bugzilla/Util.pm line 51. Compilation failed in require at Bugzilla/Hook.pm line 26. BEGIN failed--compilation aborted at Bugzilla/Hook.pm line 26. Compilation failed in require at Bugzilla/Config.pm line 37. BEGIN failed--compilation aborted at Bugzilla/Config.pm line 37. Compilation failed in require at Bugzilla.pm line 38. BEGIN failed--compilation aborted at Bugzilla.pm line 38. Compilation failed in require at Z:/www/…
-
- 0 replies
- 8.1k views
-
-
I have a problem running perl scripts from c:\amp\uniform server\udrive\cgi-bin. I can run the admin panel with scripts so perl is working. I copied rserver.cgi to above cgi dir but it will not run from there with the obvious message: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, albert.drent@rug.nl and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ----------------------------------------------------------------…
-
- 1 reply
- 8.9k views
-
-
I have tried everything I can think of, but I can not get my pl/cgi scripts to run. This is a windows box with all uniserver settings as it comes default. I can not seem to run scrips from the main directory or the cgi-bin, and yes THE FILE IS IN THE DIR. Please help me get this working. This the result on the webpage: Here is the error log: This is the cgi #! /usr/local/bin/perl # hello.pl -- my first perl script! print "Content-type: text/html\n\n"; print <<"EOF"; <HTML> <HEAD> <TITLE>Hello, world!</TITLE> </HEAD> <BODY> <H1>Hello, world!</H1> </BODY> </HTML> EOF
-
- 2 replies
- 25k views
-
-
I'm an idiot, I know, but I've no idea how to install the mysql DBD into the ActiveState perl I have running on US. I've tried copying files, but that ain't the answer. I've tried this: http://localhost/cgi-bin/Msql-Mysql-modules-1.2219/Makefile.PL but I just get a 500 server error. Anyone know how to do this? Been spending all day on this and no luck so far... Any and all help is appreciated!
-
- 1 reply
- 9.2k views
- 1 follower
-
-
Hi guys, I really don't know anything about perl, but I'm moving an old website over to US and it includes some links to perl scripts for click tracking etc., but they don't work. I've tried placing the perl scripts in a cgi-bin folder within the site's folder, one level above the folder and also in the cgi-bin in the w\ folder, but the scripts simply don't run like they used to when they were on another host. As an example, I have a table listing files that can be downloaded, with a counter that shows the number of downloads, and the html source is currently: <a href="../cgi-bin/track.pl?p=/downloads/vbrun300.dll">vbrun300.dll</a> <img src="../cgi-…
-
- 3 replies
- 9k views
- 1 follower
-
-
Trying to run a PERL script on Uniform Server 3.5-Apollo I get the following error: Perl lib version (v5.8.7) doesn't match executable version (v5.8.8) at W:/usr/lib/CGI/Carp.pm line 314. Compilation failed in require at W:/usr/lib/Time/Local.pm line 5. BEGIN failed--compilation aborted at W:/usr/lib/Time/Local.pm line 5. Compilation failed in require at W:/cgi-bin/plans.cgi line 172. BEGIN failed--compilation aborted at W:/cgi-bin/plans.cgi line 172. Any suggestions? Al
-
- 7 replies
- 28.4k views
- 1 follower
-
-
I'm using Uniform Server to handle all my development needs, right off the USB stick, and for my php and html it was worked well to date. However, I've been unable to get my Perl Dev project running. At first, I attempted to follow up on the suggestions in this topic: http://forum.uniformserver.com/index.php?showtopic=470 But, they didn't do the trick. Finally, I just tried copying over the contents of ActivePerl's "perl/lib" directory to US's "usr/lib" directory, and it seems to have done the trick. BUT, I want to be sure that this solution is the correct one, and that it won't hurt anything else in my US installation. Can anyone confirm?
-
- 21 replies
- 26.1k views
- 1 follower
-
-
Well, thanks to some great help in another topic, I've got my dev server, with full Perl, up and running on my USB stick. I have several sites I'd like to develop locally with US, but they all are centered around a set of customized Perl scripts, i.e., they each need their own cgi-bin, and their own instances of the perl scripts. Is there any way to configure US to allow cgi-bins in each www subfolder?
-
- 5 replies
- 11.9k views
- 1 follower
-
-
I'm interested in using the Uniform Server to host a WebGUI site. This content management system requires mod_perl. Does the Uniform installation for Windows include mod_perl ? Is it active\installed by default ? How could one load or install it ?
-
- 1 reply
- 9.7k views
- 1 follower
-
-
3.3 is Installed and running fine. How can I run Perl script interactively? I could create Perl scripts and place them in cgi-bin and run it using http://localhost/scriptname.pl I found Perl.exe in W:\usr\bin. I could type stuff in it, but received no response. What am I missing? Thanks
-
- 17 replies
- 22.4k views
-
-
I can get Perl.exe to Parse only while I am running from the command promt ('DOS' prompt) If i try to load a Perl file from my webserver Like LocalHost\PerlTest.pl my broswer always say file not found? What's up with that...I admit I'm new and probably doing something stupid but please help me anyway.
-
- 5 replies
- 15.6k views
-
-
can anyone help me install dbi in uni 3.3? i have downloaded dbi form cpan. and now im lost..
-
- 2 replies
- 10.4k views
-
-
hi, I had a problem with the win32::TieRegistry with ActivePerl 5.8.7 build 813 since it could not find the TieRegistry.pm.. eventually l ran the ppm and downloaded the module.. everything was working fine till l started the dbd-oracle download via the ppm.. since it is 78mb the inconsistency in the connection killed it twice at 10 and 12 Mb.. Then I downloaded from cpan a lot of tar gz files.. which l dont know how to install on win platform.. all the help will be appreciated as l hit deadline tomorrow and l still cant connect to my Oracle 8i since when l use use win32::ODBC it gives and error saying oracle.pm not found (Sorry for private email) …
-
- 4 replies
- 16.6k views
-
-
I checked Perldoc for the official way to download and install modules, here: http://perldoc.perl.org/perlfaq8.html#How-...le-from-CPAN%3F And it says, naturally: But if I call Perl with the CPAN arguments as shown in the first of three blocks above from the command line (in Windows) it complains that it doesn't speak CPAN-ese. So... How do I properly call CPAN?
-
- 3 replies
- 10.8k views
-