Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

My Code Jumped From 43 To Over 300


Grodt

Recommended Posts

Posted

I was working on my index.php page and it had about 43 lines of code. Then I changed these two lines of code:

 

 

Line 2: define('HEADING_TITLE', 'What\'s New Here?');

 

Line 1: define('HEADING_TITLE', 'Let\'s See What We Have Here');

 

 

Then I uploaded the file and next thing I know my index.php went from 43 lines of code to over 300 lines of code.

 

The code is still working, however after a closer look it ended up that I can see all the HTML and CSS code in the index.php file.

 

Now is there any way to get back to the 43 line of code I had earlier?

Posted

Your catalog/includes/languages/english/index.php has about 43 lines of code, your catalog/index.php file has about 300 lines of code. Probably you mixed them up. You can download the original osc package and use those files to correct your code.

Posted
Your catalog/includes/languages/english/index.php has about 43 lines of code, your catalog/index.php file has about 300 lines of code. Probably you mixed them up. You can download the original osc package and use those files to correct your code.

 

Thanks that was it.

Archived

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

×
×
  • Create New...