Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Internal Server Error -- Build Change

Quote Reply
Internal Server Error -- Build Change
Hi people,

Recently I have changed of server and everything ok except when I try to build the changes by browser from Links SQL Admin.

When doing click /cgi-bin/admin/nph-build.cgi?do=changed

Internal Server Error


My logs says:

[Sat Jul 7 00:50:09 2007] [error] "compile" is not exported by the Links::Build module\nCan't continue after import errors at /path-admin/nph-build.cgi line 24\nBEGIN failed--compilation aborted at /path-admin/nph-build.cgi line 24.\n


Line 24 of nph-build.cgi
use Links::Build qw/compile/;

nevertheless if it executed by console (perl nph-build.cgi --changed) works perfect!
What you can be happening? Frown
Quote Reply
Re: [venezuelasite] Internal Server Error -- Build Change In reply to
That's strange. Did you make sure you updated the paths in all the perl .cgi and .pl files? Notably the use lib and Links::init() lines.

Adrian
Quote Reply
Re: [venezuelasite] Internal Server Error -- Build Change In reply to
Hi,

I guess that your cgi files were uploaded as pc format. Can you try a console command like this perl -p -i -e 's/\r//g' *.cgi

Hope that helps!

Cheers,

Dat

Programming and creating plugins and templates
Blog