Forum Moderators: coopster

Message Too Old, No Replies

Content Will Not Display Until Page Refreshed

         

inMargate

3:59 pm on Jul 17, 2007 (gmt 0)

10+ Year Member



This is my first post, so please be gentle :-)
I have a web site in php that is (trying to be) a local directory.
The first and second pages (index.php and index2.php) do not appear when going to the web site unless you hit the refresh button.

The problem occurs with all I know who have visited the page.

The problem "disappears" if you visit the site and return in the same browser session -- presumably because it is now in the cache.

My first foray into php was to update and expand a local directory I had made originally coded in html. I purchased the php "site" and modified it extensively, learning a very little bit along the way about PHP and MySQL and Apache server.

I have submitted the issue to the ISP and to the program writer, each of whom points the finger at each other, and no solution.

I have searched the forums to no avail -- I found one post in WirdPress.org that is unanswered, and another post in Joomla which was ansered with several suggestions to edit the .htaccess file, none of which worked.

I have cleared my browser many times, but I doubt that is the problem (or else why would everyone who visits have the problem).

Could someone please help me?

henry0

4:50 pm on Jul 17, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld!
You could try a few things

Via .htaccess
DirectoryIndex index.php

Redirect from index.html to index php(not a good solution, prety much a NONO!)

Verify that index.php exist in the httpd.conf (apache config) in the "DirectoryIndex"

something like:
DirectoryIndex index.php index.html index.htm index.html.var

if you do not manage the server ask the admin to look at that config.