Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

33 Excellent

About EntitySelf

  • Rank
    Jr. Member

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Interests
    Autism, Neuroscience, Cognitive Psychology, Software Development and funny Cat pictures.

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I am a very happy PhpStorm user.
  2. This issue still exists in ProcessWire 3.0.85, right? When I have a 640x640 image and call maxSize(400, 250), it returns a 400x400 pixel image.
  3. Thx ryan I'd be interested in your eCommerce system Tom!
  4. I messed around with the Modules Manager recently and found that this module does not fetch a complete module list from http://modules.processwire.com/export-json/, only the first 400 entries are retrieved but there are +- 497 modules in the database. The script you are using is currently set to get maximal 100 modules. You can safely increase the limit value from 100 to 400. Any value set greater then 400 will default back to 10. In this case it is less likely a problem because someone has to have more then 100 modules installed, but you never know. $url = $this->config->moduleServiceURL . "?apikey=" . $this->config->moduleServiceKey . "&limit=100" . "&field=module_version,version,requires_versions,project_url" . "&class_name="; Documentation: http://modules.processwire.com/export-json/ (limit = 1 - 400) Hope this helps, I reported the problem to Ryan. [edit] After going over it again I found out that my previous conclusions are wrong, lol... you can actually read the complete module list in steps using pagination, something that is actually mentioned in the instructions but I didn't see (need more sleep/coffee). 2nd page: http://modules.processwire.com/export-json/page2/?apikey=<key>&limit=250&debug=1 This however is not done by this script or by Modules Manager and should be fixed to make them more reliable. I edited the top part of this post to reflect my new findings and to prevent confusion.
  5. I am confused, what did you mean with the third version and how did you name the script file? If you named if "dbtest.php" and upload it to 'mysite.com/site/' and then opened it from the address bar 'mysite.com/site/dbtest.php' you get a 404 error? [sadly]I have to go in like 10 minutes, be back +- 7 hours from now.
  6. You get a 404 when you run my script or after you changed the IP address and opened the site?
  7. Test yes, the connection settings are wrong, ask your hosting provider for the right ones.
  8. Sorry, I made an updated version for you, check my previous post. Yes, most likely the credentials, host name or port is incorrect. [edit again] You are using an IP address now, did you try using a hostname? = localhost etc, I remember that this actually does matter when connecting to a DB!
  9. Try this: Create a PHP file with this script (https://gist.github.com/chales/11359952), enter the right credentials and test it, it is likely not working but now you can be sure it is not PW. Try to find the correct settings for your database at your hostings provider FAQ. [edit]Working mysqli version for PW, place this file in /site/ and test away! <?php # Fill our vars and run on cli # $ php -f db-connect-test.php define('PROCESSWIRE', 300); class DummyConfig { private $data = []; public function __set($name, $value) { $this->data[$name] = $value; } public function __get($name) { return $this->data[$name]; } } $config = new DummyConfig(); include 'config.php'; $dbhost = $config->dbHost; $dbname = $config->dbName; $dbuser = $config->dbUser; $dbpass = $config->dbPass; $connect = mysqli_connect($dbhost, $dbuser, $dbpass) or die("Unable to Connect to '$dbhost'"); if (!$connect) { echo "Error: Unable to connect to MySQL." . PHP_EOL; echo "Debugging errno: " . mysqli_connect_errno() . PHP_EOL; echo "Debugging error: " . mysqli_connect_error() . PHP_EOL; exit; } mysqli_select_db($connect, $dbname) or die("Could not open the db '$dbname'"); $test_query = "SHOW TABLES FROM $dbname"; $result = mysqli_query($connect, $test_query); $tblCnt = 0; while($tbl = mysqli_fetch_array($result)) { $tblCnt++; echo $tbl[0]."<br />\n"; } if (!$tblCnt) { echo "There are no tables<br />\n"; } else { echo "There are $tblCnt tables<br />\n"; }
  10. What we can deduce: - It is not your site - It is not likely to be a vsync issue (can't screenshot that, I am 99% sure) - It is vertically, not horizontally (vsync issues) - I don't think it is extra HTML / CSS inserted by an extension because the way it is distorted (through the middle of a text line) - It happend after the latest Chrome update - Other browsers work fine, so its Chromes rendering - It doesn't happen for everyone (not for me at least, no hits on Google). Did you try - Turning Hardware acceleration back on - Chrome incognito mode (no extensions)
  11. or you are connecting to the wrong host, port or the login name or/and password are incorrect. https://www.godaddy.com/help/find-your-database-hostname-23889 Do change your database credentials after you found the problem!
  12. I don't have this problem, maybe something to do with hardware acceleration & video card drivers? 2016: http://www.tomshardware.co.uk/forum/id-3133977/screen-tearing-google-chrome.html https://www.reddit.com/r/pcmasterrace/comments/4azv3s/screen_tearing_in_chrome_while_browsing/
  13. Thank you, I have no experience with LessQL but it looks very useful, going to give it a try.
  • Create New...