Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Location
    Los Angeles
    Posts
    91
    Plugin Contributions
    0

    Default Failed to Open Stream - Function

    Database Type Invalid. Did your configure.php file get written correctly?
    Warning: main(../includes/classes/db/DB_TYPE/query_factory.php) [function.main]: failed to open stream: No such file or directory in /home/dotli3/public_html/zen-cart-v1.3.6-full-fileset-10272006/zc_install/includes/modules/pages/store_setup/header_php.php on line 32

    Warning: main(../includes/classes/db/DB_TYPE/query_factory.php) [function.main]: failed to open stream: No such file or directory in /home/dotli3/public_html/zen-cart-v1.3.6-full-fileset-10272006/zc_install/includes/modules/pages/store_setup/header_php.php on line 32

    Fatal error: main() [function.require]: Failed opening required '../includes/classes/db/DB_TYPE/query_factory.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dotli3/public_html/zen-cart-v1.3.6-full-fileset-10272006/zc_install/includes/modules/pages/store_setup/header_php.php on line 32

    Ok, so I change "mysql" to "DB_TYPE" and then i get the same error but substitute /db/mysql/... in for the other. i'm going in circles! any help would be great. thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Failed to Open Stream - Function

    Both the files
    includes/configure.php and
    admin/includes/configure.php should have
    define('DB_TYPE', 'mysql');
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  3. #3
    Join Date
    Nov 2006
    Location
    Los Angeles
    Posts
    91
    Plugin Contributions
    0

    Default Re: Failed to Open Stream - Function

    that might be my prob... where should that be?

  4. #4
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Failed to Open Stream - Function

    In the files
    includes/configure.php and
    admin/includes/configure.php
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Failed to Open Stream - Function

    The problem is described in the first line of your post:
    Quote Originally Posted by yellowdaises View Post
    Database Type Invalid. Did your configure.php file get written correctly?
    What version of Apache are you running?
    What version of PHP?
    How much disk space is available to Apache?
    Are the configure.php files "world writable" at the point of doing installation?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. main(includes/configure.php) [function.main]: failed to open stream:
    By AnneLJohnson in forum Installing on a Windows Server
    Replies: 7
    Last Post: 19 Nov 2007, 09:33 PM
  2. failed to open stream: Too many open files in ???
    By IllusionGuy in forum General Questions
    Replies: 4
    Last Post: 28 Aug 2007, 09:31 PM
  3. Failed to open stream....
    By kevnj in forum General Questions
    Replies: 6
    Last Post: 2 Jan 2007, 10:52 PM
  4. failed to open stream
    By waynezen in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 3 Jul 2006, 05:32 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