• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Error when trying to synchronize Facebook Events

Error when trying to synchronize Facebook Events 8 years 8 months ago #35545

  • info3984
  • info3984's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
When i click the button synchronize in Facebook events i get the following error:

Fatal error: Class 'Facebook\Facebook' not found in /var/www/site/enreal/areagames.org/administrator/components/com_rseventspro/models/settings.php on line 273

What can i do?

I have RsEvents!Pro 1.10.9
The administrator has disabled public write access.

Error when trying to synchronize Facebook Events 8 years 8 months ago #35547

  • vaprofi
  • vaprofi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
I have this error too. So annoying...
The administrator has disabled public write access.

Error when trying to synchronize Facebook Events 8 years 8 months ago #35550

  • vaprofi
  • vaprofi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
I have a solution:

Search this file: administrator/components/com_rseventspro/models/settings.php

Search the "require_once JPATH_SITE.'/components/com_rseventspro/helpers/facebook/autoload.php';" line (you can find 2 line with same text) and add after this line "require_once JPATH_SITE.'/components/com_rseventspro/helpers/facebook/facebook.php';"

I'am not a PHP expert but i think autoloader.php cant load the facebook.php and the Facebook class. I dont know why but this solution works for me. :)
The administrator has disabled public write access.

Error when trying to synchronize Facebook Events 8 years 8 months ago #35553

  • vaprofi
  • vaprofi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hmmm

Or not... Facebook connect works but sync doesnt.. Alway run out of time (120 sec and i cant set to higher).. :S
The administrator has disabled public write access.

Error when trying to synchronize Facebook Events 8 years 8 months ago #35629

  • info6136
  • info6136's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
hi vaprofi,

This modification is helpfull for me, now my error is gone and the events are synchronised.
The administrator has disabled public write access.

Error when trying to synchronize Facebook Events 8 years 8 months ago #35642

  • Teryakisan
  • Teryakisan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 4
I just wanted to take a moment to say thanks! This solution, well a version of it, solved my problem. I added the lines...

require_once JPATH_SITE.'/components/com_rseventspro/helpers/facebook/autoload.php';
require_once JPATH_SITE.'/components/com_rseventspro/helpers/facebook/facebook.php'


Right below
defined( '_JEXEC' ) or die( 'Restricted access' );

in com_rseventspro/models/settings.php

Also, the first time I tried to sync, it timed out. Remembering that my page has over 300 events, I ran it a couple more times, and pow, it sync'd right up.

Thanks again!
Last Edit: 8 years 8 months ago by Teryakisan.
The administrator has disabled public write access.

Error when trying to synchronize Facebook Events 8 years 7 months ago #35693

  • info6136
  • info6136's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Hi everyone,

Is this issue the one resolved in this fix :

19 August 2016 - 1.10.11

Fixed - Optimized the Facebook synchronization.

?
The administrator has disabled public write access.

Error when trying to synchronize Facebook Events 8 years 7 months ago #35698

  • Teryakisan
  • Teryakisan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 4
I'm not a dev on this, but my suspicion would be that the 'fixed' notice is not in reference to this error, given that the use of the word 'optimized' pretenses that it was working in the first place. However, it could have just been poor wording on the dev's part.
The administrator has disabled public write access.

Error when trying to synchronize Facebook Events 8 years 7 months ago #35707

  • info6136
  • info6136's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
I got a question back from my support ticket to ask if this issues still happens when you use the latest version of RsEvents.

Anybody tried this yet and can confirm anything ?
The administrator has disabled public write access.

Error when trying to synchronize Facebook Events 8 years 7 months ago #35761

  • Teryakisan
  • Teryakisan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 4
I updated to v1.10.11... The result was
Error

Connection timed out after 10001 milliseconds
The administrator has disabled public write access.

Error when trying to synchronize Facebook Events 8 years 6 months ago #35859

  • Teryakisan
  • Teryakisan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 4
The solution to my time-out error was to increase php's max_execution_time from 10000 to 45000.
php.ini
max_execution_time = 45000

I assume that as my venue logs more events over time, I will need to increase this.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!