Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Problem with Cron Job (NPH-BUILD.cgi)

Quote Reply
Problem with Cron Job (NPH-BUILD.cgi)
Hi!

So I used to run this fine as a cron job, moved to new host and it gets spit out. Here is the command:

cd /home/ebque/bcdb/bcgi/admin; perl nph-build.cgi --changed > /home/ebque/bcdb/cron.txt


And the error is spits out is:

defined(@array) is deprecated at /home/ebque/bcdb/bcgi/admin/GT/Base.pm line 231.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /home/ebque/bcdb/bcgi/admin/bases.pm line 43.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /home/ebque/bcdb/bcgi/admin/GT/SQL/Base.pm line 593.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at (eval 49) line 55.
(Maybe you should just omit the defined()?)

Prolly my cron command is wrong. Any ideas?

THANKS! Sorry it's been a while, hope all is well Andy! :)
dave

Big Cartoon DataBase
Big Comic Book DataBase
Quote Reply
Re: [carfac] Problem with Cron Job (NPH-BUILD.cgi) In reply to
Hi,

It looks like you just need to update your modules.

1) Rename the /admin/Links/ folder to Links.bak
2) Rename the /admin/GT/ folder to GT.bak
3) Upload all the files in the attached ZIP
4) Download the /admin/Links.bak/Config/Data.pm file and upload it to /admin/Links/Config/Data.pm

Try again, and you should be good :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Problem with Cron Job (NPH-BUILD.cgi) In reply to
Hery ANdy!

ThanksZ!

I'll know tomorrow if it took...
dave

Big Cartoon DataBase
Big Comic Book DataBase