Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Major DMOz import problem in 2.1.2

Quote Reply
Major DMOz import problem in 2.1.2
There seems to be a major import problem in 2.1.2. I've tried installing and running it several times on 3 different servers. Each time, I get a similar message;

Quote:
perl /home/andy/mainwebsite_cgi/admin/nph-import.cgi --import=RDF --source=/home/andy/mainwebsite_cgi/regional_asia_japan.dump.slice --destination=/home/andy/mainwebsite_cgi/admin/defs --rdf-category="Top/Regional/Asia/Japan" --rdf-add-date="2003-09-06" --rdf-update Content-type: text/html
A fatal error has occured:
Can't call method "prepare" on an undefined value at /home/andy/mainwebsite_cgi/admin/Links/Import/RDFS2.pm line 114.

Please enable debugging in setup for more details.
Stack Trace
======================================
Links (27510): Links::environment called at /home/andy/mainwebsite_cgi/admin/Links.pm line 431 with no arguments.
Links (27510): Links::fatal called at /home/andy/mainwebsite_cgi/admin/Links/Import/RDFS2.pm line 114 with arguments
(Can't call method "prepare" on an undefined value at /home/andy/mainwebsite_cgi/admin/Links/Import/RDFS2.pm line 114.
).
Links (27510): Links::Import::RDFS2::import called at /home/andy/mainwebsite_cgi/admin/nph-import.cgi line 233 with arguments
(HASH(0x83a72a0), CODE(0x81dc5bc), CODE(0x81dc664), CODE(0x81dc508)).
Links (27510): main::do_import called at /home/andy/mainwebsite_cgi/admin/nph-import.cgi line 147 with arguments
(rdf_destination, [undef], rdf_add_date, 2003-09-06, rdf_category, Top/Regional/Asia/Japan, help, [undef], straight_import, [undef], error_file, [undef], data_integrity, [undef], source, /home/andy/mainwebsite_cgi/regional_asia_japan.dump.slice, create_missing_categories, [undef], with_gzip, [undef], clear_tables, [undef], create_columns, [undef], destination, /home/andy/mainwebsite_cgi/admin/defs, rdf_user, [undef], transfer, RDFS2, rdf_update, 1).
Links (27510): main::main called at /home/andy/mainwebsite_cgi/admin/nph-import.cgi line 28 with no arguments.


System Information
======================================
Perl Version: 5.006001
Links SQL Version: 2.1.2
DBI.pm Version: 1.21
Persistant Env: mod_perl (0) SpeedyCGI (0)
GT::SQL::error = Could not connect to database. Reason:
DBI::errstr = Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
@INC =
/home/andy/mainwebsite_cgi/admin
/usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl
.

ENVIRONMENT
======================================
BASH_ENV => /home/andy/.bashrc
GT_TMPDIR => /home/virtual/site9/fst/var/www/cgi-bin/admin/tmp
HISTSIZE => 1000
HOME => /home/andy
INPUTRC => /etc/inputrc
LOGNAME => andy
MAIL => /var/spool/mail/andy
OLDPWD => /home/andy
PATH => /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/java/j2sdk1.4.0/bin:/home/andy/bin
PWD => /home/andy/mainwebsite_cgi
SHELL => /bin/bash
SHLVL => 1
SSH_CLIENT => 172.191.159.151 1097 22
SSH_TTY => /dev/pts/0
TERM => xterm
USER => andy
USERNAME =>
_ => /usr/bin/perl

Can't call method "prepare" on an undefined value at /home/andy/mainwebsite_cgi/admin/Links/Import/RDFS2.pm line 114.

Anyone know whats going on?

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] Major DMOz import problem in 2.1.2 In reply to
BTW: The MySQL details are fine. The rest of LSQL works ok, its just the import.

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] Major DMOz import problem in 2.1.2 In reply to
It doesn't seem to be anything to do with the script, it's the server...

>>
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
<<
Quote Reply
Re: [Paul] Major DMOz import problem in 2.1.2 In reply to
Yes, but the MySQL settings are correct, because the rest of LSQL is working ok!

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!