Page 2 of 27 FirstFirst 123412 ... LastLast
Results 11 to 20 of 264
  1. #11
    Join Date
    May 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: AutoTweet [support]

    Changed to PHP 5. It's working. Great mod. Thanks!

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

    Default Re: AutoTweet [support]

    Good, glad to hear it. Sorry I hadnt realized the php 4 thing sooner.

  3. #13
    Join Date
    Feb 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: AutoTweet [support]

    Hi, I have installed the autotweet mod after changing the update_product.php file but get the following errors:

    Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /usr/www/users/soundoa/admin/twitter/bitly.php on line 141
    { "errorCode": 0, "errorMessage": "", "results": { "http://www.soundonline.co.za/index.php?main_page=product_info&cPath=93&products_id=427": { "hash": "cxFYvi", "shortCNAMEUrl": "http://bit.ly/9UmxW9", "shortKeywordUrl": "", "shortUrl": "http://bit.ly/9UmxW9", "userHash": "9UmxW9" } }, "statusCode": "OK" }
    Fatal error: Uncaught exception 'BitlyException' with message 'Invalid JSON-response' in /usr/www/users/soundoa/admin/twitter/bitly.php:196 Stack trace: #0 /usr/www/users/soundoa/admin/twitter/bitly.php(382): Bitly->doCall('shorten', Array) #1 /usr/www/users/soundoa/admin/includes/modules/update_product.php(146): Bitly->shorten('http://www.soun...') #2 /usr/www/users/soundoa/admin/product.php(62): require('/usr/www/users/...') #3 {main} thrown in /usr/www/users/soundoa/admin/twitter/bitly.php on line 196

    I have PHP5 and cURL enabled.

    I have no idea how to fix this. Please help.

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

    Default Re: AutoTweet [support]

    I'm looking into this. In the meantime;

    1. Make sure your host's PHP configuration in not in safe mode (php.ini).
    2. Is open_basedir set to correct directories?

    You make have to contact your hosting co. to verify.

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

    Default Re: AutoTweet [support]

    It looks like CURLOPT_FOLLOWLOCATION doesn't work with open_basedir on. Your host may have to turn this off

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

    Default Re: AutoTweet [support]

    fixed this.
    You have to edit both bitly.php and twitter.php

    on line 133 bitly.php and line 158 of twitter.php comment out
    PHP Code:
    $options[CURLOPT_FOLLOWLOCATION] = true
    so that it looks like:
    PHP Code:
    //$options[CURLOPT_FOLLOWLOCATION] = true; 
    then somewhere around line 136 on bitly.php and line 161 on twitter.php add:
    PHP Code:
    if ( ini_get('open_basedir') == '' ) {
    $options[CURLOPT_FOLLOWLOCATION] = true;

    Everything should work fine. (at least it did on my local machine)

  7. #17
    Join Date
    Feb 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: AutoTweet [support]

    I have used your mod for an oscommerce shop by inserting the twitter code from update_product.php into the same place in osc's categories.php

    When using your default code:

    include 'twitter/twitter.php';
    require_once 'twitter/bitly.php';

    it's posting fine to twitter, but I'm getting this error after adding the new product:
    Fatal error: Cannot redeclare class TwitterException in /home/account/public_html/admin/twitter/twitter.php on line 1867

    If I use this code instead (or require_once for both):

    include_once 'twitter/twitter.php';
    require_once 'twitter/bitly.php';

    then I am not getting the error but my twitter post is missing the product name:

    New Product Available: "" Check it out at http://bit.ly/xxxxx
    Do you have any ideas what is causing this?

  8. #18
    Join Date
    Feb 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: AutoTweet [support]

    I fixed it by adding if ($language_id == 1){} around the code in categories.php so it only included the code for english.

    Thanks for a great mod!

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

    Default Re: AutoTweet [support]

    Oh, good catch, and thanks I'm glad you like it.

  10. #20
    Join Date
    Dec 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: AutoTweet [support]

    I've installed the Autotwitter, but I can't figure out, why it doesn't work by me.
    When I set up a new product, it always shows me a blanc site, and nothing happend, and the new product is not inserted.

    I use Zen Cart 1.38, PHP 5, I've set the safe mode off .

    Hugs Micki

 

 
Page 2 of 27 FirstFirst 123412 ... LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 AM
  2. v151 Autotweet Errors/Not Posting
    By Little Red Crane in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 13 Mar 2014, 04:56 PM
  3. is there any AutoTweet addon or autofacebook addon work well with EasyPopulate?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 5 Dec 2010, 03:17 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