Guest Posted April 2, 2003 Share Posted April 2, 2003 Open the catalog/includes/languages/MY LANGUAGE/MY LANGUAGE.php file in your favorite text editor. (MY LANGUAGE being any or all of the languages you will use in your shop.) On approximately line 44 you will find this definition: // page title define('TITLE', 'osCommerce'); Change the osCommerce to the name of your shop. Be sure to leave the single quotes. Save the file and upload it back to the proper directory. Repeat the step for each of the languages you are using. Link to comment Share on other sites More sharing options...
kalidust Posted May 4, 2003 Share Posted May 4, 2003 Hi Kim, I looked for that path to make the change, but can only find catalog/includes/languages/english/ Which file in that directory do we need to make the change? Thanks. Link to comment Share on other sites More sharing options...
orchard Posted May 4, 2003 Share Posted May 4, 2003 The file is located at catalog/includes/languages/MY LANGUAGE.php. In other words english.php in not in the english directory, it's in the languages directory. In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink: Link to comment Share on other sites More sharing options...
Guest Posted May 4, 2003 Share Posted May 4, 2003 Paul, Thanks for the correction.....I must have had MYLANGUAGE on the brain when I put that together. Link to comment Share on other sites More sharing options...
kalidust Posted May 4, 2003 Share Posted May 4, 2003 Thanks to both of you :) Link to comment Share on other sites More sharing options...
Slackline Posted October 7, 2003 Share Posted October 7, 2003 I tried this and my title becomes "Title" - no other changes and I left it in single quotes... weird.. any ideas? --- nevermind - found the problem I think. Link to comment Share on other sites More sharing options...
Slackline Posted October 7, 2003 Share Posted October 7, 2003 :huh: Aparently something bombed by just editing this line - now my English.php file is crashing. I get: PHP Parse error: parse error, unexpected T_STRING in D:\SiteData\webppliance\conf\domains\slackline\Inetpub\wwwroot\php\catalog\includes\languages\english.php on line 79 Ideas? I used text pad for editing. Link to comment Share on other sites More sharing options...
Guest Posted October 7, 2003 Share Posted October 7, 2003 Post the line you have edited and post line 79 The_Bear Link to comment Share on other sites More sharing options...
Guest Posted October 11, 2003 Share Posted October 11, 2003 When I change anything in english.php (even if it's just swapping out the osCommerce title with my own, I get this error when trying to add items to the shopping cart: Warning: Cannot modify header information - headers already sent by (output started at /home/webstore/public_html/catalog/includes/languages/english.php:336) in /home/webstore/public_html/catalog/includes/functions/general.php on line 29 I have, of course, left the single quote's, and done nothing other than changing the word oscommerce, to webstore kits. Thanks in advance for your time! :D Link to comment Share on other sites More sharing options...
Guest Posted October 11, 2003 Share Posted October 11, 2003 http://wiki.oscommerce.com/helpErrors The_Bear Link to comment Share on other sites More sharing options...
daithi Posted October 13, 2003 Share Posted October 13, 2003 When I change anything in english.php (even if it's just swapping out the osCommerce title with my own, I get this error when trying to add items to the shopping cart: Warning: Cannot modify header information - headers already sent by (output started at /home/webstore/public_html/catalog/includes/languages/english.php:336) in /home/webstore/public_html/catalog/includes/functions/general.php on line 29 i have just got a hosting account that uses cpanel as the admin interface and get the same problem with every php file i edit! the cpanel file editor (at least the version on my host) adds 2 blank lines to the end of each file when editing... so, i'd suggest scrolling to the end of each file you edit and delete any blank spaces, or if you can ssh into your host and use something like pico to edit the files... Link to comment Share on other sites More sharing options...
cincopunto5 Posted July 22, 2005 Share Posted July 22, 2005 I have already changed the title, however in google it still appear as oscommerce instead of e-friendsshop.com This is the result from Google.. (The second result is just my personal website.) osCommerce - [ Translate this page ] Gracias por visitar e-Friends Shop, una tienda peruana hecha por peruanos donde encontraras "polos" manufacturados en gamarra con el mejor algodon pyma del ... e-friendsshop.com/catalog/ - 20k - Cached - Similar pages e-friends ... solo escribo para invitarlos a www.e-friendsshop.com una pagina peruana hecha por peruanos donde encontraras polos de algodon de la mejor calidad ... www.angelfire.com/linux/ivanrojas/ - 11k - Cached - Similar pages <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.