Jump to content

Technocrat

Members
  • Posts

    29
  • Joined

  • Last visited

Posts posted by Technocrat

  1. No I logged in as him, view source and ran it through.  So in my mind that sort of eliminates at least his user account having something strange.  Plus where he is stuck is the very first thing after making an account.  So his entire profile is blank at that point other than his name.  I have tried both session overriding and changing his password to mine and logging in.  Both results were the same.

     

    That's been a thought I have had.  But again he claims to have tried it from the library and even sent me a video himself on the page from their.  Though it is possible that his house and library are on the same ISP.  Thats why I would like him to try it on his phone with no WiFi.

     

    No .htaccess changes other than a url rewrite back to index.php

     

    Thanks again for all the ideas.  I am pretty much grasping at straws at this point.  If those couple of people weren't so upset and vocal about it I would just push them off and take the loss.

  2. It appears to be on their end, could be their internet speed and the item times out, some plugin they use in the browser or maybe an antivirus.

     

    I had the same thought.  He said he has McAfee on his PC, which I ask him to try it disabled.  He tried a fresh install of Firefox.  Also he says the problem also happens on his iPad.

     

    Just for a wild guess have them try disabling ipv6 in their network adapter, I've seen issues relating to it.

    I might suggest that as well.  I am also going to ask him to try his phone off Wifi also to see if it is his ISP

     

    when this doesn't work, it would be nice if you could get the 'view source' of the page to see if all of it is present, i.e. is the problem that the page isn't being completely sent/received or is it something that's occurring in the browser's rendering of the page.

     

    I had him already try that.  It renders to the /html and there are no errors in the console or the debug tools.  For fun I ran his profile page through W3C validator and there are some minor "errors" like using the rel attrib and such.  But nothing that I would say should be the cause of the problem.

     

    you mentioned that with javascript turned off the page would be crippled, here's a possibility. you have a race condition, that's dependent on the network used to access the site and/or the visitor's computer, having something to do with what the javascript is doing.

     

    That was my first thought.  So took the page and took out everything that wasn't absolutely needed.  Then I pulled out anything that runs onload except two things that monitor clicks on two buttons.  Which shouldn't be doing anything because he isn't able to click.

     

     

    a common occurrence, that's network speed/timing dependent, is if you are doing ajax requests that make use of session variables, and your main page is also using session variables, and/or you are dynamically producing images that are using session variables, the session data file is locked by each process/request in turn and each later request must wait until the file is release before the session_start() can open the file and return to your php script.

     

    if this is what is occurring, and you don't have a problem in your server side code (are you calculating the page generation time on the server and outputting it on the page and/or logging it?) that's causing the page to take a long time to be generated, the way to address this is to do a session_write_close() as soon as you are finished setting/changing any session variables on a page. if all you are doing is reading session variables, you can do the session_write_close() immediately after the session_start().

    That's a good thought.  I hadn't considered sessions.  They are running through memcached I think.  I need to check that.  But that could be something.

     

     

     

    I also looked through the site logs and found his entries.  Every time he goes to the page everything is either HTTP 200 or 304.  So its serving him content.

  3. Thanks for the reply.

     

     

     

     

    for one of the users where it doesn't work, hopefully on their computer when it doesn't work, is the copy/pasted html markup of the page in question, valid @ validator.w3.org ?

    I had him check with Chrome inspector and they have no errors at all in the console.  But I could have them try that.  Hopefully they are up to it.  But he tried IE, FireFox and Safari with no luck.  You would think one would render it.

     

    for the last example of a user trying this at a library, is that using a different computer, one at the library, or his same computer, but using a different network/isp?  

     

     He was not sure.  That was one my thoughts as well, but the other customers are from other parts of the US, so it seems unlikely but I guess its possible.

     

    is there anything in common between the users in what is being displayed on the page, such as special html characters (<, >, ', or ") as part of the information being output on the page from their profile?

     

    Nope.

     

    if they disable javascrpt in their browser and visit the page, does the problem still occur?

     

    Good idea and I will have them try that.  Though it will cripple the page, but it would be good to know if that's part of the issue.

     

    could you have any cookies set due to your development cycle/access to the site that the users don't and it could be causing your attempt at reproducing this to be different from the users?

     

    I had that thought, so I tried a fresh VM, started up a fresh IE11 on Win10 which is what he is using and right to the site as him and logged in as him.  Worked fine.

     

    are you using any cookies as part of the process, that if they do/don't exist or with outdated/changed-format/values over various revisions of the software, could affect how the page operates?

     

    No

  4. I am at a loss and need any advice I can get on what to try next.

     

    I have a site where users can edit their profiles. We have about 10K customers. Of those customers about 20 have this issue and I can't figure it out. When they go to the page it acts like it doesn't finish loading. One symptom is when you hover over links the pointer will not change to hand.

     

    For me I can login with their account and try different machines and browsers and it works perfectly. I can use Chrome and change the speed and view type still works. I have never actually reproduced the issue.

     

    They can hit CTRL+F5, clear cache, try different browsers, different systems, nothing works for them. Today I worked with one person and removed everything from loading on that page except for exactly what was needed. No Google Analytics, no FB pixel, stripped all the JS, and nothing helped. He even tried at his local library and it still happened.

     

    I am totally out of ideas. Anyone have any suggestions?

     

    Thanks


  5. $sqlCommand = "SELECT tag FROM tags";
    $query2 = mysqli_query($myConnection, $sqlCommand) or die (mysqli_error());
    $tagoptions="";
    $postag = explode(',', str_replace(' ', '', $postag));
    while ($row = mysqli_fetch_array($query2)) {
    $tag = $row["tag"];
    if (in_array($tag, $postag)) {
    $checked = "checked";
    }
    else {
    $checked = "";
    }
    $tagoptions.="<input type='checkbox' name='checkboxname[]' value='$tag' $checked>".$tag.'<br>';
    }

  6. $sqlCommand = "SELECT tag FROM tags";
    $query2 = mysqli_query($myConnection, $sqlCommand) or die (mysqli_error());
    $tagoptions="";
    while ($row = mysqli_fetch_array($query2)) {
    $tag = $row["tag"];
    if (in_array($tag, $postag)) {
    $checked = "checked";
    }
    else {
    $checked = "";
    }
    $tagoptions.="<input type='checkbox' name='checkboxname[]' value='$tag' $checked>".$tag.'<br>';
    }
  7. I dont think your question is clear.  You are already out putting to HTML.  Do you want to create an entire page around it?  like tv.html?

     

    If so you can do one of two things. 

     

    First is to create a php file with this code inserted into the area you wanted.  Then using mod_rewrite, rewrite your tv.html to your tv.php file.

     

    Second you can export all this data to a file your create using like file_put_content

  8. Having used probably every Windows based solution out there I have my opinions, however you know what they say about opinions, everyone has one :tease-03: You should try a few and see what you like best

     

    Here is some reference materials:

    http://en.wikipedia.org/wiki/List_of_PHP_editors

    http://free-php-editor.com/

     

    Unfortuantely using your requirements, and those listed there are only a few that fit your needs. I would narrow it to:

    http://www.eclipse.org/pdt/ (site seems to be down at the moment)

    http://aptana.com/

    http://netbeans.org/

    In that order. I would try them out and see what you like.

     

    If you are running an open source project or you want to send some money I would strongly recommend phpStorm as that is what I use now after switching from Zend Studio

    http://www.jetbrains.com/phpstorm/buy/index.jsp

     

    Good luck!

  9. You have the default character set, set?

     

    Are you sure $db is active and connected?

     

    Do you have errors and warnings on? It might be surpessing something, like its disabled or something?

     

    If you do a dump or a string compare are they both exactly equal?

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.