Re: AutoFacebook [Support]
I am after a little help please.
I updated my password on facebook and now get the following error in Zen Cart when I insert a new product:
Facebook Error: Error validating access token: The session has been invalidated because the user has changed the password.
I have run the facebook_authorization.php which generates a new token and page i.d then there is a message which says.
Now just copy and paste these codes to the included update_product.php.
I cannot find the update_product.php. file anywhere in my cpanel, i have looked under includes, modules but i cannot see the file i need to edit.
My other question is how do i edit the php file if and when i ever find it?
Any help would be most welcome since i have spent the last 5 hours on this with now joy
Re: AutoFacebook [Support]
The update_product.php file is located in the following directory.
admin - includes - modules
Also use an FTP program such as Flash FXP to find the file and not cPanel.
To edit this file the best program I have found is EditPad Lite and it's free! You can download a copy from the following URL.
http://www.editpadlite.com/
Re: AutoFacebook [Support]
Quote:
Originally Posted by
CybaGirl
The update_product.php file is located in the following directory.
admin - includes - modules
Also use an FTP program such as Flash FXP to find the file and not cPanel.
To edit this file the best program I have found is EditPad Lite and it's free! You can download a copy from the following URL.
http://www.editpadlite.com/
Thank you for the reply, As a complete newbie to this i have no idea where to find the admin - includes - modules?
I log into my cpanel and i can find includes-modules which is located in my public html but i cannot for the life of me find the admin folder, as stated im a complete newbie.
Where do i find the admin folder is that somewhere within the cpanel or is it located in my zencart?
Re: AutoFacebook [Support]
Hi Frankie, Good New Year to you.
You might be better of downloading to your PC and working from there. AFAIK cPanel can cuase some problems with editing php files.
Pop over here and download FileZilla this sets up the a ftp client on your PC.
You can then safely work on a local copy of your files with out running a risk of breaking your site without a backup in place.
Depending on the server your Shop is loaded on the Admin folder could be named; admin or zc_admin, or if someone set it up for you that had a bit of smarts and was security aware it could be called anything from adimnfrankie to z23mdi6kd9nvh502nfutoagbbb4, the more obscure the name the better basic security you have.
Once tou have a local copyit may be easlier to find update_product.php by searching for the file name.
Hope this helps. Billy
Re: AutoFacebook [Support]
First of all thank you for your replies and help.
I have downloaded filezilla and found the file i need to edit but could anyone tell me which line the codes have to be entered into?
Re: AutoFacebook [Support]
I have re-run the facebook_authorization.php to get a new access token which i now have but does anyone know which line this has to go into when i edit the file.
I have been looking and it must be me missing something as i cannot see where i need to copy and paste the new code. :(
Re: AutoFacebook [Support]
Quote:
Originally Posted by
frankyboy
I have re-run the facebook_authorization.php to get a new access token which i now have but does anyone know which line this has to go into when i edit the file.
I have been looking and it must be me missing something as i cannot see where i need to copy and paste the new code. :(
/admin/includes/modules/update_product.php. Scroll down to the facebook code and on the 4th line enter the new access token.
Re: AutoFacebook [Support]
How do you install the auto facebook? All of the instructions I have read are related to the old version of facebook developers program. I couldn't find any installation instructions for the new facebook developers page. The majority of the steps include changing something that is no longer even listed on the app editing page.. i.e. there is no website url or domain url to list , there is no "facebook integration" link to click etc...
Re: AutoFacebook [Support]
Quote:
Originally Posted by
countrycharm
/admin/includes/modules/update_product.php. Scroll down to the facebook code and on the 4th line enter the new access token.
Many thanks for your help although this does not seem to have worked for me.
Re: AutoFacebook [Support]
Quote:
Originally Posted by
countrycharm
/admin/includes/modules/update_product.php. Scroll down to the facebook code and on the 4th line enter the new access token.
I have done this 3 or 4 times now, i have changed line 4 which is the i.d and also line 5 which is the secret i take it that is what i needed to do or is it just line 4 i need to edit with the shorter of the 2 numbers.
The 1st number i get is an i.d number and the second is a token number.