Post by Fishpistol » Fri Jul 27, 2007 12:51 pm

So I got open cart installed and I get to the page that says its installed but then I hit the administrator button and get this

Notice: Use of undefined constant DIR_INCLUDE - assumed 'DIR_INCLUDE' in (and it lists my dir to the index.php, don't want to list it here) on line 12

Warning: require(DIR_INCLUDEdatabase.php) [function.require]: failed to open stream: No such file or directory in Store/admin/index.php on line 12

Fatal error: require() [function.require]: Failed opening required 'DIR_INCLUDEdatabase.php' (include_path='.:/usr/local/lib/php') in Store/admin/index.php on line 12

any ideas? Could use the help....


Pervious Post :

I have just installed the opencart software and I fixed the magic qoutes and register globals which was my first problem. I have setup the db and have put in the correct info I click continue and get these warnings and I am not sure what I need to edit or reinstall.

Warning: fwrite(): supplied argument is not a valid stream resource in
public_html/Store/install/index.php on line 128

Warning: fclose(): supplied argument is not a valid stream resource in
public_html/Store/install/index.php on line 129

Warning: fwrite(): supplied argument is not a valid stream resource in
public_html/Store/install/index.php on line 173

Warning: fclose(): supplied argument is not a valid stream resource in
public_html/Store/install/index.php on line 174

I have php version 5.2.2

Am I doing something wrong do I need to edit my php somehow? Any help is appericated!
Last edited by Fishpistol on Thu Aug 02, 2007 4:31 am, edited 1 time in total.

Newbie

Posts

Joined
Fri Jul 27, 2007 12:40 pm

Post by mistareno » Thu Sep 06, 2007 6:31 pm

I have the EXACT same issue as described above...

Is there a solution?

Newbie

Posts

Joined
Thu Sep 06, 2007 6:30 pm

Post by Daniel » Thu Sep 06, 2007 7:32 pm

Fishpistol wrote: So I got open cart installed and I get to the page that says its installed but then I hit the administrator button and get this

Notice: Use of undefined constant DIR_INCLUDE - assumed 'DIR_INCLUDE' in (and it lists my dir to the index.php, don't want to list it here) on line 12

Warning: require(DIR_INCLUDEdatabase.php) [function.require]: failed to open stream: No such file or directory in Store/admin/index.php on line 12

Fatal error: require() [function.require]: Failed opening required 'DIR_INCLUDEdatabase.php' (include_path='.:/usr/local/lib/php') in Store/admin/index.php on line 12

any ideas? Could use the help....


Pervious Post :

I have just installed the opencart software and I fixed the magic qoutes and register globals which was my first problem. I have setup the db and have put in the correct info I click continue and get these warnings and I am not sure what I need to edit or reinstall.

Warning: fwrite(): supplied argument is not a valid stream resource in
public_html/Store/install/index.php on line 128

Warning: fclose(): supplied argument is not a valid stream resource in
public_html/Store/install/index.php on line 129

Warning: fwrite(): supplied argument is not a valid stream resource in
public_html/Store/install/index.php on line 173

Warning: fclose(): supplied argument is not a valid stream resource in
public_html/Store/install/index.php on line 174

I have php version 5.2.2

Am I doing something wrong do I need to edit my php somehow? Any help is appericated!
It looks like you have download the 6.5 version. Download the 7.5 version.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm
Who is online

Users browsing this forum: No registered users and 4 guests