SunQuest
           PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old July 21st, 2002, 10:23 AM
EvilivE EvilivE is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Milwaukee, WI USA
Posts: 291 EvilivE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to EvilivE
funky html ?

This is wierd. When I load my home page into a browser for the _FIRST_ time a particular piece of it will not load. If I refresh iot loads fine. I can leave the site and come back to it and it loads fine, I can surf the site and go back to it and it loads fine.

This just started happening recently. So what changed recently, I thought I was able to correllate it to some banners I added but I have removed them and it still happens.

Any suggestions?

The page is www.icommish.com/football

Thanks in advance.

Reply With Quote
  #2  
Old July 21st, 2002, 10:26 AM
EvilivE EvilivE is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Milwaukee, WI USA
Posts: 291 EvilivE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to EvilivE
RE: funky html ?

Oh yeah, and it is not just any browser that this happens with. It is across the board, IE, NN, Mozilla, Galeon, Konqueror, Opera.

Reply With Quote
  #3  
Old July 21st, 2002, 12:55 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: funky html ?

it's really hard to tell what you're talking about.. but on my first load i got a javascripting error, which disappeared on re-load. maybe that'll help you locate the problem

Reply With Quote
  #4  
Old July 21st, 2002, 01:03 PM
EvilivE EvilivE is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Milwaukee, WI USA
Posts: 291 EvilivE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to EvilivE
RE: funky html ?

Thats what I mean and it is driving me _crazy_ ! It makes no sense to me. How can the script error _only_ happen on an initial load? I mean if the error is there it will always be there.

Its mad I tell you, going koko for coco puffs, silly rabbit trix are for kids.

Reply With Quote
  #5  
Old July 23rd, 2002, 03:23 AM
siteworkspro.com siteworkspro.com is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Sydney, Australia
Posts: 92 siteworkspro.com User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to siteworkspro.com Send a message via AIM to siteworkspro.com
RE: funky html ?

id say their their server has got a issue, not your computer, theirs nothing that you can really do about it

Reply With Quote
  #6  
Old July 23rd, 2002, 04:59 AM
Taoism Taoism is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Winnipeg, MB, Canada
Posts: 81 Taoism User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 sec
Reputation Power: 2
RE: funky html ?

EvilivE,

You could try loading the page, then view source, copy the source as loaded and save it. Then reload the page so the error is gone, and view/save that source as well... then run a diff program on them to see what changed...

Cheers,
Keith.

Reply With Quote
  #7  
Old July 23rd, 2002, 11:52 AM
greggory greggory is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Reims, France
Posts: 82 greggory User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: funky html ?

Isn't it a problem with cookies/dynamic js ??

Reply With Quote
  #8  
Old July 23rd, 2002, 03:40 PM
ResNet9 ResNet9 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 101 ResNet9 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to ResNet9
RE: funky html ?

I am having the same problem with a form that calculates a student's budget and expenses. You have load it twice to get the correct totals.

Reply With Quote
  #9  
Old July 24th, 2002, 08:32 AM
CmdrDats CmdrDats is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: <br><img src='http://www.dats.co.za/icon.gif'>
Posts: 269 CmdrDats User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to CmdrDats Send a message via AIM to CmdrDats Send a message via Yahoo to CmdrDats
RE: funky html ?

Heh, i had exactly the same problem yesterday.. incredible how subtle it is..

You're probably using the transient php session id's, right? well, it modifies links (even in your javascript) from <a href=link.php> to <a href="link.php?phpsessionid=(whatever)">.. note the added quotes.. this mucks with javascript if you hav a line like :

str = "<a href=link.php>"

because the browser will receive it like :

str = "<a href="link.php?phpsessionid=">";

ah! that is annoying.. simply change it to :

str = '<a href=link.php>';

and it should work fine. ;) at least, that was my problem yesterday.. jDiff plugin for jEdit simply rules.

Reply With Quote
  #10  
Old July 24th, 2002, 08:55 AM
EvilivE EvilivE is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Milwaukee, WI USA
Posts: 291 EvilivE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to EvilivE
RE: funky html ?

Problem Solved!

I just got done working on this. Funny, CmddrDats that is exactly what the problem was. I solved it a little differently, though.

The purpose for me using the session was this:
The site has a "standard" navigation bar and an "extended" navigation bar. If a user is not logged in, they only see the "standard" bar, but if they are logged in then they see the "standard" and "extended" bars.

At the top of the file I did session_start() and if $_SESSION['user'] was set I would show them the "extended" bar.

I fixed it by checking $_SESSION['user'] and if it wasn't set I simply session_destroy()

That drived me crazy for 4 days!

Reply With Quote
  #11  
Old July 24th, 2002, 09:00 AM
CmdrDats CmdrDats is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: <br><img src='http://www.dats.co.za/icon.gif'>
Posts: 269 CmdrDats User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to CmdrDats Send a message via AIM to CmdrDats Send a message via Yahoo to CmdrDats
RE: funky html ?

hehe, interesting way of tackling it

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > funky html ?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway