by dayworks on Thu Feb 16, 2006 2:09 pm
Hi everyone. I downloaded and installed LinkExchange v.2.2.1 and so far have identified four sets of problems with this newer version of the component. There may be others, but I'm not yet familiar enough with the component to say for sure.
Here's the ones I've found so far:
1) Classes missing from linkexchange.class.php
2) Six lines or so of language definitions missing from the "Config Component" area of the english.php file.
3) Russian language in the linkexchange.php file between lines 315 and 345 that needs to be replaced with your own language (ideally by calls to the component's language file).
4) No image directory or images installed in admin/components/com_linkexchange.
Problems 2, 3 and 4 will only affect you if you wish to show hits (incoming and outgoing) and ratings. If you turn those things off in the backend, you can run LinkExchange by fixing Problem number 1 only. It is the reason so many folks have experienced "Fatal error: Cannot instantiate non-existent class: moslinkexchange in ... " as well as other fatal errors most likely.
In order to try to keep this short and sweet I've attached a text file to this post that includes a classes fix and a backend language fix for problems 1 and 2.
-- To fix problem 1: copy the classes fix (fifty lines) and paste it into linkexchange.class.php (located in admin/components/com_linkexchange) after line 113 or so.
-- To fix problem 2: copy the backend language fix (six lines) and paste it into the english.php file (located at admin/components/com_linkexchange/language) around line 117 or so.
As for problems 3 and 4, you can do the following for right now:
-- To do a quick fix for problem 3: find the Russian language that is used between lines 315 and 345 (believe me, you'll know it when you see it) in linkexchange.php (located in components/com_linkexchange) and replace it with your own language.
-- To do a quick fix for problem 4: download a copy of the original LinkExchange component, unzip it and upload the images directory (and its contents of course) to admin/components/com_linkexchange.
Like I mentioned earlier, there may be other problems with the newer LE I'm not aware of yet, but I have applied fixes 1 and 2 to a v.2.2.1 installation and the component seems to be working like a charm. I haven't bothered with 3 or 4 yet since I don't use those things and what the component needs really is a GOOD fix for those two items.
Anyway, I hope that I haven't confused anyone here and that some of you may find this post of help.
You do not have the required permissions to view the files attached to this post.
I used to have a life. Now I have nameservers.