Forums / Installing on a Linux/Unix Server / Installed, Error Says "No Such File" but file is there!

Installed, Error Says "No Such File" but file is there!

Locked

Views: 2,160

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
29 Aug 2006, 5:01 PM
#1
plumloopy avatar

plumloopy

New Zenner

Join Date:
Apr 2006
Posts:
66
Plugin Contributions:
0

Installed, Error Says "No Such File" but file is there!

I have version 1.3 and the shop works but nothing ever appears in the main window, be it Privacy Policy or items. At the bottom of the page it displays the following:

Warning: main(includes/templates/template_default/sideboxes/tpl_whats_new.php): failed to open stream: No such file or directory in /home/tabletop/public_html/shop/includes/modules/sideboxes/whats_new.php on line 26

Warning: main(includes/templates/template_default/sideboxes/tpl_whats_new.php): failed to open stream: No such file or directory in /home/tabletop/public_html/shop/includes/modules/sideboxes/whats_new.php on line 26

Fatal error: main(): Failed opening required 'includes/templates/template_default/sideboxes/tpl_whats_new.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tabletop/public_html/shop/includes/modules/sideboxes/whats_new.php on line 26

*** In searching the forums, I found advice suggesting that the missing file must have failed to be uploaded, however the file in question -- tpl_whats_new.php -- does not exist in the original install files

I was getting the RED error on "PHP open_basedir" but upon reading the forums I chose to ignore.

I'm guessing the cart isn't getting past the whats new sidebox therefore anything scheduled to be displayed afterwards never makes it.

-PL

29 Aug 2006, 5:12 PM
#2
plumloopy avatar

plumloopy

New Zenner

Join Date:
Apr 2006
Posts:
66
Plugin Contributions:
0

Re: Installed, Error Says "No Such File" but file is there!

I'm sorry, file IS NOT there (tpl_whats_new.php) but it also doesn't exist in the original INSTALL FILES. Is this files supposed to be generated during the install then (but wasn't)?

PL

29 Aug 2006, 5:23 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Installed, Error Says "No Such File" but file is there!

Where exactly did you get your download?
That file has been in the distribution for a couple years now...

.
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.

29 Aug 2006, 6:54 PM
#4
plumloopy avatar

plumloopy

New Zenner

Join Date:
Apr 2006
Posts:
66
Plugin Contributions:
0

Re: Installed, Error Says "No Such File" but file is there!

I have three versions, 1.3, 1.301 & 1.27 and none have tpl_whats_new.php in the includes/modules/sideboxes folder - or am I looking in the wrong place?

PL

29 Aug 2006, 7:30 PM
#5
plumloopy avatar

plumloopy

New Zenner

Join Date:
Apr 2006
Posts:
66
Plugin Contributions:
0

Re: Installed, Error Says "No Such File" but file is there!

I turn off "what's new" and I get a similar error except it's complaining about not finding tpl_whos_online.php

PL

29 Aug 2006, 8:52 PM
#6
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: Installed, Error Says "No Such File" but file is there!

the error say that it can't find > includes/templates/template_default/sideboxes/tpl_whats_new.php

check this directory for the file, if not there reupload this directory.

I just checked my local copy and it is in there in the right place.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

29 Aug 2006, 8:59 PM
#7
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: Installed, Error Says "No Such File" but file is there!

you said> I have three versions, 1.3, 1.301 & 1.27 and none have tpl_whats_new.php in the includes/modules/sideboxes folder - or am I looking in the wrong place?

you must be looking in the wrong place, because for the original error that you reported it shows the file erroring out on line 26. Well, for this to happen it has to be there so that it can run and error out.:unsure:

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

29 Aug 2006, 9:10 PM
#8
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: Installed, Error Says "No Such File" but file is there!

*edit my last.

What I should have said is the whats_new.php will be in the includes/modules/sideboxes folder and tpl_whats_new.php will be in the includes/templates/default_template/sideboxes folder*:blush:

If tpl_whats_new.php is not where it belongs then upload directory again.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

29 Aug 2006, 10:59 PM
#9
plumloopy avatar

plumloopy

New Zenner

Join Date:
Apr 2006
Posts:
66
Plugin Contributions:
0

Re: Installed, Error Says "No Such File" but file is there!

Ah, as you see above I was mistakenly looking in: includes/modules/sideboxes instead of includes/templates/template_default/modules/sideboxes

Thanks everyone. Looks like the last few files in that folder didn't make it.

PL

30 Aug 2006, 12:34 AM
#10
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: Installed, Error Says "No Such File" but file is there!

glad you got it figured out

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!