childs16 Posted April 9, 2007 Posted April 9, 2007 I just started with OSCommerce and i am flying blind. I entered in my products no problem. but when i used this as my website the main page say welcome guest log in or register. then it says this below.. how do i take it off and type my own text??? HEre is what it says: " This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional. Error Messages If there are any error or warning messages shown above, please correct them first before proceeding. Error messages are displayed at the very top of the page with a complete background color. Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file. Editing Page Texts The text shown here can be modified in the following file, on each language basis: [path to catalog]/includes/languages/english/index.php That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules. The text is set in the following manner: define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist: define('TEXT_MAIN', ''); More information concerning the PHP define() function can be read here. Securing The Administration Tool It is important to secure the Administration Tool as there is currently no security implementation available. Online Documentation Online documentation can be read at the osCommerce Wiki Documentation Effort site. Community support is available at the osCommerce Community Support Forums site.
acharme Posted April 9, 2007 Posted April 9, 2007 I am trying not to sound jaded here, but how about the part that says: The text shown here can be modified in the following file, on each language basis: [path to catalog]/includes/languages/english/index.php That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules. The text is set in the following manner: define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist: define('TEXT_MAIN', ''); More information concerning the PHP define() function can be read here. Word to the wise: make a backup of your entire site before you change things. That way, when you do not like what you did, you simply replace the new file with the old file and try again. By the way, almost all of the text elements are set in that [path to catalog]/includes/languages/english folder. Go explore it - and have fun ! learn...love...laugh...live
childs16 Posted April 10, 2007 Author Posted April 10, 2007 not to sound like a total idiot but where the heck to you type in path to catalog/includes/languages/english/index.php.. i went into the file manager adn modules and there is nothing there to change. it doesnt show my main page at all. this system is foreign to me and not helpful. there is no one to talk to .. i can't figure anything out! my-invitatations.com I am trying not to sound jaded here, but how about the part that says:The text shown here can be modified in the following file, on each language basis: [path to catalog]/includes/languages/english/index.php That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules. The text is set in the following manner: define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist: define('TEXT_MAIN', ''); More information concerning the PHP define() function can be read here. Word to the wise: make a backup of your entire site before you change things. That way, when you do not like what you did, you simply replace the new file with the old file and try again. By the way, almost all of the text elements are set in that [path to catalog]/includes/languages/english folder. Go explore it - and have fun !
kirikintha Posted April 10, 2007 Posted April 10, 2007 You are using a very advanced system - there is a high learning curve for even seasoned developers. this system is foreign to me and not helpful. there is no one to talk to You have to understand this is an OPEN SOURCE project - there is no support other than the good people on this board. Having said that, the file you are modifying is: [path to catalog]/includes/languages/english/index.php if you have a standard install of OSC, the path should look something like: mystore.com/catalog/includes/languages/english/index.php or if you are looking at it from a linux file system public_html//includes/languages/english/index.php ------- go to the admin page of your site, and click on: tools-->file manager then, browse for the file and press 'edit' that should get you to what you want to edit. BE PATIENT there is a lot to learn!!!!! :) Nothing unreal exists
childs16 Posted April 10, 2007 Author Posted April 10, 2007 yeah i am learning that this is too complicated for me. i went with a host service and this is what they provide and i am totally lost. after i went where it said i got this message. Error: I can not write to this file. Please set the right user permissions on: /home/my-invit/public_html/catalog/catalog//includes/languages/english/index.php where do i go to fix that???? You are using a very advanced system - there is a high learning curve for even seasoned developers. this system is foreign to me and not helpful. there is no one to talk to You have to understand this is an OPEN SOURCE project - there is no support other than the good people on this board. Having said that, the file you are modifying is: [path to catalog]/includes/languages/english/index.php if you have a standard install of OSC, the path should look something like: mystore.com/catalog/includes/languages/english/index.php or if you are looking at it from a linux file system public_html//includes/languages/english/index.php ------- go to the admin page of your site, and click on: tools-->file manager then, browse for the file and press 'edit' that should get you to what you want to edit. BE PATIENT there is a lot to learn!!!!! :)
thedoc420 Posted April 10, 2007 Posted April 10, 2007 its simple and the answer is one of two options: 1) chmod the index file to 777 or 2) navigate to that folder and right click index.php and make sure it is not read only
childs16 Posted April 11, 2007 Author Posted April 11, 2007 1st i dont have a degree in computers so i don't know what i am working with. i went into the system and dont' know what "chmod" is and i tried the right click on it and it didn't say read only or anything... its simple and the answer is one of two options: 1) chmod the index file to 777 or 2) navigate to that folder and right click index.php and make sure it is not read only
cuttingedge Posted April 12, 2007 Posted April 12, 2007 1st i dont have a degree in computers so i don't know what i am working with. i went into the system and dont' know what "chmod" is and i tried the right click on it and it didn't say read only or anything... I know what you mean. I am new too and have been trying for days dealing with the same problem. I finally found the answers I need. If you go to : http://www.oscommerce.info/ you can get alot of good information. Go to the Pre-Installation Procedure Link first. To fix mine I had to download SmartFTP Client. Hope this works for you.
Guest Posted April 12, 2007 Posted April 12, 2007 1st i dont have a degree in computers so i don't know what i am working with. i went into the system and dont' know what "chmod" is and i tried the right click on it and it didn't say read only or anything... I was there just over a week ago myself - so many things to learn in such a hurry! Everything a major crisis - it does get better. Are you using a file manager like cPanelx? If so, you can go to the index.php file that you found and when you left click on it you will be given the options of renaming the file, editing the file, changing permissions, and so on.....you can change the numbers they are talking about above by checking the boxes that allow you to write to the file. Then you can go back to editing it to say what you want it to. Does this help at all? jennifer
childs16 Posted April 17, 2007 Author Posted April 17, 2007 Ok i downloaded teh Smart FTP software. i went in and did the codm 777. but now i dont know what to do. i still isnt fixed. i am getting so close to fixing my errors. i am not a programer so i am not good on all this stuff I know what you mean. I am new too and have been trying for days dealing with the same problem. I finally found the answers I need. If you go to : http://www.oscommerce.info/ you can get alot of good information. Go to the Pre-Installation Procedure Link first. To fix mine I had to download SmartFTP Client. Hope this works for you.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.