Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OS Commerce Homepage


mifzal.mufthi

Recommended Posts

I've just installed OS COMMERCE on my site and each time I open my site, I get the following info on my homepage. Please refer below and help me to fix me the issue.

 

---------------------------------------------------------------------------------------------------------------------------------------------------

 

What's New Here? What's New Here?

Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

This is a default setup of osCommerce Online Merchant. 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.

Online Documentation

 

Online documentation can be read at the osCommerce Knowledge Base site.

 

Support is available at the osCommerce Support Site.

 

If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the support site of osCommerce. This shop is running on osCommerce Online Merchant v2.2 RC2a.

 

---------------------------------------------------------------------------------------------------------------------------------------------------

Link to comment
Share on other sites

There is no "issue".

 

That's what it's supposed to look like after you install.

 

Now you're ready to start customizing.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Sorry to tell you but there is nothing wrong with your site. You now have to change all the text. The top bit in cat/includes/languages/your language. php and the next bit in cat/includes/languages/yourlanguage/index.php

 

Apart from that it tells you what to do on the page you posted.

 

Regards Mel

Link to comment
Share on other sites

Thanks guys. I am not an expert on PHP. Therefore, can you tell me how to completely get rid of these text on my homepage?

 

-----------------------------------------------------------------------------------------------------------------------------------------------------

 

This is a default setup of osCommerce Online Merchant. 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.

Online Documentation

 

Online documentation can be read at the osCommerce Knowledge Base site.

 

Support is available at the osCommerce Support Site.

 

If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the support site of osCommerce. This shop is running on osCommerce Online Merchant v2.2 RC2a.

Link to comment
Share on other sites

If you read what is written there you will know.

I am also new at osCommerce and have the same problem, and I do not know how to change the text.

 

Please advise, or preferably please direct me to tutorials that can guide me though this shopping cart structure. There are many fines in an index page that I do not understand how to edit, when or how.

 

I do have a security certificate, if that helps, but I do not know how to engage that, or how to set up PayPal/USPS so they will function - I do have accounts for these.

 

Please help, please be patient with me...

 

Thank you

Jen

Link to comment
Share on other sites

Please read what is on the page and act on it.

 

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.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Please read what is on the page and act on it.

 

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.

I am sorry, this just doesn't make any sense. Where do I need to go, and what must be rewritten?
Link to comment
Share on other sites

I have found the index file and commented out the code as this page shows, but it does not save. http://www.oscommerce.info/kb/osCommerce/Catalog_Area/Boxes/260

I keep trying to comment out the code as instructed by the above site, but I get error messages after saving. Is there a source where I can see what code belongs on that page, so I can edit out only the appropriate code?
Link to comment
Share on other sites

I've just installed OS Commerce 3. Now, I see the following on my error log:-

 

21-Feb-2010 23:55:36 PHP Notice: Undefined index: categories_id in /home/a8076669/public_html/slshop/admin/includes/classes/object_info.php on line 71

21-Feb-2010 23:55:36 PHP Notice: Undefined index: categories_name in /home/a8076669/public_html/slshop/admin/includes/classes/object_info.php on line 60

21-Feb-2010 23:54:33 PHP Fatal error: Call to undefined method osC_Products_Admin::remove() in /home/a8076669/public_html/slshop/admin/includes/applications/categories/classes/categories.php on line 300

21-Feb-2010 23:54:33 PHP Warning: set_time_limit() has been disabled for security reasons in /home/a8076669/public_html/slshop/admin/includes/functions/general.php on line 24

 

How do I fix this?

Link to comment
Share on other sites

I keep trying to comment out the code as instructed by the above site, but I get error messages after saving. Is there a source where I can see what code belongs on that page, so I can edit out only the appropriate code?

 

If you go to my website www.theherbman.co.uk and have a look at the home page. The top bit is changed in cat/includes/languages/englishphp see below

 

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser"></span> to the<b> www.theherbman.co.uk </b> on-line catalogue. Would you like to <a href="%s"><u><b>log yourself in</b></u></a>? If you have not already registered with <b> The Moulin de la Motte Herb Farm</b> you may do so by <a href="%s"><u><b> clicking here </b></u></a>. By registering, it will enable me to send you details of special offers and new products as they become available. If you do not wish to do either please feel free to browse through the site. <b> N.B. all the photos on this site are only an indication of to how a mature plant may look.</b>');

 

 

The next bit is changed in cat/includes/languages/enlish/index php see below

 

define('TEXT_MAIN', ' <p><b>The Moulin de la Motte Herb Farm</b> is situated in the S.W. of France near to the small hamlet of Ste Eulalie d\' Eymet, 20Kms South of Bergerac in the Dordogne. I have been been growing organic herbs for sale on the local markets of Eymet and Ste Foy also at the flower shows in the region for the past 20 years.</p>

<table border="0" width="100%" cellspacing="2" cellpadding="6" ><tr><td class="main" valign="top"align="left">' . tep_image(DIR_WS_IMAGES . 'HerbGarden.gif').'</td><td class="main" valign="top"><p> The plants that are available<b><u> now </u></b>can be ordered on-line but at the moment only plants in 9cm pots, plugs or seeds, teas and dried herbs can be sent by mail order. All plants may be ordered on-line and picked up and paid for at a market. Details at the checkout.<br><br>Please click on and read the <b> Information </b>pages situated at bottom left hand corner of this page for delivery details.<br><p> Once you have clicked on to a catagory of your choice and arrived at a products page, it is possible, to sort the products into ascending or decending order of stock left, product name, size and price by clicking onto the headings in white at the top of the column you wish to look at.<br></p><p><b>Any</b> comments about the ease of use of this site will be most welcome. Thanking you all.<br><b> Mel Prett </b>.');

 

 

I've changed the position of a bit of coding to put the image in.

 

I hope that this helps you a bit. The <p> </p> are the codes for start and finish of a paragraph <u> </u> underline there are a lot more codes to learn which will do other things. Another thing to remamber is if you put in the word can't you must put a \ before the ' thus can\'t.

 

As you can see I have used another site to enter the shop this is because I have .fr .eu and .co.uk sites and in france if you don't have a .fr site the French will not look at it. and also used the home page to tell people who and where I am. I feel its a little more personnel. There is a lot to learn but don't give up. This Forum really has helped me out and without them I would have given up a long time ago. One other thing there is more than one file with the same name which drove me crazy when I first stated and still catches me out today.

 

Have Fun

 

Regards Mel

Link to comment
Share on other sites

I've configured OS Commerce 3 Alpha. It was successful. However, when I try to add a product, I am getting the following error:-

 

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/convert) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a8076669/public_html/lanka/admin/includes/applications/products/actions/save.php on line 23

Link to comment
Share on other sites

Why have you bothered to install an alpha version of oscommerce, when there is a perfectly good stable version available. Version 3 has very limited contributions and almost no support.

 

To alter text on a page i take it you have uploaded the file that needs changing to your computer, altered it and downloaded it again.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

I've configured OS Commerce 3 Alpha. It was successful. However, when I try to add a product, I am getting the following error:-

 

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/convert) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a8076669/public_html/lanka/admin/includes/applications/products/actions/save.php on line 23

Problems with v3 need to be posted somewhere here

 

Look at the top of this page.,

 

This part of the forum is for osCommerce Online Merchant v2.x support exclusively.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Thanks. I was able to fix all these issues. also, let me know how and where to edit "SHIPPING & RETURNS, PRIVACY NOTICE, CONDITIONS OF USE and CONTACT US".

 

Further, when I click on "Contact Us" button (front-end), it's just asking us to enter Name, E-mail and Inquiry. How can I disable that?

Link to comment
Share on other sites

Thanks. I was able to fix all these issues. also, let me know how and where to edit "SHIPPING & RETURNS, PRIVACY NOTICE, CONDITIONS OF USE and CONTACT US".

 

Further, when I click on "Contact Us" button (front-end), it's just asking us to enter Name, E-mail and Inquiry. How can I disable that?

The answers depend on what what version you have installed.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

You alter the text in the includes/languages/english/contact_us.php file. The others you need to alter are in this same folder. In fact they are in the same folder as the index file which you say you have already altered. Rather than disable the contact us link, why not remove it, that waay no one will be able to contact you.

 

There is a good post stuck to the top of the insallation section of this forum, and you should take the time to read all the posts there.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

You alter the text in the includes/languages/english/contact_us.php file. The others you need to alter are in this same folder. In fact they are in the same folder as the index file which you say you have already altered. Rather than disable the contact us link, why not remove it, that waay no one will be able to contact you.

 

There is a good post stuck to the top of the installation section of this forum, and you should take the time to read all the posts there.

 

I believe you didn't understand what I wanted. I simply wanted to put my contact details (COMPANY NAME, ADDRESS, PHONE NUMBER & E-MAIL) instead of allowing the customer to mail me through form filling.

Link to comment
Share on other sites

If you were to open your eyes and look ayt the top of these forum pages you would see a link to add ons. I also take it that as you can use the internet, you are capable of carrying out a search. You will get more help if you try to do a few things for yourself instead of hoping someone else will do it all for you.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...