Gossamer Forum
Home : Gossamer Threads Inc. : Official Bug Fixes :

[Links SQL 2.1.0] - Error displaying Import screen on Windows

Quote Reply
[Links SQL 2.1.0] - Error displaying Import screen on Windows
Hello,

I have prepared some data to import, but when going to Database/Import/Export within the admin system I get the following message :

A fatal error has occured:
Links::Config (2180): Unable to load './Links/ConfigData.pm': No such file or directory. at D:/http/servicepals.com/cgi-bin/directory/admin/Links/Import/Interface/CGI.pm line 173.


Please enable debugging in setup for more details.

Links::Config (2180): Unable to load './Links/ConfigData.pm': No such file or directory. at D:/http/servicepals.com/cgi-bin/directory/admin/Links/Import/Interface/CGI.pm line 173.

I'm just running the normal LinksSQL 2.1.0, and am unsure what I could have done to cause this error - can anybody give me any pointers?

All the best,

Ross

*-*-*-*-*-*-*-*-*-*-*
Servicepals.com is an online community for serving and retired military men and women. Visit us at http://www.servicepals.com. Development by Rawnet Limited
*-*-*-*-*-*-*-*-*-*-*

Last edited by:

Alex: Apr 19, 2002, 12:44 PM
Quote Reply
Re: [servicepals] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
Myself and someone I know have also been getting this error for no apparent reason.

It was solved by uploading a backup copy.
Quote Reply
Re: [servicepals] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
Does the file: D:/http/servicepals.com/cgi-bin/directory/admin/Links/ConfigData.pm exist? If not, that's the problem.

Adrian
Quote Reply
Re: [brewt] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
Hi,

Yup, it's there - 5k filesize.

I've just done a straight install, so not sure why it would be any different. Running 2.1.0 final release.

???????????

Incidentally, under Paths and URLs of Build Options (Setup), I notice that db_php_url is saying "Unknown Tag: 'cfg_db_php_url'" which is really weird - is that related?

Please help!!

Ross

*-*-*-*-*-*-*-*-*-*-*
Servicepals.com is an online community for serving and retired military men and women. Visit us at http://www.servicepals.com. Development by Rawnet Limited
*-*-*-*-*-*-*-*-*-*-*
Quote Reply
Re: [servicepals] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
Same here, the file is 4k but it says it can't find it.
Quote Reply
Re: [RedRum] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
Bump bump. Staff?

*-*-*-*-*-*-*-*-*-*-*
Servicepals.com is an online community for serving and retired military men and women. Visit us at http://www.servicepals.com. Development by Rawnet Limited
*-*-*-*-*-*-*-*-*-*-*
Quote Reply
Re: [servicepals] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
Hi,

I think that two error are separated. Has anyone reported the first problem on Linux or None Windows? Please look at the error message './Links/ConfigData.pm'. This path usually does not recognize on Windows. Remember that in Links2.0 files we always have the comments line like this 'please set the full path if on windows'

Regards,

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
Links SQL automatically inserts that path.....it isn't us short cutting by entering relative paths.

Checkout sub new() in Links::Config

Last edited by:

RedRum: Mar 6, 2002, 3:02 AM
Quote Reply
Re: [Paul] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
BUMP BUMP!!

I'd like DMOZ data, but need to be able to import!!!

Please help Staff!!!

Unsure

*-*-*-*-*-*-*-*-*-*-*
Servicepals.com is an online community for serving and retired military men and women. Visit us at http://www.servicepals.com. Development by Rawnet Limited
*-*-*-*-*-*-*-*-*-*-*
Quote Reply
Re: [servicepals] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
Hi Ross,

Can you replace admin/Links/Import/Interface/CGI.pm with the attached file I just private message'd you and see if it fixes it?

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
Hi Alex,

Yes - that looks to be more successfull. I now need to regenerate the file to import, but the change in cgi.pm has got rid of the error that I was experiencing Laugh

Shall get back to the import attempt now,

Cheers,

Ross

*-*-*-*-*-*-*-*-*-*-*
Servicepals.com is an online community for serving and retired military men and women. Visit us at http://www.servicepals.com. Development by Rawnet Limited
*-*-*-*-*-*-*-*-*-*-*
Quote Reply
Re: [servicepals] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
I have 2.0.5 previously installed and did a new install of 2.1.0 on the same server (NT4/SP6a) in a different directory. Import on 2.0.5 works fine. Import on 2.1.0 produces the same error previously reported in this thread:

A fatal error has occured:
Links::Config (294): Unable to load './Links/ConfigData.pm': No such file or directory. at D:/scripts/merit/admin/Links/Import/Interface/CGI.pm line 173.


Please enable debugging in setup for more details.

Can't read $DBI::errstr, last handle unknown or destroyed at D:/scripts/merit/admin/Links.pm line 444.



Any suggestions?
Quote Reply
Re: [knjones] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
Alex?
Quote Reply
Re: [knjones] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
Hi,

To fix this, edit admin/Links/Import/Interface/CGI.pm and around line 169, remove:

- require Links::Config;
- my $cfg = Links::Config->new;

and replace any occurrence of $cfg in lowercase with $CFG in uppercase.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Trying to Import - error at Links/ConfigData.pm - please help!! In reply to
Thanks!