2 Attachment(s)
Re: AutoFacebook [Support]
hi...
i got thir error after click "" link
Quote:
API Error Code: 100
API Error Description: Invalid parameter
Error Message: Param fbconnect must be a boolean
pls refer attachments for refference.
thanks.
Re: AutoFacebook [Support]
K It looks as if Facebook changed their connect proceedure. of course this happened after the application was submitted to Zen Cart.
Anyway heres the fix.
go into your application's settings (same area from steps 5-7) and change the following:
1st you'll see a Migration tab:
Switch "New Data Permissions" to "Disabled"
2nd now click the Connect tab:
and switch your "connect url" to:
http://apps.facebook.com/
Re: AutoFacebook [Support]
Thanks.
Successfully configures.
But I get this error after adding product.
Quote:
Warning: include_once(facebook/php/facebook.php) [function.include-once]: failed to open stream: No such file or directory in /home/vshopgr9/public_html/admin/includes/modules/update_product.php on line 145
Warning: include_once() [function.include]: Failed opening 'facebook/php/facebook.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vshopgr9/public_html/admin/includes/modules/update_product.php on line 145
Fatal error: Class 'Facebook' not found in /home/vshopgr9/public_html/admin/includes/modules/update_product.php on line 147
Re: AutoFacebook [Support]
try changing (around) line 149 of your update_product.php file in the admin/includes/modules folder
where you see
PHP Code:
include_once 'facebook/php/facebook.php';
to:
PHP Code:
include_once 'includes/modules/facebook/php/facebook.php';
Re: AutoFacebook [Support]
Quote:
Originally Posted by
jamielife
try changing (around) line 149 of your update_product.php file in the admin/includes/modules folder
where you see
PHP Code:
include_once 'facebook/php/facebook.php';
to:
PHP Code:
include_once 'includes/modules/facebook/php/facebook.php';
same result :
Quote:
Warning: include_once(includes/modules/facebook/php/facebook.php) [function.include-once]: failed to open stream: No such file or directory in /home/vshopgr9/public_html/admin/includes/modules/update_product.php on line 145
Warning: include_once() [function.include]: Failed opening 'includes/modules/facebook/php/facebook.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vshopgr9/public_html/admin/includes/modules/update_product.php on line 145
Fatal error: Class 'Facebook' not found in /home/vshopgr9/public_html/admin/includes/modules/update_product.php on line 147
Re: AutoFacebook [Support]
It looks like your include_path is set to a specific folder... Check your php.ini settings or try adding before the include_once line so it looks like:
PHP Code:
set_include_path('/home/vshopgr9/public_html/admin/includes/modules/)';
include_once 'facebook/php/facebook.php';
Re: AutoFacebook [Support]
maybe play around with the paths
Re: AutoFacebook [Support]
Thanks.
works fine.
But new problem came out.
My website has been suspended due to usage of CPU was more than allowed by hosting provider.
Is it because of this module?
Just curious because my website has been suspended after I add few new products right after i've installed autofacebook mod.
Thanks again.
Re: AutoFacebook [Support]
I'd doubt it. When writing/testing it, I probably used it about 100 times a day(at least), of course that's on an ipower server. All it is doing is making a single JSON request to facebook. I wouldn't imagine that this would have got you suspended but I don't know your server's settings. Best to call them and find out.