Forum Moderators: coopster

Message Too Old, No Replies

Zen Cart Issue - Latest Products Side Box A Mess!

         

Cally

12:23 pm on Jul 12, 2008 (gmt 0)

10+ Year Member



Hi All,

Can anyone help a relative beginner of Zen Cart!

I wanted to change the side box title from
"Latest 5 Products" to "Latest 10 Products"... using a ftp software tool.

I use the developers toolkit and searched for Latest 5 Products, to find the location. I then went to the page using the ftp software, opened it, changed the 5 to a 10 and saved it.

Then, when I looked back onto my home page the whole site is a mess
at the top of each page the following message can be seen...

Warning: main(includes/languages/english.php): failed to open stream: No such file or directory in /home/httpd/vhosts/example.com/httpdocs/includes/init_includes/init_templates.php on line 72

Warning: main(): Failed opening 'includes/languages/english.php' for inclusion (include_path='.:.:.:') in /home/httpd/vhosts/example.com/httpdocs/includes/init_includes/init_templates.php on line 72

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/example.com/httpdocs/includes/init_includes/init_templates.php:72) in /home/httpd/vhosts/example.com/httpdocs/includes/init_includes/init_templates.php on line 78

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/example.com/httpdocs/includes/init_includes/init_templates.php:72) in /home/httpd/vhosts/example.com/httpdocs/includes/classes/seo.url.php on line 1284

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/example.com/httpdocs/includes/init_includes/init_templates.php:72) in /home/httpd/vhostsexample.com/httpdocs/includes/classes/seo.url.php on line 1285

If I search for the location again of "Latest 5 Products" or "Latest 10 Products" the resulting search finds nothing!

Please help!

Cheers,

Cally.

[edited by: encyclo at 6:19 pm (utc) on July 12, 2008]

penders

6:26 pm on Jul 12, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hhhhmmm, it looks like you did something more than just change a "5" to a "10" ?!

May be file permissions got changed after saving/uploading the altered file?

The 3 warnings, "Cannot modify header information", are probably a result of the first two - so I wouldn't worry too much about these. In fact the first 2 warnings relate to the same missing file.

Can you locate the file "includes/languages/english.php" with your FTP software?

Cally

7:10 pm on Jul 12, 2008 (gmt 0)

10+ Year Member



Hi,

Yes, I can find the file english.php in the location you described.

penders

10:01 am on Jul 13, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What file/URL are you opening in the browser...?
"yourdomain.com/index.php" ?

What is on and around line#72 in:
"includes/init_includes/init_templates.php" ?

<edit>
This is really a PHP query, so you may get a better response in the PHP forum:
[webmasterworld.com...]

eelixduppy

3:59 am on Jul 14, 2008 (gmt 0)



Odds are the FTP client or text editor you used messed the code up a bit. Did you save a copy of the original before modifying the code? If not, you might want to find the original again somewhere and try again. This time use an editor like Notepad and save it. Don't forget to makes a backup, too! See if this works.

Oh, also, Welcome to WebmasterWorld! :)