Page 62 of 70 FirstFirst ... 12526061626364 ... LastLast
Results 611 to 620 of 695
  1. #611
    Join Date
    Nov 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    I followed the video to the letter, even watched it through once and then started it again and followed the steps, anyway though that's the error I get

  2. #612
    Join Date
    Nov 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    hmmm, took it out of Sandbox mode and put www in front of the URL and now I get this

    {
    "error": {
    "message": "Invalid redirect_uri: Given URL is not permitted by the application configuration.",
    "type": "OAuthException",
    "code": 191
    }
    }

  3. #613
    Join Date
    Nov 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    It's ok I've sorted it - stupid STUPID mistake, when I copied and pasted the app id and secret to the php file there was a space at the start, deleted that and now it works fine

    HOWEVER

    when I post to facebook the product comes out with the price as £19.990 - how do I limit the decimal points?

  4. #614
    Join Date
    Jun 2013
    Location
    Hong Kong
    Posts
    27
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    My facebook acc. has been login by someone! So I changed the password. But when I update the product information, it shows:

    Facebook Error: Error validating access token: The session has been invalidated because the user has changed the password.

    Does anyone could tell me how to fix it? Thanks in advance for your help!

  5. #615
    Join Date
    Aug 2013
    Location
    Jindabyne australia
    Posts
    4
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    I have just installed this addon and uploaded the corrected file. When using i try to open the facebook_authorization.php file i get this error

    {
    "error": {
    "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",
    "type": "OAuthException",
    "code": 191
    }
    }

    I have changed the file with my token id etc exactly as shown in the youtube video. Is this something to do with face book developers site being slightly different now.
    Any help on this matter would be heaps appreciated.

    My website is www.toycave.com.au and im trying to upload my items to my facebook site. www.facebook.com/toycavebabytoys
    I have only just set up my facebook and facebook page.

  6. #616
    Join Date
    Aug 2013
    Location
    Brisbane
    Posts
    25
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by lankeeyankee View Post
    I looked at the code again in update_products and noticed that you put the first line of my code in the wrong spot, it was inside the
    PHP Code:
    if (!defined('IS_ADMIN_FLAG')) {
        die(
    'Illegal Access');
      } 
    so this was never being run
    PHP Code:
    $facebook_add $_POST['facebook_add']; 
    Try the new file and see if it finally works.
    Lankee I am having the same problem Can you explain "it was inside" WHAT

  7. #617
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by tenthilltoys View Post
    Lankee I am having the same problem Can you explain "it was inside" WHAT
    It's supposed to come after the closing bracket so it should look like this:
    PHP Code:
    if (!defined('IS_ADMIN_FLAG')) { 
        die(
    'Illegal Access'); 
      } 

    $facebook_add $_POST['facebook_add']; 
    The other poster had it like this:

    PHP Code:
    if (!defined('IS_ADMIN_FLAG')) { 
        die(
    'Illegal Access'); 
    $facebook_add $_POST['facebook_add'];
      } 

    Zen Cart and it's community are the best!!

  8. #618
    Join Date
    Aug 2013
    Location
    Brisbane
    Posts
    25
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Thankyou Lankee for your response and I apologize for being a bit terse but I had been working on this file for an hour.

    I am still getting a white screen and I have double checked all of the code do you have any suggestions.

    with thanks

  9. #619
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by tenthilltoys View Post
    Thankyou Lankee for your response and I apologize for being a bit terse but I had been working on this file for an hour.

    I am still getting a white screen and I have double checked all of the code do you have any suggestions.

    with thanks
    No worries. Look in your error log to see what error(s) are occurring to give the white screen. It will be something simple. You can also post the code from that page here and I can look at it. Put it in between the
    PHP Code:
    php brackets from the toolbar of the message text editor 
    to make it easier to read.

    Zen Cart and it's community are the best!!

  10. #620
    Join Date
    Aug 2013
    Location
    Brisbane
    Posts
    25
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    From update_product.php

    PHP Code:
      if (!defined('IS_ADMIN_FLAG')) {
        die(
    'Illegal Access');
      }
      
    $facebook_add $_POST['facebook_add'];  
      if (isset(
    $_GET['pID'])) $products_id zen_db_prepare_input($_GET['pID']); 
    PHP Code:
    'products_price_sorter' => zen_db_prepare_input($_POST['products_price_sorter'])
                                
    'facebook_add' => zen_db_prepare_input($_POST['facebook_add'])  
                                ); 
    PHP Code:
         //// INSERT PRODUCT-TYPE-SPECIFIC *INSERTS* HERE //////
    if ($facebook_add == 1) { 
              
    //AutoFacebook 

    PHP Code:
     $messageStack->add_session('Facebook Error: '.$fberror'error');
              }
    }
          
    ////    *END OF PRODUCT-TYPE-SPECIFIC INSERTS* //////// 
    From preview_info.php


    PHP Code:
                                    p.product_is_always_free_shippingp.products_qty_box_statusp.products_quantity_order_max,
                        
    p.products_sort_orderp.facebook_add 
                                   from 
    " . TABLE_PRODUCTS . " p" . TABLE_PRODUCTS_DESCRIPTION . " pd 

    PHP Code:
                echo zen_image(DIR_WS_CATALOG_IMAGES . $products_image_name, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="right" hspace="5" vspace="5"') . $pInfo->products_description;
                }
              ?>
            ?>
              <!--BO FACEBOOK-->
                 </tr><tr>
              <td><hr></td> 
                </tr><tr>
    <td class="smallText">
     <?php
     $facebook_add 
    $_POST['facebook_add'];
    if (
    $facebook_add == 1) {
                      echo 
    "Facebook Will be Updated.";

                    } else {
                      echo 
    "Facebook Will NOT be Updated.";

                    }
     
    ?>
                   </td>  </tr>
               <tr>
    <!--EO FACEBOOK--> 
            </td>
    From collect_info.php

    PHP Code:
     'master_categories_id' => ''
                           'facebook_add' 
    => '' 
                           
    );

        
    $pInfo = new objectInfo($parameters); 
    PHP Code:
    p.products_price_sorterp.master_categories_idp.facebook_add  

                                  from 
    " . TABLE_PRODUCTS . " p" . TABLE_PRODUCTS_DESCRIPTION . " pd 
    PHP Code:
     default: $in_products_quantity_mixed true$out_products_quantity_mixed false;
        }
    if (!isset(
    $pInfo->facebook_add)) $pInfo->facebook_add '0';
        switch (
    $pInfo->facebook_add) {
          case 
    '0'$is_facebook_add_enabled false$not_facebook_add_enabled true; break;
          case 
    '1'$is_facebook_add_enabled true$not_facebook_add_enabled false; break;
          default: 
    $is_facebook_add_enabled false$not_facebook_add_enabled true;
        }  

    // set image overwrite 

    PHP Code:
    <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif''1''10'); ?></td>
              </tr>
    <tr>
              <td class="main">Add/update Facebook?</td>
                <td class="main"><?php echo zen_draw_separator('pixel_trans.gif''24''15') . '&nbsp;' zen_draw_radio_field('facebook_add''1'$is_facebook_add_enabled) . '&nbsp; Yes ' zen_draw_radio_field('facebook_add''0'$not_facebook_add_enabled) . ' No ' . ($pInfo->facebook_add == 'Add to facebook?' ''); ?></td>

              </tr> 
              <tr>
                <td class="main"><?php echo TEXT_PRODUCT_IS_FREE?></td>
    when I use this the product screen in admin goes blank.
    I used the cut and paste method to do this.

    any help please.

    Peter

 

 
Page 62 of 70 FirstFirst ... 12526061626364 ... LastLast

Similar Threads

  1. v151 autofacebook help
    By sean g in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 27 Nov 2014, 08:52 PM
  2. AutoFacebook and Canada Post Modules
    By DJLQD in forum General Questions
    Replies: 0
    Last Post: 27 Feb 2013, 02:32 PM
  3. v139h Help please with Autofacebook - Support thread is no longer supported
    By shags38 in forum General Questions
    Replies: 0
    Last Post: 18 Jul 2012, 01:49 PM
  4. Problems with AutoFacebook
    By amanda099 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 31 Aug 2010, 10:12 AM
  5. AutoFacebook OG 1.3.9 addon problems
    By eOstrE in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Jul 2010, 09:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR