Guest Posted May 13, 2008 Posted May 13, 2008 I am trying to get the site to work without an frame and all i need to do is add my site header to application_top.php so that it appears on all the oscommerce pages but i can't get it to work without getting this error: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hsphere/local/home/revengep/revengeproductsinc.com/catalog/includes/application_top.php:1) in /hsphere/local/home/revengep/revengeproductsinc.com/catalog/includes/functions/sessions.php on line 102 Please Help. Thanks guys
Guest Posted May 13, 2008 Posted May 13, 2008 i get the same problem whne i save the header info in a seperate php file on the server and include it in application_top.php at the beginning. I am very new to working with php so a start in the right direction is all i need
Jan Zonjee Posted May 13, 2008 Posted May 13, 2008 i get the same problem whne i save the header info in a seperate php file on the server and include it in application_top.php at the beginning. I am very new to working with php so a start in the right direction is all i need What about adding it to includes/header.php itself (or change/adapt it to your design)?
Guest Posted May 13, 2008 Posted May 13, 2008 will that apply it to all pages? i thought i had to use application_top because it was the first in line. i'll give it a try. i changed the site back around so you can't see the error if anyone is wondering. i'll come back to let you know how it worked. thanks again!
♥FWR Media Posted May 13, 2008 Posted May 13, 2008 Trying to include html via application_top.php is not a good idea, application_top sets up the parameters including the session and if you output html before the session then you will get header errors. As Jan said header.php is the place. It is odd the way oscommerce is "organised" I must admit, the first thing I ever do to a new release is "reorganise it" so that header goes from doctype to <-- body text //--> (including column_left) and footer goes from <-- body text eof //--> to </html> (including column_right) Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
Guest Posted May 13, 2008 Posted May 13, 2008 i just needed a little direction. thanks again!!! I will post a link to the site when it is revamped. I am actually a fine art major so the help i get from these forums is all i've got so i don't end up just another starving artist :)
Guest Posted May 13, 2008 Posted May 13, 2008 i just ran into some more trouble. i can access some parts of my site but i get this error when i try to click the my account link: Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/revengep/revengeproductsinc.com/catalog/includes/application_top.php:654) in /hsphere/local/home/revengep/revengeproductsinc.com/catalog/includes/functions/general.php on line 54 here is the link: http://www.revengeproductsinc.com/catalog
Guest Posted May 13, 2008 Posted May 13, 2008 i just ran into some more trouble. i can access some parts of my site but i get this error when i try to click the my account link: Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/revengep/revengeproductsinc.com/catalog/includes/application_top.php:654) in /hsphere/local/home/revengep/revengeproductsinc.com/catalog/includes/functions/general.php on line 54 here is the link: http://www.revengeproductsinc.com/catalog well i found out that you can't leave empty space after php tags:):):)figured it out myself. have a good one everyone!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.