Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Index.php Code


hspruhan

Recommended Posts

Posted

Im not really a website person but my brother set up a website for my boyfriend which is www.wrestlingreplicaworld.co.uk and as you can see lol I am having a bit of trouble. My boyfriend wanted me to change some writing in the index page (hes dyslexic) so I went to define languages and index.php and made changes to the writing when I clicked save it wouldnt load on my comp so i hit refresh when back into it and the box was completely empty so i put the writing back in and its coming up on top of the website rather than in it and i am missing the code that was in the index.php box.

 

So basically what code is it I am missing I would really appreciate it if someone could reply with what goes in there with a space for me to put my writing in. My boyfriend is freakin out coz hes got a sale soon lol oops and iv buggered it. :(

Posted

Im not really a website person but my brother set up a website for my boyfriend which is www.wrestlingreplicaworld.co.uk and as you can see lol I am having a bit of trouble. My boyfriend wanted me to change some writing in the index page (hes dyslexic) so I went to define languages and index.php and made changes to the writing when I clicked save it wouldnt load on my comp so i hit refresh when back into it and the box was completely empty so i put the writing back in and its coming up on top of the website rather than in it and i am missing the code that was in the index.php box.

 

So basically what code is it I am missing I would really appreciate it if someone could reply with what goes in there with a space for me to put my writing in. My boyfriend is freakin out coz hes got a sale soon lol oops and iv buggered it. :(

 

I've looked about and all I can find is codes but it says something to do with clicking file manager and going to that index.php but I haven't changed anything in there its just define languages and index.php I have an empty box when I put the writing I want it goes above the website rather than in it.

 

Untitled-1.jpg

 

 

:( I wish I was a web wizz lol.

Posted

Heidi,

 

Using File Manager (Mangler) and define languages WILL corrupt your files and also present a security problem as hackers commonly use those files to enter your website.

 

If you want to change the contents of the index.php you have to do it from the language file located at [catalog]/includes/languages/index.php and look for define ( TEXT_MAIN...

 

 

Chris

Posted

Both file_manager.php and define_language.php are known security hazards and must be removed immediately. For all that, they don't even do a good job at what they're supposed to do! You'll have to learn to edit PHP files directly (on the server or downloaded to a PC). ViM and Notepad++ are the two most recommended editors (for PC use), and FileZilla is the most recommended FTP client. If it's just minor changes to make, your hosting service control panel's "file manager" and editor may be adequate.

Archived

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

×
×
  • Create New...