Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Posts
    18
    Plugin Contributions
    0

    Default failed to open stream: No such file or directory

    Cart was working fine, now getting:

    Warning: order_total(includes/modules/order_total/ot_local_tax.php): failed to open stream: No such file or directory in /home/content/t/r/a/transequity/html/zen/includes/classes/order_total.php on line 33

    Warning: order_total(includes/modules/order_total/ot_local_tax.php): failed to open stream: No such file or directory in /home/content/t/r/a/transequity/html/zen/includes/classes/order_total.php on line 33

    Warning: order_total(): Failed opening 'includes/modules/order_total/ot_local_tax.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/t/r/a/transequity/html/zen/includes/classes/order_total.php on line 33

    Fatal error: Cannot instantiate non-existent class: ot_local_tax in /home/content/t/r/a/transequity/html/zen/includes/classes/order_total.php on line 36

    Haven't done a thing to any files. Wanted to do an update but will hold off until this is addressed.

    Using: Zen Cart v1.3.5/v1.3.0.2

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: failed to open stream: No such file or directory

    How do you use code that is split between 2 to 4 version?

    Perhaps this is part of the problem ...

    Did you load any new files in the:
    /includes/modules/order_total

    directory recently or customize files there?

    Check to see that all files in:
    /includes/modules/order_total

    are code ...

    And that all files in:
    /includes/languages/english/modules/order_total

    are language files with just their defines in them ...

    Did you have something for local sales tax installed then decide to delete the files before removing them from the database?

    Note the module ot_local_tax.php is not part of Zen Cart core code ...

    Also note, that the current Zen Cart is v1.3.6 and we do encourage you to upgrade to that as soon as you can ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Mar 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: failed to open stream: No such file or directory

    Hi, I integrated a Nochex payment module with Zen Cart. However I received the following errors in admin:
    Warning: main(includes/modules/payment/nochex_apc/nochex_functions.php) [function.main]: failed to open stream: No such file or directory in /home/astarmal/public_html/includes/modules/payment/nochex_apc.php on line 16

    Warning: main() [function.include]: Failed opening 'includes/modules/payment/nochex_apc/nochex_functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/astarmal/public_html/includes/modules/payment/nochex_apc.php on line 16

    Fatal error: Class nochex_apc: Cannot inherit from undefined class base in /home/astarmal/public_html/includes/modules/payment/nochex_apc.php on line 22



    Could you please help me, urgent help needed.

    Jiang

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: failed to open stream: No such file or directory

    includes/modules/payment/nochex_apc/nochex_functions.php

    The error msg. is telling you there is no such file. Confirm if true.

    If not there then reupload.

    If it is there it could be a permission problem. Check the install intructions that came with the Module.

  5. #5
    Join Date
    Mar 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: failed to open stream: No such file or directory

    Hi,
    Thank you for your message.

    The module has file structure as following:

    file folder 'store' and install instruction text file, nochex_apc.sql and LICENSE

    Firstly, I imported nochex_apc.sql using phpmyadmin to create two tables. Then I proceeded to upload the folder store.

    In the folder store there is a subfoloder includes and nochex_apc_handler.php file.
    On my server my directory structure is

    public_html/includes/modules/payment/ (I call this modules branch)

    and public_html/languages/english/modules/payment (I call this languages branch)

    Therefore I treated store as public_html upladed the rest files inside the store as below:

    within the includes folder of the Nochex module there are modules and languages two folders, while the modules has payment folder and the payment folder has nochex_apc.php file and nochex_apc folder.

    I uploaded nochex_apc.php and nochex_apc folder into the Zen Cart payment folder under the modules branch. The nochex_apc folder has three files and logs folder. The three files are: apc_application_top.php, nochex_apc_admin_notification.php and nochex_functions.php.

    Therefore the uploaded file structure should be as below:

    includes/modules/payment/nochex_apc/nochex_functions.php

    In the same way I uploaded the file within the languages of the Nochex module into zen cart languages as below:

    includes/languages/english/modules/payment/nochex_apc.php

    I'm wondering if my uploading is correct and how to set the permission?

    Many thanks,
    Last edited by hwjiang; 2 Aug 2007 at 11:15 AM.

 

 

Similar Threads

  1. failed to open stream: No such file or directory
    By Cnotation in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 6 Oct 2008, 05:10 PM
  2. failed to open stream: No such file or directory
    By Mikado in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 3 Dec 2007, 02:09 PM
  3. failed to open stream: No such file or directory
    By IllusionGuy in forum General Questions
    Replies: 3
    Last Post: 31 Aug 2007, 02:18 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