473,419 Members | 1,983 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,419 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 3342
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.