FacebookLocales.xml error on 7.3.5 [FastComet]

Hello, 

 

I have installed modzzz Premium Events module and after I successfully create an event and then click to view the event, I get the following error : 

 

Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Space required after the Public Identifier in /home/public_html/inc/classes/BxDolSocialSharing.php on line 122

 

At first I thought it was related to the following topic but of course the fix is already exists in Dolphin 7.3.5 ( the version I am using) https://www.boonex.com/forums/topic/FacebookLocales-xml.htm

 

Doing an "echo" of the error produces the following: 

You don't have permission to access /plugins/facebook-php-sdk/FacebookLocales.xml on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

 

I applied the following fix, using  PHP "file_get_contents" directly instead of Boonex method bx_file_get_contents. This allows me to view the event page but outputs the following error message across the top of the page: 

 

Warning: file_get_contents(http://xxxxx.com/plugins/facebook-php-sdk/FacebookLocales.xml): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/public_html/inc/classes/BxDolSocialSharing.php on line 110

 

Has anyone had a similar issue? Any input on this would be appreciated. Also I would love to hear from anyone here using FastComet as host, because I am wondering if this is a server setup issue. 


Thank you.

 

Ps: I can access the file at location directly in browser : /plugins/facebook-php-sdk/FacebookLocales.xml

 

Quote · 6 May 2019

Hello gracey!

 

What permissions has this file and all "his" folders?

Quote · 8 May 2019

Thanks LeonidS

I am on PHP5.6 and my PHP is running as CGI. 

 

File permissions are:

/plugins 0755

/plugins/facebook-php-sdk 0755

/plugins/facebook-php-sdk/FacebookLocales.xml 0644

 

I did try changing the permission ( of FacebookLocales.xml) to 0777 but I still got the same issue

Quote · 8 May 2019

Did you possibly upload or edit the file as root user rather than the owner ?

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 9 May 2019

If you wish, you can PM me your site details and I will take a look.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 10 May 2019

Update in case anyone else stumbles upon this problem in future: 

 

Because the site is still under development, I am restricting ip's via .htaccess. When the ip restriction is in place, it is causing this error to occur. Because ip restriction will not be an issue for the final site, I can ignore this error ( like mentioned above my temporary fix allows the page to load at least)

 

Thanks for all the help and pointers from everyone in this thread.

 

Quote · 18 May 2019
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.