Jump to content

Technocrat

Members
  • Posts

    29
  • Joined

  • Last visited

Everything 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. 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. 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 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. 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. 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. 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. 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. Nope. 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. 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. 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. Its probably that your html file isnt being parsed as a php. You either need to use mod_rewrite to rewrite your .html to a .php page, or have your webserver parse html pages as php pages.
  7. $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>'; }
  8. Is it an array? You could use in_array or a loop
  9. It's all the `newsletter { '( `newsletter_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(100) CHARACTER SET utf8 NOT NULL, `email` varchar(120) CHARACTER SET utf8 NOT NULL, PRIMARY KEY (`newsletter_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; } I am not sure what you are doing there but that's not right
  10. It's probably $postag that the issue, $string is always going to be set to the same thing. What does $postag = when it doesn't work?
  11. What is already suggested is probably the best options. Though you could use some of the ideas I posted here: http://forums.phpfreaks.com/topic/274233-moving-files-with-php/
  12. 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
  13. Having used probably every Windows based solution out there I have my opinions, however you know what they say about opinions, everyone has one 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!
  14. 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?
  15. It looks like you are using $game and not $safe in your query
  16. If you get it working, post back, I would be interested to see what you did.
  17. The only way you can do this is with IPN as Denno said. Might want to try: http://www.micahcarrick.com/paypal-ipn-with-php.html And his lib https://github.com/Quixotix/PHP-PayPal-IPN
  18. You could do worker threads maybe: http://www.php.net/manual/en/book.pthreads.php Or Tasks https://github.com/jamm/Tasks Just have it spin a new one for each file and sleep until complete
  19. Yeah you code doesnt have delimiters, it should be something like preg_match('/<\?(xml .*)\?$/',$Atmp1[0],$Atmp2) I would also use: http://www.rexv.org/ As its EXTREMELY helpful when testing
  20. My suggestion would be to set it up to use like gmail See: http://stackoverflow.com/questions/4948687/xampp-sendmail-using-gmail-account That's the easiest option. I would also use a library like swiftmailer as its much easier to use http://swiftmailer.org/ Or like Jessica suggested phpMailer
  21. WIth out seeing the code its had to tell but your regex has to be inside of delimiters, / # are two common ones. For example '/\.mp3/' Might want to look at: http://www.php.net/manual/en/reference.pcre.pattern.syntax.php And http://www.php.net/manual/en/book.pcre.php
  22. Ugh, yeah that's not worth it. I am only fetching a few fields from a few tables so paying that wouldn't be cost prohibitive. Thanks though.
  23. Thanks for assistance! If you do find something else please let me know
  24. Ok I got it work, sorta. I followed: http://www.feub.net/2010/11/ingredients-php-db2-and-unixodbc/ And got the error: Found that I had to add /opt/ibm/iSeriesAccess/lib64/ to the LD_LIBRARY_PATH Then it worked. Though I would pefer to use PDO at least this is a start
×
×
  • 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.