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

After installing Bad Link feature...

(Page 1 of 2)
> >
Quote Reply
After installing Bad Link feature...
after I installed it this is the error I get when I try to report a link:

A fatal error has occured:
Links::Config (2948): Unable to compile '/usr/www/betterbeads/cgi-bin/LinkSQL/admin/Links/Config/Data.pm': No such file or directory. at /home/loadmove/public_html/cgi-bin/Directory/admin/Links.pm line 100.

Please enable debugging in setup for more details.


Seems like I have to change the path here:

'/usr/www/betterbeads/cgi-bin/LinkSQL/admin/Links


how do I do that?
Quote Reply
Re: [FindSP.com] After installing Bad Link feature... In reply to
Quote:
'/usr/www/betterbeads/cgi-bin/LinkSQL/admin/Links


how do I do that?

Yeah, thats a bug. Did you download the version from Plugins > Download > List All ?

Basically, just changing;

use lib '/usr/www/betterbeads/cgi-bin/LinkSQL/admin/Links';

..and;

Links::inti('/usr/www/betterbeads/cgi-bin/LinkSQL/admin/Links');

... and /admin/Plugins/Bad_Link.pm.

Hope that helps.

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] After installing Bad Link feature... In reply to
Change where? to what?
http://www.FindSP.com - Hosting Directory
Quote Reply
Re: [FindSP.com] After installing Bad Link feature... In reply to
In the Bad_Link.pm file.

Change the "use lib" line to match the line in any other of the plugins .pm files (or your user.cgi script files).

This is an old bug, in the install routine, that happened due to the change in the format of the new links (2.0) over the 1.x versions.

We are trying to update the various programs, and bring them up to the 2.0 fold.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] After installing Bad Link feature... In reply to
Couldn't find it - can you show me the exact line in that file that I have to change? it doesn't have the work lib or usr in it.
http://www.FindSP.com - Hosting Directory
Quote Reply
Re: [FindSP.com] After installing Bad Link feature... In reply to
You must have an even older version, that is 1x compatible, but not 2.x compatible.

After the 2.0 betas, all the plugins/scripts had to be modified to use a new set up convention, and were rewritten to put the code in th .pm file, rather than the .cgi file for more mod_perl compatibility.

There should be a newer version floating around, probably posted to the forums.

The version number at the top of the .cgi file should be 2.1.1a at least.

I'll try to find the most current verison and attach it to this thread.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] After installing Bad Link feature... In reply to
I attached the file.


Let me know what should I change there
http://www.FindSP.com - Hosting Directory
Quote Reply
Re: [FindSP.com] After installing Bad Link feature... In reply to
Try this version, it has two minor install fixes.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] After installing Bad Link feature... In reply to
Excellent working very well, thank you.
http://www.FindSP.com - Hosting Directory
Quote Reply
Re: [pugdog] After installing Bad Link feature... In reply to
I've just installed this new version and for some reason I'm getting :

Content-type: text/html

appearing at the top of my bad_link.html template generated page !

I had a previous version working fine and installed this one and obviously I'm thinking I should have left it be Unsure

I'm only getting this error with this plug-in and I got an error on install since I tried to create the Bad_Link table but it already exists.

John

PS : I'm using mod_perl but I just rebooted and it's still there.
Significant Media

Last edited by:

Jag: Oct 3, 2004, 4:39 PM
Quote Reply
Re: [Jag] After installing Bad Link feature... In reply to
Hmmm.

The table exists "error" is more of a warning. It does not delete/overwrite old data. That was "normal" for plugins of the era this was written in ;)

As for the header.... I dunno.

I wrote this to make it more mod_perl compatible, putting the actual routines into the .pm file. There are still one or two issues, minor because of how this program is written, but will be fixed at a later time.

I installed and ran it on a virgin 2.2.0 site, without a problem. I don't have a mod_perl site to run under, but maybe adding a <DOCTYPE ...> header to the template will fix some of the issues?


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.

Last edited by:

pugdog: Oct 3, 2004, 8:04 PM
Quote Reply
Re: [pugdog] After installing Bad Link feature... In reply to
Hi Pugdog,

I've just tried this and there is a hard coded line in your cgi file to posterlist.com that needs to be modified.
Links::init('/home/posters/posterlist.com/cgi-bin/admin');

However I got a page that was even worse with a duplicate description followed by isvalidated and time perl code then <br><BR>Content-type: text/html

I was just looking at this :
http://www.gossamer-threads.com/...i?post=203211#203211

and modified the line 70 :
print "The ID was found, the rec is ", %$rec, "<br><BR>";
to
print "The ID was found, the rec is ", $rec, "<br><BR>";

i don't get the description plus perl code anymore just my page beginning with :
Content-type: text/html
followed by what I wanted

I'll try the doctype thing !

John
Significant Media
Quote Reply
Re: [Jag] After installing Bad Link feature... In reply to
I've made a couple of fixes to the plugin.

1) Added as fatalsToBroswer call, so we can catch nasty 500 IS Errors :)
2) Edited the install code, so that it correctly edits the use lib ''; line for you.
3) Added a 1; at the end of Bad_Link.pm, as it was complaining about "Bad_Link not returning a true value"

I just tried this version on one of our sites... and it seems to be working well :)

BTW.. I've also added $DEBUG = 0; at the top. You only need this turned on to show debugging, as it has no use normally :)

Hopefully it'll work Angelic

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: [Jag] After installing Bad Link feature... In reply to
argh... the %$rec issue is something that was supposed to be fixed up in the last version... there are jus too many versions of this floating around, which is why I started just posting them to this thread. The last version here should be the "right" one


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] After installing Bad Link feature... In reply to
Just a friendly question - why not upload the most recent version to the plugin download area rather than this thread?
Quote Reply
Re: [afinlr] After installing Bad Link feature... In reply to
In Reply To:
Just a friendly question - why not upload the most recent version to the plugin download area rather than this thread?

I/pugdog will ... Once someone tell's us that its working ok =) (i,e the paths being updated) Cool

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] After installing Bad Link feature... In reply to
Andy,

I've lost track of which one I used and I have to translate part of the code for the messages into French each time and I've got it working at the moment so I'm a bit weary about re-installing the whole thing Unsure. I'll have to re-install it in a few days anyway so I'll figure out which one it is then and post the info.

John
Significant Media
Quote Reply
Re: [Jag] After installing Bad Link feature... In reply to
AFAIK, the version here is stable: http://www.gossamer-threads.com/...i?post=273297#273297

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: [Jag] After installing Bad Link feature... In reply to
Hi,

one of the things we are doing is using language files, and not "uninstalling" or reinstalling the language files with our plugins, so any changes you make to them will be preserved, like the templates. You can manually delete them in the admin area if you don't want them any more.

As new plugins come out, and old ones are revamped, this will happen.

The MyFavLinks is the first new version of my installer/uninstaller in years, and adds a few new features like that.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [Andy] After installing Bad Link feature... In reply to
Hello,

I Tried this one:

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?do=post_attachment;postatt_id=1812;

but it seems that there are some functions missing: I get an error, if I try to view the help and also when I like to view the report ...

Kai
___________________________________________
http://www.westalgarve.de
http://www.portugalforum.org
http://www.portugal-links.de
Quote Reply
Re: [kailew] After installing Bad Link feature... In reply to
I can't follow that link, so I'm not sure what version you have.

MyFavLinks, SearchLogger, Days_Old, Bad_Link, Detail_Page, and several others have (or will be) rewritten to include the fixes and changes that need to be made to make them work.

Many of those were written as quick fixes, to solve a problem, in the 1.1x days, and time has been an issue in getting them improved and cleaned up for the 2.1x and above series.

I'm actually trying to get all my "free" release programs into one plugin, that you install, and just enable the functionality you need. Most of them used no hooks, but were directly called. Only the search logger I think, uses a hook. With the addition of the loop_link feature, the #1 hook (and problem) was elimiated by doing the call from inside the link.html / category.html templates rather than with a hook into Site_HTML::display.

Real soon, the definitive release of these programs will be out, as I'm slowly taming the chaos of my life.

But, there are a lot of issues that all hit --
1) these were early programs written as I was learning both Perl and Links
2) Links has changed greatly
3) it's persistent environment support is better, and calling conventions and logic have changed
4) more people are running under mod_perl, so these early programs need some extra tweaking

So, it's a tedious and slow process.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] After installing Bad Link feature... In reply to
Hi,

I think it's this version:

http://www.gossamer-threads.com/...i?post=273297#273297 ... it's a kind of rewritten version by andy ...

I don't understand very much of perl, but I'm quite sure that the're two subs (report and help) missing.

Kai
___________________________________________
http://www.westalgarve.de
http://www.portugalforum.org
http://www.portugal-links.de
Quote Reply
Re: [kailew] After installing Bad Link feature... In reply to
I had an older version of the bad-link plug-in that I was having an error with, so I uninstalled it and installed the one posted above. I used the plug-in manager to install this version of bad-link and everything went ok. I rebuilt all my static pages and tried it out. This time I do not get the error that I was getting right away with the old version. This version, seems to work, because I get to the Confirm button and the Bad Link Reported page, which is farther than I would get before. I used the MySQLMan to check the database table and I do see the link that I had tested with.

My problem now is, I get the following error when I use the View Reports option or the Help option under the Bad_Link installed plug-in

A fatal error has occured:
Invalid plugin function: view at /homepages/24/d88880975/htdocs/cgi-bin/admin/admin.cgi line 214.

This is the link for the View Reports:
http://www.exposureshopping.net/...d_Link&func=view

Can some one help me out here.

Thanks,
-devnick

P.S. I'm a newbie to GT and the forums
Quote Reply
Re: [devnick] After installing Bad Link feature... In reply to
Hi,

yes, that's the problem... it's because of the missing subs. There is no report function and no help ... the plugin is working so far, as you can report the link, but you can't work with these reports ...

Kai
___________________________________________
http://www.westalgarve.de
http://www.portugalforum.org
http://www.portugal-links.de
Quote Reply
Re: [kailew] After installing Bad Link feature... In reply to
Did anyone every put out a version that completely works?

I loaded the most recent version and there is no report function and no help


Sandra Roussel
Chonsa Group Design - Fresh Start Housing
> >