Latest Blog Posts - About Drupal development
- Startup and Kano modelEvery entrepreneur starting his own business, startup company, a simple web service is faced with the project planning. Under project planning I mean which features should be implemented per your priority - the task is harder as you already announced...
- The selected file /tmp/file*** could not be uploaded, because the destination * is not properly configuredThe selected file /tmp/file*** could not be uploaded, because the destination * is not properly configured. Main problem is that on shared or VPS hosting those directories: files/ tmp/ do not have proper owner and chmod settings: chown apache:apache...
- Drupal bulk delete nodes per filteron Jul 3, 2012 in Drupal bulk delete FAQ<?php error_reporting(E_ALL); require_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); $nodetype = "nodetype"; $uid = 1468; $limit = 500; $results = db_query("SELECT nid FROM {node} WHERE type='%s' AND uid=%d LIMIT %d", $n...
- Remove ^M characters at end of lines in vimRemove ^M characters at end of lines in vim To remove the ^M characters at the end of all lines in vim, use: :%s/^V^M//g The ^v is a CONTROL-V character and ^m is a CONTROL-M. When you type this, it will look like: :%s/^M//g...
- Fast and easy MySQL backup and recovery with shell commandQuick backup and restore of the MySQL database using mysqldump and gzip utility: Backup: mysqldump -u <user> -p<password> <database_name> | gzip -9 > database_dump.sql.gz Recovery: gunzip database_dump.sql.gz | mysql -u <us...
- Error accessing home page of phpMyAdmin 2.8.1on Apr 26, 2012 in FAQ phpMyAdmin errorError accessing home page of phpMyAdmin 2.8.1 Warning: session_write_close() [function.session-write-close]: open(C:\DOCUME~1\user\LOCALS~1\Temp\php\session\sess_orpi7es4n3h62bk9f0sul5raj5, O_RDWR) failed: No such file or directory (2) in D:\wwwroot...
- How to print array in Drupal using drupal_set_messageProblem: How to print array in Drupal using drupal_set_message Solution: drupal_set_message('<pre>'. print_r($array_or_object, TRUE) .'</pre>');...
- How to remove all emails from inboxon Apr 14, 2012 in FAQ Mail InboxProblem Problem occurs when inbox is overloaded. I can not login into webmail to delete all messages. Solution 1. ssh to the host 2. cd /var/qmail/mailnames/domain.com/webmaster/Maildir/cur 3. remove all files by command: find . -name '*' | xargs sud...
- CentOS - list all userscat /etc/password shows you all existing users.
- How to create new SVN repository1. open /etc/httpd/conf.d/subversion.conf 2. add appropriate section for new repository: <Location /svn-repository> DAV svn SVNPath /srv/svn/repository AuthType Basic AuthName "repository Repository" AuthzSVNAccessFile /srv/sv...
Loading Comments...
Comments
{ds_PageTotalItemCount} commentcomments
{pvComments::date}
{pvComments::comment}

