jacksonlineworlds Posted May 17, 2007 Posted May 17, 2007 :'( HI Can anyone help me please????? i cant open my website www.jacksdigitalworld.com i get the following msg: Warning: Cannot modify header information - headers already sent by (output started at /home2/jacksdig/public_html/index.php:3) in /home2/jacksdig/public_html/includes/functions/general.php on line 1174 > Parse error: syntax error, unexpected T_STRING, expecting ']' in /home2/jacksdig/public_html/includes/header.php on line 232 What must i do???????????? help me please!!!!!!!! jack
Jack_mcs Posted May 17, 2007 Posted May 17, 2007 For the first error, see the link in my signature. For the second, the error is on line 232 of the includes/header.php file. You can compare that file to your backup to find the problem, or post the code here (only that line and a few before it though). Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Jack_mcs Posted May 17, 2007 Posted May 17, 2007 For the first error, see the link in my signature. For the second, the error is on line 232 of the includes/header.php file. You can compare that file to your backup to find the problem, or post the code here (only that line and a few before it though). Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
jacksonlineworlds Posted May 17, 2007 Author Posted May 17, 2007 For the first error, see the link in my signature. For the second, the error is on line 232 of the includes/header.php file. You can compare that file to your backup to find the problem, or post the code here (only that line and a few before it though). Jack thanx here is the lines 232 is the last one $categories_string .= $categories_string ? '<tr><td><img src=images/m17.gif width=223 height=1></td></tr><tr><td height=3></td></tr>' : ''; $categories_string .= '<tr><td> <img src=images/m16.gif width=5 height=5> <a class=ml1 href=';%20%20%20%20%20%20%20%20if%20($tree[$counter][' { $cPath_new = 'cPath=' . $counter;
jacksonlineworlds Posted May 17, 2007 Author Posted May 17, 2007 hi thisis completely skrewed up now now i get this error: Warning: Cannot modify header information - headers already sent by (output started at /home2/jacksdig/public_html/index.php:3) in /home2/jacksdig/public_html/includes/functions/general.php on line 1174 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home2/jacksdig/public_html/index.php:3) in /home2/jacksdig/public_html/includes/functions/sessions.php on line 66 > Parse error: syntax error, unexpected '%' in /home2/jacksdig/public_html/includes/header.php on line 231 WHAT NOW???????
satish Posted May 17, 2007 Posted May 17, 2007 Just replace the files generating errors with fresh one. there is a syntax error and will go. If the files had been modified then with some basic knowledge of PHP looking at the code YOu will be able to fix. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
kgt Posted May 17, 2007 Posted May 17, 2007 thanx here is the lines 232 is the last one $categories_string .= $categories_string ? '<tr><td><img src=images/m17.gif width=223 height=1></td></tr><tr><td height=3></td></tr>' : ''; $categories_string .= '<tr><td> <img src=images/m16.gif width=5 height=5> <a class=ml1 href=';%20%20%20%20%20%20%20%20if%20($tree[$counter][' { $cPath_new = 'cPath=' . $counter; Line 231 is completely messed up: $categories_string .= '<tr><td> <img src=images/m16.gif width=5 height=5> <a class=ml1 href=';%20%20%20%20%20%20%20%20if%20($tree[$counter][' { $cPath_new = 'cPath=' . $counter; I can't even tell what it's supposed to be. You need to revisit whatever you did when you altered that file. It's possible that happened as an error during file transfer when you uploaded it. Contributions Discount Coupon Codes Donations
jacksonlineworlds Posted May 17, 2007 Author Posted May 17, 2007 hi i can kind of get my site to upload but still get errors can anyone check it out ant tell me what it means? www.jacksdigitalworld.com thanx jack
kgt Posted May 17, 2007 Posted May 17, 2007 http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/15 Contributions Discount Coupon Codes Donations
jacksonlineworlds Posted May 17, 2007 Author Posted May 17, 2007 hi here are lines 1173 and 1174 in my error function tep_setcookie($name, $value = '', $expire = 0, $path = '/', $domain = '', $secure = 0) { setcookie($name, $value, $expire, $path, (tep_not_null($domain) ? $domain : ''), $secure); what is wrong with line 1174? what should i change it to? thanx jack :'(
kgt Posted May 17, 2007 Posted May 17, 2007 You have something outputting data in this file: /home2/jacksdig/public_html/index.php on this line: 3 THAT is where your problem is. Contributions Discount Coupon Codes Donations
jacksonlineworlds Posted May 18, 2007 Author Posted May 18, 2007 You have something outputting data in this file: /home2/jacksdig/public_html/index.php on this line: 3 THAT is where your problem is. thanx could you help me please?? here are my first four lines what do i do next? <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> regards
jacksonlineworlds Posted May 18, 2007 Author Posted May 18, 2007 hi ignore the above reply... here are the first three lines of my .index php script <?php /* $Id: index.php,v 1.1 2003/06/11 17:37:59 hpdl Exp $ whats next?
satish Posted May 19, 2007 Posted May 19, 2007 generally the line 3 has require application_top.php so with that somewhere some text thru echo or warning is geting generated. You need to place some echos in application_top.php and check where this is coming from. if using a template then place some file write code Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.