Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Not your basic index.php question!


Guest

Recommended Posts

I cannot seem to get the

 

define('TEXT_MAIN', 'Browse our online store and either order online or download our fax order form');

 

to change. I change it in my catalog/includes/English/index.php with my ftp but when i click refresh is stays the same and doesn't change - below from my homepage

 

[b]Welcome Guest! log yourself in? Create an account?

Or start shopping as a guest without setting up an account?

 

To order simply follow the</b>

 

Most confusing, could anyone help with this?

 

Thanks

Link to comment
Share on other sites

I cannot seem to get the

 

define('TEXT_MAIN', 'Browse our online store and either order online or download our fax order form');

 

to change. I change it in my catalog/includes/English/index.php with my ftp but when i click refresh is stays the same and doesn't change - below from my homepage

 

[b]Welcome Guest! log yourself in? Create an account?

Or start shopping as a guest without setting up an account?

 

To order simply follow the</b>

 

Most confusing, could anyone help with this?

 

Thanks

 

 

My Url is http://www.noahskitchen.com.au/catalog/index.php

 

Thanks

Link to comment
Share on other sites

it says

Or start shopping as a guest without setting up an account?

To order simply follow the

 

nic

 

 

Yeah, that's what my website says but my index.php file says -

 

define('TEXT_MAIN', 'Browse our online store and either order online or download our fax order form');

define('TABLE_HEADING_NEW_PRODUCTS', 'Gourmet Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

When i save and upload it doesn't change

Link to comment
Share on other sites

define('TEXT_GREETING_PERSONAL',

define('TEXT_GREETING_PERSONAL_RELOGON',

define('TEXT_GREETING_GUEST',

 

in the same file.

 

i don't even have

 

 

in my catalog/includes/languages/English/index.php any more! Anyone know what's happened?

Link to comment
Share on other sites

that cant be!

is you language folder English of english?

 

What does your catalog / includes / configure.php say for

 

define('HTTP_SERVER', 'http://');

 

Nic

 

define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers

 

Straight out of my configure.php file

Link to comment
Share on other sites

should be

define('HTTP_SERVER', 'http://www.noahskitchen.com.au/catalog');

 

I have not changed it?!?! Gremlins?

 

Fimble, you're a legend, thank you :lol:

Link to comment
Share on other sites

Changed it like you said and getting this

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'noa33852'@'localhost' (using password: NO) in /home/noa33852/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

catalog/includes/functions/database.php line 19 reads

 

$$link = mysql_connect($server, $username, $password);

 

Sorry to bother you again mate!

Link to comment
Share on other sites

Now i am getting

 

1146 - Table 'noa33852_oscommerce.pages' doesn't exist

 

select p.pages_id, p.sort_order, p.status, s.pages_title, s.pages_html_text from pages p LEFT JOIN pages_description s on p.pages_id = s.pages_id where p.status = 1 and s.language_id = '1' and p.page_type = 1

 

[TEP STOP]

 

WHAT IS THIS???

Link to comment
Share on other sites

Now i am getting

 

1146 - Table 'noa33852_oscommerce.pages' doesn't exist

 

select p.pages_id, p.sort_order, p.status, s.pages_title, s.pages_html_text from pages p LEFT JOIN pages_description s on p.pages_id = s.pages_id where p.status = 1 and s.language_id = '1' and p.page_type = 1

 

[TEP STOP]

 

WHAT IS THIS???

You should ftp your backup files to your site. You now have multiple problems.

 

Perhaps more explanation of what you are doing.

Link to comment
Share on other sites

Would it be a problem with my database? I accidentaly deleted it so i created a new one with the same name, dumped all of the .sql files i needed into it via phpmyadmin and tried to run it again.

 

Wayne

Link to comment
Share on other sites

Did that now getting

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'noa33852'@'localhost' (using password: NO) in /home/noa33852/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

Again!!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...