Forum Moderators: coopster & phranque

Message Too Old, No Replies

perl script unix linux error

perl script unix linux error

         

StopSpam

9:28 pm on Mar 30, 2003 (gmt 0)

10+ Year Member



I must install a unix script on a unix linux server red het etc ...

i got every thing working but one script gives me a error i dont understand i am stucked here!

the script is called like...

name.cgi?go this part of script works fine
but when i enter rul

name.cgi it shoudl do something els (write to a htaccess file ) and now i get 500 internatinal eror

the server log shows me this;

i think its a tipical linux bug?

[Sun Mar 30 15:29:26 2003] [error] [client 222.65.8.58] Premature end of script headers: /home/virtual/www/cgi-bin/robot/rcp.cgi
Can't find unicode character property definition via main->u or u.pl at unicode/Is/u.pl line 0

what is this? how to solve it

please help me out my sunday is kileld ;-( allday wokring on the same error ;-( wehhhhhh

definition via main->u or u.pl at unicode/Is/u.pl line

jatar_k

7:19 pm on Mar 31, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Did you figure this out StopSpam? I searched G for the error and found a few results.

Anyone else know how to deal with this error?

StopSpam

7:46 pm on Mar 31, 2003 (gmt 0)

10+ Year Member



Neh still same problems ...
iworked today on it as wellnot solved it...

;-(

Execution of /home/pastaboy/web/cgi-bin/robot/rcp.cgi aborted due to compilation errors.
Premature end of script headers: /home//web/cgi-bin/script.cgi
=======
find unicode character property definition via main->u or u.pl at unicode/Is/u.pl line 0

and on a unix server i dont get any of this errors all works fine

pfffffff

Please post what you have found ;-)

i thit a long google search on the errors and many forums talk about ecatcly the same errors but none show real solutions
hehehe

StopSpam

9:08 pm on Mar 31, 2003 (gmt 0)

10+ Year Member



Can't find unicode character property definition via main->u or u.pl at unicode/Is/u.pl line 0
[Mon Mar 31 15:05:55 2003] [error] [client xxx.xxx.4.228] Premature end of script headers: /home/web/cgi-bin/script.cgi

this aint fun any more pfff

StopSpam

10:51 pm on Mar 31, 2003 (gmt 0)

10+ Year Member



check out this forum

they allhave same errors as me . no solutions

<snip>

the last guy talks about NT ..

he might get 500 error because ofNT supports not file locking right?

but he is gettign same error as me ..

i tryed script on diff server even withdebugger says goodwork . butonce ul to linux bang blah blaherrors

[edited by: jatar_k at 10:56 pm (utc) on Mar. 31, 2003]
[edit reason] no urls please [/edit]

jatar_k

10:56 pm on Mar 31, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I saw that one earlier and looked at a bunch of others too. I haven't found one yet that gives a solution though.

StopSpam

11:05 pm on Mar 31, 2003 (gmt 0)

10+ Year Member



ok...

thanks for searching ;-)

there are few things coming up ..
but those mistakes idnt make

like first line path to perl
wrong chmod ..

then tere are few codes linux dont know ithink

some say lines containing $sample++

shou be set to
#$sample++ as they might give error
and so are some foreach lines
i try this placed # infront still same error

i will stop posting till tyill ifound solution
i dont wanna spam the forum

jatar_k

11:22 pm on Mar 31, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



did you try google groups? Seems there may be some bites in there.

StopSpam

11:41 pm on Mar 31, 2003 (gmt 0)

10+ Year Member



not yet i am now on page 8 of normal search results yeh willcheck the newsgroups to ..

thx for the tipi forgot about that

bird

11:42 pm on Mar 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can't find unicode character property definition via main->u or u.pl at unicode/Is/u.pl line 0

I don't really speak Perl, but on the surface this looks like the interpreter can't find a module that it needs to handle unicode data. Make sure that Perl is really installed correctly and completely on that machine.

Another situation where this seems to appear may be caused by backslashes in strings during pattern matches. Not sure why it would work on one machine and not the other in this case, though. Maybe there are subtle differences between different Perl versions that bite you there. Do a Google lucky search for Can't find unicode character property definition for the details.