Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2.3.4.1 Index throwing 500 server error


winkcarau

Recommended Posts

I'm hosting on Bluehost, and I installed the github community version.

All pages work except index.php... admin works, login.php works, even if i click on the default items it shows me the correct detail page, so am I missing something?

the index.php file on the community version after install:

<?php
/*
  $Id$

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

  Copyright (c) 2014 osCommerce

  Released under the GNU General Public License
*/

  require('includes/application.php');

  $page_contents = 'index.php';

  require('templates/main_page.php');
?>

Both require files don't exist in the directories, did I install it correctly? Am i suppose to have my own template?

Error log:

[03-Nov-2017 22:13:03 UTC] PHP Warning:  require(includes/application.php): failed to open stream: No such file or directory in /xxxxx/xxxxx/public_html/index.php on line 13

Link to comment
Share on other sites

You might want to take that up with Bluehost.   That is not the index.php file from the community version.  I'm not sure what that file is.  The proper index.php file can be found here...

https://github.com/gburton/Responsive-osCommerce/blob/master/index.php

Dan

 

Link to comment
Share on other sites

winkcarau: If this is a file from an oscommerce shop, then the line

require('includes/application.php');

should be

require('includes/application_top.php');

 

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

This shows the total caotics...

You didnt installed BS CE. You installed an old version of v2.4...

https://github.com/gburton/Responsive-osCommerce

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...