Forum Moderators: mack

Message Too Old, No Replies

Page Doesn't Appear Until Refreshed

Home page on php site does not appear until browser refreshed

         

inMargate

3:57 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?

justgowithit

3:42 pm on Jul 18, 2007 (gmt 0)

10+ Year Member



Sounds like there may be a session or cookie-based conditional that has a logical error.

When you first visit the site (when you have a blank page) view the source code. Is there any code there at all or is it a white page?