Empty

Total: £0.00

Blog - Category: IT Infrastructure

By marksams, 06/07/2011 - 00:00

Once phpMyAdmin is installed, it's best to deny access to the /phpmyadmin path from the internet as many automated scripts will be scanning your web server for potential routes into your system. I've seen this activity hitting my servers as soon as they are publicly available.

Lock down phpMyAdmin connections to allow from 127.0.0.1 only - we will use an SSH tunnel to connect.

By marksams, 06/02/2011 - 20:03

Whilst trying to run my php scripts from the command line, I kept getting the following error:

PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0

Fortunately this is nothing to worry about and is easily solved

Tags: 

Pages

Error | marksams.com

Error

The website encountered an unexpected error. Please try again later.

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/marksams.com/htdocs/includes/common.inc:2749) in drupal_send_headers() (line 1232 of /var/www/marksams.com/htdocs/includes/bootstrap.inc).
  • PDOException: SQLSTATE[HY000]: General error: 1114 The table 'watchdog' is full: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => cron [:db_insert_placeholder_2] => %type: !message in %function (line %line of %file). [:db_insert_placeholder_3] => a:6:{s:5:"%type";s:12:"PDOException";s:8:"!message";s:342:"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'marksams.cache_rules' doesn't exist: DELETE FROM {cache_rules} WHERE (expire <> :db_condition_placeholder_0) AND (expire < :db_condition_placeholder_1) ; Array ( [:db_condition_placeholder_0] => 0 [:db_condition_placeholder_1] => 1511375160 ) ";s:9:"%function";s:17:"cache_clear_all()";s:5:"%file";s:47:"/var/www/marksams.com/htdocs/includes/cache.inc";s:5:"%line";i:167;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://solutions-architecture.com/blog/category/105 [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 54.145.117.60 [:db_insert_placeholder_9] => 1511375163 ) in dblog_watchdog() (line 160 of /var/www/marksams.com/htdocs/modules/dblog/dblog.module).