xbrantarx Posted February 1, 2004 Share Posted February 1, 2004 I altered the default.php and the index.php in the / public_html / store / includes / languages / english / folder. Now look at my site. www.personasolutions.com/store. Im getting a parse error, listed on the top of the page and now the info in the center: (HEADING_TITLE Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? TEXT_MAIN is out of whack. Can someone help me on this. I would like to restore this to what it should be. Im not sure if i deleted a file, accidentally, or if changed something. I have tried downloading a new copy of oscommerce, and copied files, but that didn't seem to work. Im just started working on this today, and i wouldn't want to reinstall, since i have done alot of work on it. Im a newbie to this PhP stuff, so any help would be greatly apprecaited. Link to comment Share on other sites More sharing options...
TerryK Posted February 1, 2004 Share Posted February 1, 2004 I just looked at your site and your text displayed correctly. There was, however, an error message at the top of your page which says: Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. I'm PHP-challenged, so I'm not the one to explain how to fix that, but hopefully someone else can... Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. * Link to comment Share on other sites More sharing options...
xbrantarx Posted February 1, 2004 Author Share Posted February 1, 2004 Yes, I finally got it fixed. but now im having a problem with the shopping cart.. Im getting this error. Warning: Cannot modify header information - headers already sent by (output started at /home/perso36/public_html/store/includes/languages/english.php:338) in /home/perso36/public_html/store/includes/functions/general.php on line 23 ANyone know what this means, or what i should do to correct it. Ihaven't touched this file, so why its not working is beyond me. I think i need some sleep, been looking at code for 10 hours. latz Link to comment Share on other sites More sharing options...
Guest Posted February 1, 2004 Share Posted February 1, 2004 Check the ends of any files that you did edit to make sure that they don't have a bunch of extra lines. If they do, delete them. That is what caused this problem for me in the past. Some online editors will add these lines for you as an added bonus. :*| -jared Link to comment Share on other sites More sharing options...
Guest Posted February 1, 2004 Share Posted February 1, 2004 blank lines, that is. -jared Link to comment Share on other sites More sharing options...
SunYe Posted February 1, 2004 Share Posted February 1, 2004 Agree with jcall ;) Its most likely that you have either sent some html code to the browser (like "") or that there is a blank line above one of the "<?php" opening script tags...this blank is interpreted as sending a blank to the browser... check for both of those. Fan of OSC system................. Comming From China............. Link to comment Share on other sites More sharing options...
T. Raven Posted February 2, 2004 Share Posted February 2, 2004 I just looked at your site and your text displayed correctly. There was, however, an error message at the top of your page which says: Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. I'm PHP-challenged, so I'm not the one to explain how to fix that, but hopefully someone else can... Terry Hello, Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. Seems you are running it local on your pc (i had that error then) in that case you need to solve your /tmp error by going to your MySql settings (my.ini) and change the path Change #tmpdir#= into: #tmpdir=C:/tmp en create in your C:\ the folder tmp. if not running local, are you on a shared server ? did you enter the correct info while doing the setup ? Please use a editor like Syn, i use that one with lots of fun, you can find it at: http://syn.sourceforge.net Greetings Link to comment Share on other sites More sharing options...
fixbike Posted February 2, 2004 Share Posted February 2, 2004 I altered the default.php and the index.php in the / public_html / store / includes / languages / english / folder. Now look at my site. www.personasolutions.com/store. Im getting a parse error, listed on the top of the page and now the info in the center: (HEADING_TITLE Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? TEXT_MAIN is out of whack. Can someone help me on this. I would like to restore this to what it should be. Im not sure if i deleted a file, accidentally, or if changed something. I have tried downloading a new copy of oscommerce, and copied files, but that didn't seem to work. Im just started working on this today, and i wouldn't want to reinstall, since i have done alot of work on it. Im a newbie to this PhP stuff, so any help would be greatly apprecaited. how did you fix this problem ? Link to comment Share on other sites More sharing options...
xbrantarx Posted February 2, 2004 Author Share Posted February 2, 2004 I have checked this file that is wrong, i never edited this file myself. I think this problem is how it was since installation. I used an automatic install by my hosting provider. ehostspros.com I have checked this file and there are no blank lines. I even downloaded a new install, copied over the origianal file, and no luck? Any Suggestions? Link to comment Share on other sites More sharing options...
xbrantarx Posted February 3, 2004 Author Share Posted February 3, 2004 OK, i could not fix this, so i reinstalled this oscommerce.. and I am getting the same error? Need Help!!! Error: Warning: Cannot modify header information - headers already sent by (output started at /home/perso36/public_html/store/includes/application_top.php:473) in /home/perso36/public_html/store/includes/functions/general.php on line 23 my site is: http://personasolutions.com/store you get this error when you check out... http://personasolutions.com/store/checkout_payment.php Can someone Help ME???? Link to comment Share on other sites More sharing options...
teto36 Posted February 4, 2004 Share Posted February 4, 2004 I have the same problem for a french copy Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/t/e/t/teto36/htdocs/catalog/includes/languages/french.php:1) in /data/members/free/multimania/fr/t/e/t/teto36/htdocs/catalog/includes/functions/general.php on line 24 EurosWin gagner de l'argent http://www.euroswin.fr.st Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.