Forums / Installing on a Mac Server / Failed to Open Stream - Function

Failed to Open Stream - Function

Locked

Views: 4,888

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
30 Nov 2006, 20:21
#1
yellowdaises avatar

yellowdaises

New Zenner

Join Date:
Nov 2006
Location:
Los Angeles
Posts:
91
Plugin Contributions:
0

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

30 Nov 2006, 20:29
#2
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Failed to Open Stream - Function

Both the files includes/configure.php and admin/includes/configure.php should have define('DB_TYPE', 'mysql');

30 Nov 2006, 20:35
#3
yellowdaises avatar

yellowdaises

New Zenner

Join Date:
Nov 2006
Location:
Los Angeles
Posts:
91
Plugin Contributions:
0

Re: Failed to Open Stream - Function

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

30 Nov 2006, 20:41
#4
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Failed to Open Stream - Function

In the files includes/configure.php and admin/includes/configure.php

03 Dec 2006, 09:52
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
174

Re: Failed to Open Stream - Function

The problem is described in the first line of your post:> yellowdaises:

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?