Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 11 votes

How Do I ...? All the basic install questions regularly asked...


537 replies to this topic

#441 spicer1

  • Community Member
  • 2 posts
  • Real Name:michael spicer
  • Gender:Male

Posted 21 January 2010, 13:22

View PostJack_mcs, on 04 May 2008, 03:37, said:

Take a look in the includes/languges/english.php file.

Jack
Find the following line and change it to what you want it to say [code define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?'); [/code]
I cannot find this in the includes/languges/english.php file. Where else can it be found, I am trying to open up 11 stores and I don't see this?
Let me say thank you in advance

#442 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 21 January 2010, 13:27

View Postspicer1, on 21 January 2010, 13:22, said:

Find the following line and change it to what you want it to say [code define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?'); [/code]
I cannot find this in the includes/languges/english.php file. Where else can it be found, I am trying to open up 11 stores and I don't see this?
Let me say thank you in advance
It should be there. It might be that your text has been ordered or the code on the index page changed to load it from somewhere else. Try searching the english.php file for just:
TEXT_GREETING_PERSONAL

#443 emilesteenkamp

  • Community Member
  • 83 posts
  • Real Name:emile steenkamp
  • Gender:Male

Posted 26 January 2010, 22:16

Hi there, I am trying to include all my text and banners in the footer, not just the std date(left) and amount of visits(right).

I want to include the banner and everything else too.

here's my code, I have plaid around for hours, but just can't cut it...

<?php
/*
$Id: footer.php 1739 2007-12-20 00:52:16Z hpdl $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright © 2003 osCommerce

Released under the GNU General Public License
*/

require(DIR_WS_INCLUDES . 'counter.php');
?>
<table border="0" width="100%" cellspacing="0" cellpadding="1">
<tr class="footer">
<td class="footer">&nbsp;&nbsp;<?php echo strftime(DATE_FORMAT_LONG); ?>&nbsp;&nbsp;</td>
<td align="right" class="footer">&nbsp;&nbsp;<?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>&nbsp;&nbsp;</td>
</tr>
</table>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>
</tr>
</table>
<?php
if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
</tr>
</table>
<?php
}
?>
</div>

Here's the link to the store to maybe see what I mean:
http://www.3stechnology.co.za/
No outside links in signature allowed. See forum rules please.

#444 spicer1

  • Community Member
  • 2 posts
  • Real Name:michael spicer
  • Gender:Male

Posted 27 January 2010, 11:51

Hey Everyone;
WE are new at this so if any of the following questions are considered "dumb" Questions...Sorry.
I have Multiple stores & what I would like to do is make them more friendly for all of my customers, so can I make it so when a customer starts a account with one store, They automatically have an account with the other stores? I want to thank ANYONE & EVERYONE who helps me with this in advance....So Thank You

#445 ukracer

  • Community Member
  • 272 posts
  • Real Name:Andy Taylor

Posted 19 February 2010, 01:08

Hi

I have tried to use the STS template system as I was told it would be easier to alter the parts I needed to.

Problem is I keep trying to alter it but as you can see I don't have a clue what part alters the font size in the main image section. (or anywhere else for that matter!

http://www.mistatees-rc.co.uk/catalog/index.php in case you need to see what i mean.

Thanks in advance

#446 Robert C

  • Community Member
  • 1 posts
  • Real Name:Robert Castleberry

Posted 19 February 2010, 23:26

I have searched and searched, but can't seem to find the "Go to catalog/includes/languages/English/index.php"
I am a total novice and maybe I installed this incorrectly, but I am completely lost and am wondering if I can do this. Please help!

#447 Maltor

  • Community Member
  • 2 posts
  • Real Name:Bill Hill

Posted 25 February 2010, 16:25

View PostRobert C, on 19 February 2010, 23:26, said:

I have searched and searched, but can't seem to find the "Go to catalog/includes/languages/English/index.php"
I am a total novice and maybe I installed this incorrectly, but I am completely lost and am wondering if I can do this. Please help!

I think what is happening here is those of us that are new have downloaded the (Beta)

source code v3.0 and the answers we are getting is for program ver 2.*. It's OK for me

I just playing around with the source code in the beta but I think if you want a

working source you need to go back to the prev. ver. and start there to get answers

from users of this great source code. I personally like this one.

I think what your looking for in this ver. is /includes/languages/en_US.xml

Edited by Maltor, 25 February 2010, 16:28.


#448 gordon13

  • Community Member
  • 7 posts
  • Real Name:PAUL

Posted 27 February 2010, 14:02

Hi there, Im new to php. I have desgined a flly working website, and now would like to add a shopping/account creation and management for it. Is it possible to scrap the suplied website, and just use the account creation and shopping card etc on my own design?

#449 ironmon1

  • Community Member
  • 54 posts
  • Real Name:peijun xia

Posted 20 March 2010, 15:38

Hi,
I have 2 ecommerce shops and followed step 21 to try and centre my shops. On one site, http://www.ironmongeryshoponline.co.uk this worked fine, but on the 2nd, http://www.door-handles-knobs.co.uk it hasn't. In fact on this site I get different widths for different pages.
Ive checked the coding and cannot see what could be wrong.
Totally baffled

Edited by ironmon1, 20 March 2010, 15:39.


#450 germ

  • Community Member
  • 13,471 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 20 March 2010, 15:54

View Postironmon1, on 20 March 2010, 15:38, said:

Hi,
I have 2 ecommerce shops and followed step 21 to try and centre my shops. On one site, http://www.ironmongeryshoponline.co.uk this worked fine, but on the 2nd, http://www.door-handles-knobs.co.uk it hasn't. In fact on this site I get different widths for different pages.
Ive checked the coding and cannot see what could be wrong.
Totally baffled
Look at the HTML source:

Quote

<table align="center" border="0" width="770"><tbody><tr><td>

On some pages the horizontal size of every thing exceeeds that width.
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Headers already sent" - The definitive help

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

SSL Implementation Help

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

#451 sfrasher

  • Community Member
  • 37 posts
  • Real Name:Spence
  • Gender:Male
  • Location:Arizona or Wyoming

Posted 28 March 2010, 22:16

View PostRobert C, on 19 February 2010, 23:26, said:

I have searched and searched, but can't seem to find the "Go to catalog/includes/languages/English/index.php"
I am a total novice and maybe I installed this incorrectly, but I am completely lost and am wondering if I can do this. Please help!

Try finding the path without the "catalog/". When you installed the program, you may not have told it to install in "catalog", so it's just www.name.com/includes/languages/english/index.php. It's not wrong. I do it all the time.

#452 sfrasher

  • Community Member
  • 37 posts
  • Real Name:Spence
  • Gender:Male
  • Location:Arizona or Wyoming

Posted 28 March 2010, 22:29

View Postgordon13, on 27 February 2010, 14:02, said:

Hi there, Im new to php. I have desgined a flly working website, and now would like to add a shopping/account creation and management for it. Is it possible to scrap the suplied website, and just use the account creation and shopping card etc on my own design?

I think it's easier to use your design inside of OSCommerce. Copy all of the code for your current site (from BODY to /BODY) into includes/languages/english/index.php, line 13, where it says "define('TEXT_MAIN', 'This is a default setup...blah blah blah');
Change that line to define('TEXT_MAIN', 'Your code here');

Inside of the single quotes, make sure there aren't any other single quotes...like "aren't". If you have a single one, it will result in a blank white page. Replace "aren't" with "aren\'t" and it should work.

#453 ogwinilo

  • Community Member
  • 146 posts
  • Real Name:Felix
  • Gender:Male

Posted 01 April 2010, 11:57

When I add another column such that i have three columns of products in the centre of my site under the New Product module from admin, As right column of the infoboxes shifts outwards accordingly, both the header, (with my logo) and the footer do not follow suit, they remain in their original positions and out of line. How do I make them move outward as I add the 3rd column of products?

Secondly, adding banners from admin does not seem to result in them showing up on my store

What could be solutions to these?

Thanks in advance

Felix

#454 fairiehan

  • Community Member
  • 8 posts
  • Real Name:Ahmad Faizal

Posted 11 April 2010, 11:25

Hi, i'm newbie here.

i've already post this problem at other thread but no response. Just try my luck to re post here.
I've problem during installation osCommerce v2.2. When i put the required database server parameters the following error occured:

[There was a problem connecting to the database server. The following error had occured:

Access denied for user 'easthcom'@'svr10.internet-webhosting.com' (using password: YES)

Please verify the connection parameters and try again.]

my website: www.eastcomputech.com
main domain: eastcomputech.com
home directory: /home/easthcom
Shared Ip Address: 202.75.36.34
to acces the cpanel : www.eastcomputech.com/cpanel
the username and password to access the cpanel: username: easthcom
password: ********

the osCommerce database i name it: catalog
So the database will be: easthcom_catalog
username: admin
password: *******

so the parameter during installation osCommerce should be:

Database server: 202.75.36.34
Username: easthcom
Password: ********
database name: easthcom_catalog

when i click continue, the problem as mention above. What should i do?

please help.

#455 fairiehan

  • Community Member
  • 8 posts
  • Real Name:Ahmad Faizal

Posted 13 April 2010, 09:20

i beg anyone willing to help me? please. :(

#456 BryceJr

  • Community Member
  • 1,441 posts
  • Real Name:Bryce

Posted 14 April 2010, 06:54

View Postfairiehan, on 11 April 2010, 11:25, said:

Hi, i'm newbie here.

i've already post this problem at other thread but no response. Just try my luck to re post here.
I've problem during installation osCommerce v2.2. When i put the required database server parameters the following error occured:

[There was a problem connecting to the database server. The following error had occured:

Access denied for user 'easthcom'@'svr10.internet-webhosting.com' (using password: YES)

Please verify the connection parameters and try again.]

my website: www.eastcomputech.com
main domain: eastcomputech.com
home directory: /home/easthcom
Shared Ip Address: 202.75.36.34
to acces the cpanel : www.eastcomputech.com/cpanel
the username and password to access the cpanel: username: easthcom
password: ********

the osCommerce database i name it: catalog
So the database will be: easthcom_catalog
username: admin
password: *******

so the parameter during installation osCommerce should be:

Database server: 202.75.36.34
Username: easthcom
Password: ********
database name: easthcom_catalog

when i click continue, the problem as mention above. What should i do?

please help.
define('DB_SERVER', 'usually an ip address, path, or localhost. Log in to PHPMyAdmin to find out or contact your web host.');
define('DB_SERVER_USERNAME', 'username you use to log in to phpMyAdmin');
define('DB_SERVER_PASSWORD', 'password you use to log in to phpMyAdmin');
define('DB_DATABASE', 'name of your database you created in phpMyAdmin/mysql');

I doubt your database server is similar to your web IP address.
Did you create a database prior to proceeding with install?

It's a good thing you posted fake credentials regarding your website, cpanel, etc. If those were accurate, you'll be hacked before you know it.

Edited by BryceJr, 14 April 2010, 07:04.


#457 fairiehan

  • Community Member
  • 8 posts
  • Real Name:Ahmad Faizal

Posted 18 April 2010, 07:11

hi BryceJr,

thanks a lot for your help. Youre great! Just settle all the problem mention above. :D :thumbsup:

#458 GrindTheBladeShopSE

  • Community Member
  • 1 posts
  • Real Name:Jack J.G Rinkeberg

Posted 24 April 2010, 10:46

how do i start once i have downloaded these files:

osCommerce Online Merchant v2.2 Release Candidate 2a

and

osCommerce Online Merchant v3.0 Alpha 5

its my first time useing oscommerce and so far from what i see the files that ive downloaded hav no installation orogram or links to the online shop building page... for example... just icons and files...

#459 germ

  • Community Member
  • 13,471 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 24 April 2010, 12:51

View PostGrindTheBladeShopSE, on 24 April 2010, 10:46, said:

how do i start once i have downloaded these files:

osCommerce Online Merchant v2.2 Release Candidate 2a

and

osCommerce Online Merchant v3.0 Alpha 5

its my first time useing oscommerce and so far from what i see the files that ive downloaded hav no installation orogram or links to the online shop building page... for example... just icons and files...
Don't use v3.

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

"Headers already sent" - The definitive help

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

SSL Implementation Help

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

#460 Lowtek1

  • Community Member
  • 1 posts
  • Real Name:John P

Posted 28 April 2010, 20:41

View PostJourfa, on 23 April 2008, 01:18, said:

3. … Change the Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account on the front page?
Go to catalog/includes/languages/English/index.php
Find the following line and change it to what you want it to say [code define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?'); [/code]

Hello,

OSC came pre-installed via my webhost and am currently trying to configure etc. The line in the directions above does not exist in the mentioned file catalog/includes/languages/English/index.php, is there somehwere else that this line can be found?

Thank you.

I know this is ancient but I had this same question today and figured it out on my own.
Answer: One level up in the includes\languages folder in the english.php file Almost at the bottom line 286 or so you'll find it.

Edited by Lowtek1, 28 April 2010, 20:43.