Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unusual problem when trying to modify the Welcome page


DebysSite

Recommended Posts

:'(

Hi, I am trying to change the text on the Welcome page and I am leaving the changed text within the "text marks" but am still getting an error no matter what I do. I have even just tried chaning one letter of the default text but I continue to get the error

 

Parse error: parse error, unexpected ')' in /mnt/w0500/d10/s14/b024a7ff/www/teststore/catalog/includes/languages/english/index.php on line 13

 

 

I am using a "test store" that I created so that I would not mess up the work that I have done on my original store. I do not understand why this is happening. I have modified a lot of different things today similar to this such as the Privacy notice, shipping and returns, conditions of use all without any problems but I can not seem to change one little letter on this file without getting an error.

 

I can recopy and paste the original code back into the file and the store will load up but once I try to change anything in there I get the parse error.

 

Do anyone have any idea what is going on?

 

I would greatly appreciate any help on this.

:'(

 

Deby

Link to comment
Share on other sites

:'(

Hi, I am trying to change the text on the Welcome page and I am leaving the changed text within the "text marks" but am still getting an error no matter what I do. I have even just tried chaning one letter of the default text but I continue to get the error

 

Parse error: parse error, unexpected ')' in /mnt/w0500/d10/s14/b024a7ff/www/teststore/catalog/includes/languages/english/index.php on line 13

I am using a "test store" that I created so that I would not mess up the work that I have done on my original store. I do not understand why this is happening. I have modified a lot of different things today similar to this such as the Privacy notice, shipping and returns, conditions of use all without any problems but I can not seem to change one little letter on this file without getting an error.

 

I can recopy and paste the original code back into the file and the store will load up but once I try to change anything in there I get the parse error.

 

Do anyone have any idea what is going on?

 

I would greatly appreciate any help on this.

:'(

 

Deby

 

I think you have had no replies because of this comment ...

 

 

I am leaving the changed text within the "text marks" but am still getting an error no matter what I do. I have even just tried chaning one letter of the default text but I continue to get the error

 

Which I think is impossible.

 

The crucial aspect is ..

 

define('TEXT_MAIN', 'WHAT I PUT HERE IS WHAT WILL BE SEEN');

 

or ....

 

define('TEXT_MAIN', '

WHAT I PUT HERE IS WHAT WILL BE SEEN

');

 

Miss any part of the red bits and you have an error.

 

I recommend .. upload a fresh index.php and do it again!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...