Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2012
    Posts
    27
    Plugin Contributions
    0

    bug TaxCloud - general.php error - Fix that might help others.

    I am running Zen Cart 1.51. I downloaded the latest version last week.

    After installing TaxCloud my script log showed that the TaxCloud modified file,
    admin/includes/functions.general.php was causing an error. The path on line 11 was incorrectly specified.

    The error in the script log was:
    PHP Warning: require_once(../includes/modules/TaxCloud/func.taxcloud.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /[store path]/azcadmn/includes/functions/general.php on line 11

    This line in general.php caused the error:
    $taxcloud = '../includes/modules/TaxCloud/func.taxcloud.php';
    require_once($taxcloud);


    I changed both lines (above) to one line (as shown below). The error is gone and it's working fine.
    require_once(DIR_FS_CATALOG . DIR_WS_MODULES . 'TaxCloud/func.taxcloud.php');

    TaxCloud seemed to be working without this fix (and may have caused a future problem). It did cause a problem with a Zen Cart QuickBooks Sync product add-on. The error caused the add-on not to work.

    I reported this error on the TaxCloud site, but thought I should post here too.

    Hope this info can help others.

  2. #2
    Join Date
    Apr 2013
    Location
    north carolina
    Posts
    110
    Plugin Contributions
    0

    Default Re: TaxCloud - general.php error - Fix that might help others.

    RCwebdev - thank you so much for posting this! I was having a similar problem, except in my case it was SITE/includes/classes/order.php that was calling that same TaxCloud file on line 21. It originally said:
    require_once DIR_WS_MODULES . 'TaxCloud/func.taxcloud.php';
    and was causing the error log, as well as server error 500 when trying to use Edit Orders 4.1. I replaced that line with your
    require_once(DIR_FS_CATALOG . DIR_WS_MODULES . 'TaxCloud/func.taxcloud.php');
    and the problem is gone! EO works, and no new error logs.
    Thanks again,
    Magz
    (For the record, I'm using ZC 1.5.1 with TaxCloud 1.5.2)
    Last edited by magz; 1 May 2013 at 09:32 PM.

  3. #3
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: TaxCloud - general.php error - Fix that might help others.

    You should post this on the TaxCloud support thread here on this forum not just the TaxCloud site so people who use the module will SEE the solution (not likely that many will see a general thread)
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #4
    Join Date
    Apr 2013
    Location
    north carolina
    Posts
    110
    Plugin Contributions
    0

    Default Re: TaxCloud - general.php error - Fix that might help others.

    I would, but it doesn't seem to exist. Doesn't come up for either "TaxCloud" or "Tax Cloud" forum search, and there's no link to it on the plugin's download page.... ???

  5. #5
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: TaxCloud - general.php error - Fix that might help others.

    This thread has been sort of fucntioning as a support thread for a while now in absence of a formal one.. It certainly is the most popular TaxCloud thread..

    http://www.zen-cart.com/showthread.p...TaxCloud-Addon
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #6
    Join Date
    Apr 2013
    Location
    north carolina
    Posts
    110
    Plugin Contributions
    0

    Default Re: TaxCloud - general.php error - Fix that might help others.

    Thanks DivaVocals, mission accomplished!

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: TaxCloud - general.php error - Fix that might help others.

    Quote Originally Posted by magz View Post
    Thanks DivaVocals, mission accomplished!
    Awesome..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #8
    Join Date
    Nov 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: TaxCloud - general.php error - Fix that might help others.

    Magz,

    I'm glad my post helped.

    It turns out that I was using an older version of TaxCloud that I got in December from the TaxCloud site. I downloaded the newestversion of TaxCloud courtesy of Dr Byte
    http://www.zen-cart.com/downloads.php?do=file&id=1208 and see the problem that I encountered is fixed. I also posted this note on the TaxCloud thread http://www.zen-cart.com/showthread.p...TaxCloud-Addon (good to know about this thread; didn't see it when I originally posted).

    I will be integrating the newest TaxCloud this weekend; hoping to resolve some problems.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 25 Dec 2014, 04:57 PM
  2. php error message for my checkout success page that I need help with
    By Markp001 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 5 Jul 2009, 07:53 PM
  3. Background effect that everyone might like help?
    By wlamoreaux in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Jan 2008, 09:32 PM

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