Help - Search - Members - Calendar
Full Version: After installation include files are not found
CubeCart Forums > CubeCart Version 3 > Installation & Upgrade Help (Version 3)
cdaa
Hi, After installing CubeCart V3 i am getting these errors:


CODE
Warning: main(language/en/home.inc.php) [function.main]: failed to create stream: No such file or directory in e:\inetpub\vs104140\includes\content\index.inc.php on line 38

Warning: main() [function.main]: Failed opening 'language/en/home.inc.php' for inclusion (include_path='e:\php') in e:\inetpub\vs104140\includes\content\index.inc.php on line 38

Warning: main(language/en/home.inc.php) [function.main]: failed to create stream: No such file or directory in e:\inetpub\vs104140\includes\content\index.inc.php on line 42

Warning: main() [function.main]: Failed opening 'language/en/home.inc.php' for inclusion (include_path='e:\php') in e:\inetpub\vs104140\includes\content\index.inc.php on line 42

Warning: main(classes/cart.php) [function.main]: failed to create stream: No such file or directory in e:\inetpub\vs104140\includes\boxes\shoppingCart.inc.php on line 41

Fatal error: main() [function.main]: Failed opening required 'classes/cart.php' (include_path='e:\php') in e:\inetpub\vs104140\includes\boxes\shoppingCart.inc.php on line 41
PHP Warning: main(language/en/home.inc.php) [function.main]: failed to create stream: No such file or directory in e:\inetpub\vs104140\includes\content\index.inc.php on line 38 PHP Warning: main() [function.main]: Failed opening 'language/en/home.inc.php' for inclusion (include_path='e:\php') in e:\inetpub\vs104140\includes\content\index.inc.php on line 38 PHP Warning: main(language/en/home.inc.php) [function.main]: failed to create stream: No such file or directory in e:\inetpub\vs104140\includes\content\index.inc.php on line 42 PHP Warning: main() [function.main]: Failed opening 'language/en/home.inc.php' for inclusion (include_path='e:\php') in e:\inetpub\vs104140\includes\content\index.inc.php on line 42 PHP Warning: main(classes/cart.php) [function.main]: failed to create stream: No such file or directory in e:\inetpub\vs104140\includes\boxes\shoppingCart.inc.php on line 41 PHP Fatal error: main() [function.main]: Failed opening required 'classes/cart.php' (include_path='e:\php') in e:\inetpub\vs104140\includes\boxes\shoppingCart.inc.php on line 41



It seems as though it is not looking from the root directory for the files to include. It is on a windows platform.
vrakas
Maybe you run it locally and then you uploaded to the server and it got the local drive.

Download a fresh version of cubecart

Upload all files again and then run the install script.

Maybe this would help wink.gif
cdaa
It was actually to do with the include_path. My host had set it to c:\php so a call to ini_set in the global.inc.php file fixed it up.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.