Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

index.php doesn't load


jmatz

Recommended Posts

Posted

Well, this site was working until recently, but I can't find anything in particular that could have caused it to mess up.

 

 

What happens is that nothing loads. The index.htm file at the root level of the site redirects correctly to the index.php file within the catalog directory, but then the index.php file doesn't load. No other .php files will load either. But a test file "test.htm" loads fine.

 

 

Anyone ever have this happen?

 

 

http://www.dynamicflowers.com/catalog/index.php

 

 

Thanks in advance for any insight into this ridiculous problem.

 

 

JM

Posted

are you certain php is up and running? try phpinfo with a test php page and check for php redirection for instance setup an index.php in the domain root like this:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title><?php redirect('http://www.dynamicflowers.com/catalog/index.php); exit(); ?></title>

</head>

<body>

 

</body>

</html>

 

(remove the old index.htm) see if the address changes.

Posted

Hmm... I did put a "phpinfo.php" file at the same level as the index.php file and it shows up fine, with all the information that I would expect.

 

Will try the test php page you suggest to see if it helps.

 

JM

 

are you certain php is up and running? try phpinfo with a test php page and check for php redirection for instance setup an index.php in the domain root like this:

(remove the old index.htm) see if the address changes.

Posted

I meant the phpinfo function in a file. Just create a file with just the following content

<?php phpinfo() ?>

 

see if it works

Posted

well that was for your reference to see if php works. Better take out the file from your server or have it on a password protected page.

 

Next step will be to check your configure.php files of your catalog if everything in there makes sense. And do not post the dbase lines (username or passwords).

Posted

Thanks very much. I'll post results if I figure it out.

 

JM

 

well that was for your reference to see if php works. Better take out the file from your server or have it on a password protected page.

 

Next step will be to check your configure.php files of your catalog if everything in there makes sense. And do not post the dbase lines (username or passwords).

Archived

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

×
×
  • Create New...