Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

hmmm...another newbie question


chaos122967

Recommended Posts

I have so far figured out every problem I have had through reading in the forum. Everyone here has been very helpful and friendly, especially Linda. Here is my dumb newbie question, where the fictional page stuff was I now have TEXT_MAIN. Please explain to a confused designer how to fix this.

www.pdhcrafts.com

If at first you do not succeed, skydiving is not for you!

Link to comment
Share on other sites

There once was a definition ...

 

define('TEXT_MAIN','blah, blah, blah');

And you somehow killed it ... :shock:

 

It was located in your /includes/languages/english/default.php file.

 

When removing a definition, don't really remove it just change it to:

 

define('TEXT_MAIN','');

 

Unless you remove all references to it in the code. :D

Link to comment
Share on other sites

Flick of the mouse, eh?

 

Usually that is a common reason ... or the mysterious case of the extra keystroke ...

 

Accidentally enter an extra < in a file of 1200+ lines of code that shows up in the top of your screen ... :shock:

 

That's a lovely one to find in php/html mixed file.

 

Search #538 finally found that one ... what can I say ... I count when bored ... 8)

Link to comment
Share on other sites

I have the same problem, rooted around in

 

/includes/languages/english/default.php file.

 

but can't see where to put back line of code

 

define('TEXT_MAIN','');

 

Where in the list should this go, what line?

 

Thanks

Link to comment
Share on other sites

The definition belongs anywhere in /includes/languages/english/default.php

 

Or any of the other languages ...

 

If you want it back where it was, try line 13 :shock:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...