Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Line 19 of index.php


Guest

Recommended Posts

haha,

 

I'm so confused. I'm not the biggest PHP nerd out there, but I tried to edit the /languages/english/index.php

 

I had the code look like this:

 

define('TEXT_MAIN', 'BLA BLA BLA THIS IS A TEST');

 

Now when I tried to load up the page it did

 

"Parse error: parse error in /home/lanxtr/public_html/catalog/includes/languages/english/index.php on line 19"

 

I didnt BACKUP index.php so now it isnt working correctly. It isnt making any sense to me, can someone help me out? Why would it do something like that.

Link to comment
Share on other sites

Q: Why would it do something like that?

A: Because "close doesn't count" in ANY type of programming language.

 

 

Post what you changed for this line of code only:

 

define('TEXT_MAIN', 'BLA BLA BLA THIS IS A TEST');

 

I guess you'll know what to do first next time before you make any changes to the files.

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

I think I got it figured out. For some reason it screwed up, but I just erased it all, and did a new define. Worked fine this time. :)

 

Is there anyway to have images show for certain categories and not others?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...