Topic-icon JoomGallery JFBCsystem conflict

Active Subscriptions:

None
12 years 5 months ago - 12 years 5 months ago #40021 by pautho
Hi,

I wonder if you can help me? I am running Joomla 2.5.17, JFBconnect 5.2.2 and PHP 5.3.27. Up until a while ago everything was hunky dory, but recently I have noticed that my installation of JoomGallery has a conflict which stops it opening images in any of the pop up options (i.e slim box. et al).

I have shutdown all the respective plugins to find which is the cause of the problem and it is, unfortunately, "system-JFBCsystem" - when I disable this plugin everything works as it should.

You can see the problem here : www.wildlifethailand.com/eds-spiders-of-...land/orb-web-weavers if you click on any of the thumbs it does not open, but if I disable JFBCsystem it works fine.

Can you help?

Paul
Last edit: 12 years 5 months ago by pautho.
The topic has been locked.
Support Specialist
12 years 5 months ago #40026 by alzander
When I go to that page, none of the thumbnails are even loading. They all show the broken-picture icon, for me at least. Looking at the thumbnail image link, they look like:
http://www.wildlifethailand.com/index.php/image?format=raw&height=190&id=51&pos=2&type=thumb&view=image&width=190
When I put that directly into a browser, it still doesn't load.

Are the thumbnails, or that link above, working for you? I'm assuming the direct link to the images should be bypassing JFBConnect altogether, but it's possible that's loading through Joomla code.. I can't completely tell.

The popups don't work for me either, but that seems secondary to the thumbs themselves not working.

Let me know if the thumbs are working for you, and we can test more. We'll gladly investigate how we can help make things more compatible.

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

None
12 years 5 months ago - 12 years 5 months ago #40051 by pautho
Hi Alex,

I have just done some cleaning and had some caching issues as well. All that should now be cleared and I have disabled and flushed all caching and rebuilt all the thumbs and files, as well as flushing the sh404DEF cache completely and rebuilding all the urls. Have tested it on a mac with both Safari and FF, as well as a PC with FF and IE, today. I have dropped the jquery image pop-up (shadowbox) for a simple page render as well.

Same problem for me on all, when I disable JFBCsystem, the images will open as single images when clicked, but as soon as I turn the plugin back on then Joomgallery cannot retrieve the image.

At the moment I have the plugin published - so the images will not load when clicked.

i.e. if you go this page and click on any of the images.....

www.wildlifethailand.com/eds-spiders-of-...le-sheet-web-weavers
Last edit: 12 years 5 months ago by pautho.
The topic has been locked.
Support Specialist
12 years 5 months ago #40207 by alzander
Paul,
I apologize for the delay. I just saw that I never got back to this post, and I'd definitely like to keep helping you along.

I just tested on the page you mention above, specifically with the middle grey/white image of a spider:
www.wildlifethailand.com/eds-spiders-of-...-weaver-4-50#joomimg
On that page, initially, the image didn't show. However, I reloaded it a few times and it did show up. Are you seeing the same behavior, or is it never working for you?

Additionally, on all page loads, I'm getting the following Javascript error messages:
GET https://ajax.googleapis.com/ajax/libs/jqueryui/1.9/themes/base/jquery-ui.css 404 (Not Found) tangle-web-weaver-4-50:18
GET https://ajax.googleapis.com/ajax/libs/jqueryui/1.9/jquery-ui.min.js 404 (Not Found) tangle-web-weaver-4-50:46
I'm not sure what's loading the jQuery UI libraries from Google, but it's being done incorrectly. My guess is that's from your gallery extension. The proper URL for those libraries should use 1.9.0 (not just 1.9), like:
https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/themes/base/jquery-ui.css
Those Javascript errors, combined with some Javascript that JFBConnect uses, could be combining to cause erratic behavior.

I'd see if you can contact the developer or fix the loading of those libraries by yourself to use the proper version number.

I hope that helps, and again, I apologize for the delayed response!

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

None
12 years 4 months ago - 12 years 4 months ago #40264 by pautho
Hi Alex,

No worries, it was New Year and I knew you would be busy catching up.

I also can get the images to load if I repeatedly press F5, but then they revert back to missing shortly after. I am not operating any caching at the moment though. I have witnessed this behaviour since first noticing the problem.

I found the source of the ajax/googleapis error. I had not set the final version number in jquery-easy plugin setup - oops. I have corrected this now.

I still have the same problem though. Any other suggestions?

Paul
Last edit: 12 years 4 months ago by pautho.
The topic has been locked.
Support Specialist
12 years 4 months ago #40296 by alzander
Paul,
Thanks for your patience.

First off, progress! I did a little debugging on your page and know *why* the image isn't loading.. though I don't know what is really causing the problem. Basically, if you go to a direct link image on your site, the first time it loads, there's some PHP warning messages. So, for example:
http://www.wildlifethailand.com/image?format=raw&id=133&type=img&view=image
I haven't hit that link today.. but it may work for you if someone else has. For images I haven't loaded though, the following PHP warnings appear at the top of the output:
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home1/XYZ/public_html/libraries/joomla/database/database/mysql.php on line 683

Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in /home1/XYZ/public_html/libraries/joomla/database/database/mysql.php on line 726

Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home1/XYZ/public_html/libraries/joomla/database/database/mysql.php on line 683

Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in /home1/XYZ/public_html/libraries/joomla/database/database/mysql.php on line 726
After you reload the page again, the image will show properly because those warnings aren't messing up the image data so that the browser doesn't understand what is loading. Unfortunately, I don't know what's causing that PHP notice. It *could* be JFBConnect, but I honestly don't think it is.

Either way, those are (pretty much) useless PHP messages that are meant for developers. I'd recommend setting the "Error Reporting" setting in the Joomla -> Global Configuration area to "None". That should hide those messages from any areas of your site and fix the images in the process.

Please let me know how that goes, and best of luck. I'd love to see this issue behind us!

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

None
12 years 4 months ago - 12 years 4 months ago #40300 by pautho
Oh Alex! I am forever in your debt! Setting the the error reporting in joomla to "none" as you advised has cleared the problem.



A million thanks!!!

paul
Last edit: 12 years 4 months ago by pautho.
The topic has been locked.
Support Specialist
12 years 4 months ago #40317 by alzander
Paul,
No problem for the help, it's what we're here for. I'm very happy that we were able to get you going.. whatever the actual cause was :)

The best way to payback that debt is to let others know how satisfied you are with JFBConnect, or our support. A review on the Joomla Extension Directory is a great way to do that:
extensions.joomla.org/extensions/social-...ook-integration/7215
Of course, that's not required, but very appreciated!

Best of luck, and should you need anything else, just let us know.

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

None
12 years 4 months ago #40383 by pautho
"The best way to payback that debt is to let others know how satisfied you are with JFBConnect, or our support. A review on the Joomla Extension Directory is a great way to do that: "

............

Its the very least I can do.

All the best

Paul
The topic has been locked.
Support Specialist
12 years 4 months ago #40403 by alzander
Paul,
Thanks so much. It's definitely appreciated. As always, if you run into anything else or have any other questions, just let us know.

Thanks,
Alex
The topic has been locked.