Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

index.php error


apk

Recommended Posts

I managed to install the software.

 

I then went to install the index.php file through the path that it specified on the front page.

 

I edited it and then tryed to open the main page.

 

All i got was a blank screen. When i click view source i get:

 

<
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>

 

I am confused as i only changed:

 

<?php
/*
 $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

define('TEXT_MAIN', '<b>Welcome to iNeoPC.com; Lowest Prices, Latest Technology</b>, <i>If you have any further questions you can contact us at [email protected]</i>.<br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td><td class="main" valign="top"><b>Error Messages</b><br><br>If there are any e........

 

The address for the site is: www.ineopc.com.

 

If someone could take a look or help me i would appreciate it.

 

Thanks

 

Piers

Link to comment
Share on other sites

How are you editing your files? If you are using the online filemanger in the admin then STOP!! This screws up your files. You need to edit them locally then ftp them back to your server. The first thing you need to do is ftp the original index.php file back up to your store.

 

 

Also remember you have two index.php files ( well four really including the admin) You need to make sure you upload your file to your includes/languages/english/index.php location and not your

 

/index.php location.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...