Tag Archives: php
wp-content in Code is a Tell for Common WordPress Coding Mistakes
Regularly while reviewing themes and plugins, I’ll see URLs or paths that include ‘wp-content’. This is a often a hint of a WordPress coding mistake.
Consider this simple example:
<link rel=”stylesheet” href=”http://example.com/wp-content/themes/default/style-ie.css” type=”text/css” media=”screen” />
If as part of a migration or server … Continue reading
WordPress.com’s Job System – Cron for PHP in Distributed Environment
Colleague Demitrious Kelly (meech, Apokalyptik) earlier this month open sourced the (Unix process) jobs system he (primarily) has been developing for WordPress.com. Not that I really understand it, but “jobs” is described as
A fast, distributed, horizontally scalable system built upon … Continue reading
Learning by doing something else
There is a small project that I’m working on with a friend, and since for years I’ve wanted to try Python…
I find two of the greatest assistants in learning and developing expertise in something are:
Helping someone else (teaching).
Using something else … Continue reading
Mac, WordPress: “Error establishing a database connection”
If you get “Error establishing a database connection” when trying to set up WordPress.org on your Mac, are sure that the database name (DB_NAME), username (DB_USER) and password (DB_PASSWORD) are correct, the solution is very likely that you need to … Continue reading
Congratulations to the Drupal 6 team!
Drupal 6.0 was released yesterday. DaveO of Raincity Studio writes, “I think these changes (while admittedly lacking in really exciting talking points for the non-geeks) reflect an increased focus on usability and offer ways to do more with less.”
Congratulations to … Continue reading
I Want To Be PHP Dangerous
Although, I’m surrounded by PHP masters, and PHP programming isn’t in my job description, I want to be at least “PHP dangerous”.
PHP Fatal error: Maximum execution time of infinity exceeded!
PHP Fatal error: Maximum execution time of 0 seconds exceeded