Topic-icon blank space added by the plugin

Active Subscriptions:

None
8 years 5 months ago - 8 years 5 months ago #55914 by JPean.net
Hi all

I discovered that your plugin added a blank space in the begining of all my pages. This is a big problem because when i generate an xml or an image, that space is added BEFORE the file header.


I have executed my website step by step, and discorverd what happend :
In the begining, Joomla loads all the plugins. and the error occured while Plgsystemjfbcsystem is loading. in his constructor, thas plugin imports the factory.php file.
{my_website.com}/components/com_jfbconnect/libraries/factory.php line 17 :
include_once(JPATH_ADMINISTRATOR . '/components/com_jfbconnect/models/usermap.php');

I read that file, and the error seems to be in the class JFBConnectModelUserMap declaration, but i don't understand how a class could write things...
Last edit: 8 years 5 months ago by JPean.net.
The topic has been locked.
Support Specialist
8 years 5 months ago #55919 by alzander
Can you explain your investigation a little bit more? Yes, the system plugin imports the factory.php file. Is there an actual error message you're seeing? What is pointing you to the JFBConnectModelUserMap declaration? Any more details you can share will help us narrow things down. We haven't heard of any issues rendering XML file when JFBConnect is enabled, so we'll just need to gather more details.

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

None
8 years 5 months ago - 8 years 5 months ago #55925 by JPean.net
my website is lecontactboursier.com

As you can see, the source code of all the pages begin by a blanck space ' '

When I did the last tests i wrote in the factory.php :
echo "before includeUsermap/";
include_once(JPATH_ADMINISTRATOR . '/components/com_jfbconnect/models/usermap.php');
echo "/after includeUsermap";

And the source code began by
before includeUsermap/ /after includeUsermap

If you want to know how i did to discover that, i used that technic of "echo before/ echo /after" from index.php to the factory.php file
Last edit: 8 years 5 months ago by JPean.net.
The topic has been locked.
Support Specialist
8 years 5 months ago #55929 by alzander
I've never heard of that issue and we can't recreate it on any of our development sites or other sites we control that use JFBConnect. Even on this site, there is a blank line in the HTML. Disabling all JFBConnect plugins doesn't make it go away though. I don't know where that line comes from.. and don't really care, honestly, since it doesn't cause us issues.

I guess we'll need to access the admin area of your site and, if possible, get FTP access so we can narrow things down. Can you Private Message us any credentials available and we'll gladly investigate further.

Thanks,
Alex
The topic has been locked.
Support Specialist
8 years 5 months ago #55930 by alzander
Oh, and right now, I see what looks to be 3 spaces at the top of your page now:

<!--read_url--><!--readf2 by lecontactboursier.com--><!--readf2 by lecontactboursier.com ends--><!--read_url ends--> <!DOCTYPE html>

There's one before the read_url and 2 before the DOCTYPE.

Which one are you saying JFBConnect is causing? I'm assuming you created those other comments, correct?
The topic has been locked.