473,324 Members | 2,254 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Premature end of script headers: test.pl

158 100+
Im getting these errors when i use a module, could anyone tell me what they think wrong, its the second one that i think it the problem but i don't know what it means so i cant fix it, Thank you.

[Thu May 24 18:15:58 2007] [error] [client 127.0.0.1] Premature end of script headers: test.pl, referer: http://localhost/lightmon/

[Thu May 24 18:15:58 2007] [error] [client 127.0.0.1] Can't locate loadable object for module ArtNet in @INC (@INC contains: C:/usr/site/lib C:/usr/lib .) at C:/Program Files/Apache Group/Apache2/htdocs/Lightmon/test.pl line 5\r, referer: http://localhost/lightmon/

[Thu May 24 18:15:58 2007] [error] [client 127.0.0.1] Compilation failed in require at C:/Program Files/Apache Group/Apache2/htdocs/Lightmon/test.pl line 5.\r, referer: http://localhost/lightmon/

[Thu May 24 18:15:58 2007] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at C:/Program Files/Apache Group/Apache2/htdocs/Lightmon/test.pl line 5.\r, referer: http://localhost/lightmon/
May 24 '07 #1
5 3337
KevinADC
4,059 Expert 2GB
How are you calling the module in your script? Is the module installed or otherwise available to your main script via "require" or "lib"? Can we some of your perl code?
May 24 '07 #2
kardon33
158 100+
all im doing in the code to test and see if it works is:

use ArtNet::ArtNet

the the module ArtNet is in the right spot in lib\ArtNet i just keep getting that error but i dont know what to do to fix it.
May 24 '07 #3
KevinADC
4,059 Expert 2GB
"ArtNet::ArtNet" means the ArtNet.pm module is in a folder named ArtNet. Is that the case?
May 24 '07 #4
kardon33
158 100+
that is the case. that is the case that is the case
May 24 '07 #5
KevinADC
4,059 Expert 2GB
Are you using mod_perl?

22.2.3. Can't locate loadable object for module ...
May 24 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Seagull Manager | last post by:
Running Apache 1.3, PHP 4.3, and WinXP, configured acc. to instructions on apache manual and php manual (as far as I can see), but getting "internal server error" in browser... log says "Premature...
1
by: Jason Ho-Ching | last post by:
Can anyone tell me about this error I am getting? Premature end of script headers: main.php Thanks! ##-----------------------------------------------## Article posted from PHP Freaks...
0
by: Greeshma | last post by:
Hi all, I have successfully configured Apache 2.0.4 with RedHat 7.3 and use Python 2.2.3 for cgi scripts. When I start Apache manually through /usr/local/apache/bin/apachectl startssl, I can...
1
by: nomadx | last post by:
hello, could someone please check this out? #usr/local/bin/perl # Filelist.pl version 0.1 use strict; use CGI qw(:all); use CGI::Pretty; #use CGI::Carp qw(fatalsToBrowser); use Cwd; my...
1
by: Wayne Deleersnyder | last post by:
Hi, I'm a newbie at Perl and CGI and hoping someone can point me in the right direction. Recently I've been going through an older book I have on CGI programming to get a start. Most of it...
3
by: rukkie | last post by:
Hi, I have here some strange behaviour, when sending a mail out from my php script. The mail is perfectly readable in MS Outlook, but has an empty body when reading the mail with Thunderbird...
1
by: Christoph Burschka | last post by:
I have compiled PHP 5.2.3 as a CGI binary, and this works. I can, for example, do the following: $ php.cgi hello_world.php X-Powered-By: PHP/5.2.3 Content-type: text/html Hello World! ===
0
rajiv07
by: rajiv07 | last post by:
Hi to all this is the code i am using to do some task but it gives the following error.i am breaking my head why the error is coming please help me on this. The Error in log file. (2)No such...
3
by: GazK | last post by:
I have been using an xml parsing script to parse a number of rss feeds and return relevant results to a database. The script has worked well for a couple of years, despite having very crude...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.