Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error with index.php ?


Knouen

Recommended Posts

Hello people.

 

I'm working on http://artmaterials.com.au and have a rather huge problem. Nothing loads at the base URL there. The index.php doesn't appear. If I go to http://www.artmaterials.com.au/online.php it works fine. As do all the pages EXCEPT index.php. I've checked the config, and the custom status is set to "false" (online). Any ideas?

 

Thanks.

 

<?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', '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><font size="4" face="Tahoma, Verdana, Arial, Helvetica, sans-serif"><strong>Welcome to Art Materials</strong></font></td><td height="47" width="283" background="images/index-bar_top.gif"></td></tr><tr><td align="center">'
. '<p><font face="Tahoma, Geneva, Arial, Helvetica, sans-serif">In the early half of 1999, the original Art Materials site was launched, and with the help of our loyal customers we managed to grow and expand in the years that followed. However, eventually your needs outgrew our original design, so we set about creating a new design to offer you the best possible service, while retaining our trademark low prices.</font></p>'
. '<p><font face="Tahoma, Geneva, Arial, Helvetica, sans-serif">The result is the current state-of-the-art fully secure online ordering system, bringing you all your favourite products, from paints (acrylic, oil, watercolour and more) through to brushes, manikins, easels, palettes, and many more artists’ materials.</font></p><p><font face="Tahoma, Geneva, Arial, Helvetica, sans-serif">Of course all of these fine art products carry the labels of the best - Winsor & Newton, Faber-Castell, Conte, Atelier, Rembrandt, Schmincke and Art Spectrum to name just a few.</font></p><p><font face="Tahoma, Geneva, Arial, Helvetica, sans-serif">Art Materials operates out of a well established art supplies store in Mornington, Victoria. Our years of experience in a vast range of products and mediums will ensure that you find the products and information that you need. </font></p>'
. '<p align="center"><br><br><font size="3" face="Tahoma, Geneva, Arial, Helvetica, sans-serif"><strong>Contact Details</strong> </font></p><p align="center"><font face="Tahoma, Geneva, Arial, Helvetica, sans-serif">Art Materials Pty. Ltd.</font></p><p align="center"><font face="Tahoma, Geneva, Arial, Helvetica, sans-serif">ACN: 088 005 047<br>ABN: 93 088 005 047 <br><br>21/ 1140 Nepean Hwy Mornington VIC 3931<br><br><br>Phone +61 3 5975 7343<br>Fax +61 3 5977 2717<br>Email <a href="mailto:[email protected]">[email protected]</a></font><br></p>'

// Just add spaces here until a full image shows.  one x <br> per line
. '<br><br>'
. '</td><td background="images/index-bar_mid.jpg"> </td></tr><tr><td> </td><td height="47" background="images/index-bar_bottom.gif"> </td></tr></table>');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
 define('HEADING_TITLE', 'Let\'s See What We Have Here');
 define('TABLE_HEADING_IMAGE', '');
 define('TABLE_HEADING_MODEL', 'Model');
 define('TABLE_HEADING_PRODUCTS', 'Product Name');
 define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
 define('TABLE_HEADING_QUANTITY', 'Quantity');
 define('TABLE_HEADING_PRICE', 'Price');
 define('TABLE_HEADING_WEIGHT', 'Weight');
 define('TABLE_HEADING_BUY_NOW', 'Buy Now');
 define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
 define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
 define('TEXT_SHOW', '<b>Show:</b>');
 define('TEXT_BUY', 'Buy 1 \'');
 define('TEXT_NOW', '\' now');
 define('TEXT_ALL_CATEGORIES', 'All Categories');
 define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
 define('HEADING_TITLE', 'www.artmaterials.com.au'); //What\'s New Here?
} elseif ($category_depth == 'nested') {
 define('HEADING_TITLE', 'Categories');
}
define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('PAGE_HEADING_CATEGORIES_PRODUCTS', 'Categories/Products');
define('PAGE_HEADING_CATEGORIES_PRODUCTS_MANUFACTURER', 'Products');
?>

Link to comment
Share on other sites

<?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', '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><font size="4" face="Tahoma, Verdana, Arial, Helvetica, sans-serif"><strong>Welcome to Art Materials</strong></font></td><td height="47" width="283" background="images/index-bar_top.gif"></td></tr><tr><td align="center">'
. '<p><font face="Tahoma, Geneva, Arial, Helvetica, sans-serif">In the early half of 1999, the original Art Materials site was launched, and with the help of our loyal customers we managed to grow and expand in the years that followed. However, eventually your needs outgrew our original design, so we set about creating a new design to offer you the best possible service, while retaining our trademark low prices.</font></p>'
. '<p><font face="Tahoma, Geneva, Arial, Helvetica, sans-serif">The result is the current state-of-the-art fully secure online ordering system, bringing you all your favourite products, from paints (acrylic, oil, watercolour and more) through to brushes, manikins, easels, palettes, and many more artists? materials.</font></p><p><font face="Tahoma, Geneva, Arial, Helvetica, sans-serif">Of course all of these fine art products carry the labels of the best - Winsor & Newton, Faber-Castell, Conte, Atelier, Rembrandt, Schmincke and Art Spectrum to name just a few.</font></p><p><font face="Tahoma, Geneva, Arial, Helvetica, sans-serif">Art Materials operates out of a well established art supplies store in Mornington, Victoria. Our years of experience in a vast range of products and mediums will ensure that you find the products and information that you need. </font></p>'
. '<p align="center"><br><br><font size="3" face="Tahoma, Geneva, Arial, Helvetica, sans-serif"><strong>Contact Details</strong> </font></p><p align="center"><font face="Tahoma, Geneva, Arial, Helvetica, sans-serif">Art Materials Pty. Ltd.</font></p><p align="center"><font face="Tahoma, Geneva, Arial, Helvetica, sans-serif">ACN: 088 005 047<br>ABN: 93 088 005 047 <br><br>21/ 1140 Nepean Hwy Mornington VIC 3931<br><br><br>Phone +61 3 5975 7343<br>Fax +61 3 5977 2717<br>Email <a href="mailto:[email protected]">[email protected]</a></font><br></p>'

// Just add spaces here until a full image shows. ?one x <br> per line
. '<br><br>'
. '</td><td background="images/index-bar_mid.jpg"> </td></tr><tr><td> </td><td height="47" background="images/index-bar_bottom.gif"> </td></tr></table>');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
?define('HEADING_TITLE', 'Let\'s See What We Have Here');
?define('TABLE_HEADING_IMAGE', '');
?define('TABLE_HEADING_MODEL', 'Model');
?define('TABLE_HEADING_PRODUCTS', 'Product Name');
?define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
?define('TABLE_HEADING_QUANTITY', 'Quantity');
?define('TABLE_HEADING_PRICE', 'Price');
?define('TABLE_HEADING_WEIGHT', 'Weight');
?define('TABLE_HEADING_BUY_NOW', 'Buy Now');
?define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
?define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
?define('TEXT_SHOW', '<b>Show:</b>');
?define('TEXT_BUY', 'Buy 1 \'');
?define('TEXT_NOW', '\' now');
?define('TEXT_ALL_CATEGORIES', 'All Categories');
?define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
?define('HEADING_TITLE', 'www.artmaterials.com.au'); //What\'s New Here?
} elseif ($category_depth == 'nested') {
?define('HEADING_TITLE', 'Categories');
}
define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('PAGE_HEADING_CATEGORIES_PRODUCTS', 'Categories/Products');
define('PAGE_HEADING_CATEGORIES_PRODUCTS_MANUFACTURER', 'Products');
?>

Is that actually the correct content for the base URL index.php file? http://artmaterials.com.au/index.php ?

 

It's not supposed to be just a bunch of php/mysql calling this stuff from elsewhere?

Link to comment
Share on other sites

Ok, I uploaded the newest version of the index.php file, and it has some changes, but it's working. Now I just need to tweak it so it works. I have no idea how the content of that first file got replaced with crap.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...