Topic-icon Fatal Error Message on Logout

Active Subscriptions:

None
12 years 5 months ago #15536 by coagra
Hi,

I believe that I have installed JLinked correctly@ trueazimuth.biz (It is working on the front end and when I access the overview, all the required extensions are checked green). I flipped the switch from developer to live on the Linkedin site where I got the API.

When I log out, I get this message (Note that I replaced part of the directory with XXXXXXXXXX before posting the message):

Fatal error: Class 'JLinkedApiLibrary' not found in /homepages/XXXXXXXXXX/htdocs/j7-azimuth/plugins/user/jlinkeduser/jlinkeduser.php on line 35

Clearly something is wrong but I don't know what.

Scott Graham
The topic has been locked.
Support Specialist
12 years 5 months ago #15544 by alzander
Scott,
Obviously, that shouldn't be happening. There's an easy fix, provided below, and we'll also do more investigation to see what is making the problem appear on your site when we haven't seen or heard of this on others.

Either way, in the /plugins/user/jlinkeduser/jlinkeduser.php file, at line 35, you'll see the following:
$jLinkedLibrary = JLinkedApiLibrary::getInstance();
Update that with the additional line below:
require_once JPATH_ROOT . DS . 'components' . DS . 'com_jlinked' . DS . 'libraries' . DS . 'linkedin.php';
       $jLinkedLibrary = JLinkedApiLibrary::getInstance();
That should fix you right up, and sorry for the troubles.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 5 months ago #15553 by coagra
Thanks for the info. So just to be sure I am doing the correct thing, I plan to:
    connect via ftp,
    navigate to the directory with the file,
    then edit the file
    replacing the line of code with a new line of code.

Is that correct?
The topic has been locked.
Support Specialist
12 years 5 months ago #15556 by alzander
That plan sounds fine. The only issues you could run into with using FTP are that the permissions or owner of the file could change in a way that would cause it to not be read by your web server properly. That would have a whole different error, and likely won't happen, but thought I'd throw it out there.

The alternative way to make modifications to onsite files is either through the server itself (using SSH to login) or using a File Manager component like extPlorer or OSE FileManager (the ones we recommend). These let you edit files through the Joomla interface, which is nice. You can see them all below:
extensions.joomla.org/extensions/core-en...ents/file-management

If you run into issues, just let us know, and sorry for the inconvenience,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 5 months ago #15562 by coagra
I downloaded and installed OSE FileManager.
Then accessed it under components. (:cool: -- pulls up all the directories on the server).
Navigated my way to the file and opened it.
Went to line 35 and hit the enter key which moved $jLinkedLibrary = JLinkedApiLibrary::getInstance(); to line 36.
Pasted the additional line of code in.
Saved it.
Works like a charm - no more logout issues!
Thanks!

PS - if you need additional info for troubleshooting this issue on your end -- just let me know!
The topic has been locked.
Support Specialist
12 years 5 months ago #15570 by alzander
Fantastic! Glad to hear it worked, and sorry for all the trouble you had to go through! We shouldn't need any access to your site to debug. We obviously know what the issue is.. can't say we know exactly why, but worst case, we'll simply put the same fix in the next release.

Should you need anything else, just let us know.. and good luck!
Alex
The topic has been locked.