Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP works on my site


smw

Recommended Posts

Posted

Howdy.

 

I'm installing osCommerce on a site for a user. PHP works all over the site. Unfortunately, however, it does not work in the catalog/ directory - if I go, for instance, to catalog/install/ I'll get:

 

<?php

/*

$Id: index.php,v 1.1 2002/01/02 13:02:38 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application.php');

 

$page_file = 'index.php';

$page_title = 'Welcome';

$page_contents = 'index.php';

 

require('templates/main_page.php');

?>

 

 

In other words, it's just displaying the pages, not parsing them. It's a FreeBSD box running Apache 2.x and FreeBSD 4.x.

 

Any ideas? I've made sure the register_global in the php.ini is set to on, and the permissions are set across the board in catalog/ to 777.

Posted

I have to admit that I'm surprised no one else has seen this problem.

 

Any suggestions at all before I give a different suite a shot? This is a time sensitive project, and I can't wrack up too many hours trying to diagnose a PHP problem that only seems to exist for this product.

Archived

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

×
×
  • Create New...