Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation
Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation
Another issue I found when loading the facebook_authorization.php
This is for another site I tried it onCode:Strict Standards: main() [function.main]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/xxxx/public_html/facebook_authorization.php on line 970 Notice: Undefined offset: 0 in /home/xxxx/public_html/facebook_authorization.php on line 970 Success! Your page's ID is: Strict Standards: main() [function.main]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/xxxx/public_html/facebook_authorization.php on line 972 Notice: Undefined offset: 0 in /home/xxxx/public_html/facebook_authorization.php on line 972 Your page's Token is: Now just copy and paste these codes to the included update_product.php. Note: if you see a period (or any other punctuation) at the end of your page token please copy and paste that as well as it is part of the token.
Any idea what maybe causing this?Code:Notice: Undefined offset: 0 in /home/xxxx/public_html/facebook_authorization.php on line 970 Success! Your page's ID is: Notice: Undefined offset: 0 in /home/xxxx/public_html/facebook_authorization.php on line 972 Your page's Token is: Now just copy and paste these codes to the included update_product.php. Note: if you see a period (or any other punctuation) at the end of your page token please copy and paste that as well as it is part of the token.
Turn erorr reporting off and now getting this via ftp
Only thing is I have checked the ID and Secret a hundred timesCode:[30-Aug-2010 02:30:58] PHP Fatal error: Uncaught QueryParseException: An active access token must be used to query information about the current user. thrown in /home/xxxx/public_html/facebook/facebook_authorization.php on line 532
When running the facebook_authorize.php I get the following error and cannot proceed to the success page to get the page's ID and page's token
here is the info that I have entered as per instructions{
"error": {
"type": "OAuthException",
"message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration."
}
}
1. on facebook created application: http://www.facebook.com/apps/applica...37653992944479
2. Facebook Application Web Site: Site URL: http://www.my-chef.org/cart/
Site Domain: my-chef.org
3. Facebook Intergration: uncheck users and checked Facebook Pages left everything else blank
4. I get my Application ID" and "Application Secret"
5. I insert those values into the facebook_authorize.php and upload to temp directory http://my-site.org/facebook/ and run file
The error quoted above is the return from running the script.
Does anyone have any suggestions as to what I have done incorrectly and maybe able to assist me in correcting this error?
Did you add your domain to the application settings under "WebSite" inside the facebook app?
4. For now we need to click "Web Site" on the left and edit our "Site URL" and our "Site Domain".
The Site URL is simply your store's web address followed by a '/' forward slash. So it should look something like "http://mystore.com/"
Your Site Domain is just your domain name 'dot' whatever and could look like "mystore.com". No "http://", no "www.", and no "/"
Thank you for your response Yes I have added as instructed the domain name in the Web Site tab of the application (image(s) attached for verification) as well as for the Facebook Integration
code from the facebook_authorization.php which is uploaded into the directory facebook on the my-chef.org site
Note in rerunning the script again I now have received a success along with page id and page token.//edit with your info
$app_id = "137653992944479"; //given when you created app
$app_secret = "2724333d3ea0a08ec5149cd4b0db8a88"; //given when you created app
$app_location = "http://my-chef.org/facebook/facebook_authorization.php"; //full path to location of this file. see step 7
//no need to edit below this line
I'm not sure what was going on but I am sure happy for the positive results.
Thank you for your response!!!
Bookmarks