Page 1 of 2 12 LastLast
Results 1 to 10 of 695

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by jamielife View Post
    Ok how bout just:
    PHP Code:
    $prod_description $product_description[1]; 
    or

    PHP Code:
    $prod_description $_POST['products_description'][1]; 
    Hi jamielife thank you for the help. I tried both the other codes still nothing. I have racked my brain on this but still unsuccessful.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  2. #2
    Join Date
    Dec 2009
    Location
    Richmond, VA
    Posts
    160
    Plugin Contributions
    3

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by countrycharm View Post
    Hi jamielife thank you for the help. I tried both the other codes still nothing. I have racked my brain on this but still unsuccessful.
    Just about all those work for me.

    Maybe try adding

    PHP Code:
    echo "<pre>";
    var_dump($_POST['products_description']);
    exit; 
    just before
    PHP Code:
    //AutoFacebook 
    somewhere around line 90-ish

    let me know what it says

  3. #3
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by jamielife View Post
    Just about all those work for me.

    Maybe try adding

    PHP Code:
    echo "<pre>";
    var_dump($_POST['products_description']);
    exit; 
    just before
    PHP Code:
    //AutoFacebook 
    somewhere around line 90-ish

    let me know what it says

    getting close, but the product will not insert now. It shows this when trying to insert product.


    array(1) {
    [1]=>
    string(499) "
    [FONT=\&quot;VERDANA,]Stylish serving is a snap with this country themed Lazy Susan! Jaunty rooster motif brightens any gathering with down home charm; smoothly rolling turn table gives guests fingertip access to their favorite treats. [/FONT][FONT=\&quot;VERDANA,]Weight 4.6 lbs. Tempered glass and stainless steel. 14" diameter x 1" high.[/FONT]
    "
    }
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  4. #4
    Join Date
    Dec 2009
    Location
    Richmond, VA
    Posts
    160
    Plugin Contributions
    3

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by countrycharm View Post
    getting close, but the product will not insert now. It shows this when trying to insert product.
    Yeah it was designed to do that, I just needed to see the structure of the products_description array.

    Go a head and delete those 3 lines for now.

    I'm looking into this.

  5. #5
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by jamielife View Post
    Yeah it was designed to do that, I just needed to see the structure of the products_description array.

    Go a head and delete those 3 lines for now.

    I'm looking into this.
    Thanks you
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  6. #6
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by jamielife View Post
    Yeah it was designed to do that, I just needed to see the structure of the products_description array.

    Go a head and delete those 3 lines for now.

    I'm looking into this.
    jamielife did you happen find a fix yet? Thank you in advance
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  7. #7
    Join Date
    Dec 2009
    Location
    Richmond, VA
    Posts
    160
    Plugin Contributions
    3

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by countrycharm View Post
    jamielife did you happen find a fix yet? Thank you in advance
    No sadly I haven't. I can't reproduct the problem myself on my servers to test anything, so it make's it much harder to find a solution.

    I think that because of this, the problem is random and probably based on settings in your server's php.ini file. I have asked developers better than me and we all seem to be stumped on this.

    The variale info is there and obviously fine (judging by from var_dump). Something is happening when it's being sent to facebook.

    Perhaps you could try encoding the data;
    find line 104 where you see:
    PHP Code:
        $prod_description $_POST['products_description'][$_SESSION['languages_id']]; 
    and add a new line under it that looks like;
    PHP Code:
    $prod_description urlencode($prod_description); 
    I'm sorry I can't be more help on this.

    Also, thanks for helping out on the forum!

  8. #8
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by jamielife View Post
    No sadly I haven't. I can't reproduct the problem myself on my servers to test anything, so it make's it much harder to find a solution.

    I think that because of this, the problem is random and probably based on settings in your server's php.ini file. I have asked developers better than me and we all seem to be stumped on this.

    The variale info is there and obviously fine (judging by from var_dump). Something is happening when it's being sent to facebook.

    Perhaps you could try encoding the data;
    find line 104 where you see:
    PHP Code:
        $prod_description $_POST['products_description'][$_SESSION['languages_id']]; 
    and add a new line under it that looks like;
    PHP Code:
    $prod_description urlencode($prod_description); 
    I'm sorry I can't be more help on this.

    Also, thanks for helping out on the forum!
    I tried this and it almost works. Here what the description looks like when posting to facebook.


    All In One Media Center
    Price: $275.90
    %3Cp%3E%3Cspan+style%3D%5C%22font-size%3A+small%3B%5C%22%3E%3Cstrong%3E%3Cfont+color%3D%5C%22%23000000%5C%22%3ECol orful+++entertainment+credenza+puts+a+full+function+media+center+anywhere+you+
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  9. #9
    Join Date
    Dec 2009
    Location
    Richmond, VA
    Posts
    160
    Plugin Contributions
    3

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by countrycharm View Post
    getting close, but the product will not insert now. It shows this when trying to insert product.
    this is kind of a shot in the dark but try changing around line 120 where you see:

    PHP Code:
    'description'       =>  $prod_description
    to:

    PHP Code:
    'description'       =>  $_POST['products_description'][1], 

  10. #10
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by jamielife View Post
    this is kind of a shot in the dark but try changing around line 120 where you see:

    PHP Code:
    'description'       =>  $prod_description
    to:

    PHP Code:
    'description'       =>  $_POST['products_description'][1], 
    That does not work either Jamielife.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

 

 
Page 1 of 2 12 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

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