Forum Moderators: coopster
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]
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?
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...]
Oh, also, Welcome to WebmasterWorld! :)