homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

status bar is never ending!
page loading

 9:31 am on Dec 23, 2009 (gmt 0)

Hi there People of webmaster world!

I have a problem with a script that I am running on a particular page of my site, the page loads fine, all data is correct and the form submits as requested. But, the status bar never seems to reach the completly loaded data stage. The only thing is I am retrieving some data from a table using mysql_fetch_object() and not using a loop, as there is only 1 row ever to be returned. The only reason I noticed this is because the status bar seems to always say transferring data from server.

Any suggestions for this happening are welcome - as I said though, the site functions - if the user has their status bar off, they would never know!





 9:13 pm on Dec 23, 2009 (gmt 0)

Odd. Maybe try adding mysql.close(); to the end of the script? I do not think that would be the issue though, most servers are graceful to programmers who omit that, myself I even forget considering the server is so forgiving with it. Are you pulling content across multiple domains? Is Apache configured correctly? Need more info...


 3:25 am on Dec 24, 2009 (gmt 0)

1. Install Live HTTP Headers in FireFox. Open it. See what it tells you.

2. Are you using Flash anywhere? If the page cannot find the SWF, or finds the SWF and the Flash is waiting on something, it will spin forever . . .

3. Add simple echo's throughout.

echo "benchmark 1 ";

echo "benchmark 2 ";

echo "end of script ";

If you see "end of script, it's not your program.

4. Included external libraries, like Analytics or other widgets?

5. Jquery/Ajax improperly configured so it's always waiting on something that never comes?

When all else fails, make a copy, break it down to it's smallest parts, start re-adding elements until you find it.


 11:03 am on Dec 24, 2009 (gmt 0)

Thanks ChaseHX & rocknbil for your thoughts, I shall put that live http headers in and see what it returns. I have already tried the echo's but as the screen loads all content, it leads me to think that it maybe the mysql query thats not closing, i may just have to loop the contents of the db even though its only 1 row, but at least it would *sort of* close the data stream.

I'll try it now and post the results later on today.

Thanks again.



 6:05 pm on Dec 24, 2009 (gmt 0)

Well, I tried those things, and ended up finding out that its a knock on effect from another function. A quick tweak should fix it. *I hope!*

Merry Christmas everyone!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved