Zen Cart Logo
Forums / Installing on a Linux/Unix Server / No such file, line 38 error??

No such file, line 38 error??

Locked

Views: 1,580

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
21 Dec 2006, 8:17 PM
#1
bchapp3182 avatar

bchapp3182

New Zenner

Join Date:
Dec 2006
Posts:
7
Plugin Contributions:
0

No such file, line 38 error??

I have downloaded the cart from zen-cart.com and unzipped it, then uploaded the contents to my webserver/website via FTP using Macromedia Dreamweaver. So, now I go to perform the next step, install and I get this message:

Warning: main(includes/modules/pages/index/header_php.php) [function.main]: failed to open stream: No such file or directory in /webroot/v/a/valuc001/www/zen-cart/zc_install/index.php on line 38

Warning: main(includes/modules/pages/index/header_php.php) [function.main]: failed to open stream: No such file or directory in /webroot/v/a/valuc001/www/zen-cart/zc_install/index.php on line 38

Fatal error: main() [function.require]: Failed opening required 'includes/modules/pages/index/header_php.php' (include_path='.:/usr/share/php4:/usr/share/php') in /webroot/v/a/valuc001/www/zen-cart/zc_install/index.php on line 38

The file index.php does exist in my root file of the site. Not sure what all this means or how to fix it?

Thanks for any help from a 100% newbie!

21 Dec 2006, 9:07 PM
#2
bchapp3182 avatar

bchapp3182

New Zenner

Join Date:
Dec 2006
Posts:
7
Plugin Contributions:
0

Re: No such file, line 38 error??

I fixed the first two warnings by uploading the files again. Still working on the fatal error...

21 Dec 2006, 10:15 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: No such file, line 38 error??

Fatal error: main() [function.require]: Failed opening required 'includes/modules/pages/index/header_php.php' (include_path='.:/usr/share/php4:/usr/share/php') in /webroot/v/a/valuc001/www/zen-cart/zc_install/index.php on line 38

The file index.php does exist in my root file of the site. Not sure what all this means or how to fix it?

Not sure where you are in the install process but an index.php file is required both after install at the root and in the zc_install folder

22 Dec 2006, 3:02 PM
#4
bchapp3182 avatar

bchapp3182

New Zenner

Join Date:
Dec 2006
Posts:
7
Plugin Contributions:
0

Re: No such file, line 38 error??

Yeah, I checked that. All the various install files exist and are on the server....

23 Dec 2006, 1:18 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: No such file, line 38 error??

I would try a re-upload of the files as sometimes they get corrupted or have a "0" byte size...

Also, if you are hosted on a Linux servedr(maybe Win also) I generally upload the compressed file and expand it on the server for initial installs, and a bit different for upgrades.

23 Dec 2006, 2:52 PM
#6
bchapp3182 avatar

bchapp3182

New Zenner

Join Date:
Dec 2006
Posts:
7
Plugin Contributions:
0

Re: No such file, line 38 error??

I ended up deleting the entire initial upload, downloading another copy and installing that. It worked! :laugh: