Enabling error display in php via htaccess only

Note:- When using PHP as an Apache module, you can also change the configuration settings using directives in Apache configuration files (e.g. httpd.conf) and .htaccess files. You will need “AllowOverride Options” or “AllowOverride All” privileges to do so.

Add following values to your .htaccess

php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag log_errors on
php_value error_log /home/path/public_html/domain/PHP_errors.log


Mac Copy / Paste folders on NAS, SMB (NTFS) the operation can’t be completed because an unexpected error occurred (error code -50)

Named streams are used to store Mac OS X extended attributes and can be leveraged to avoid using AppleDoublefiles to store the data fork and the resource fork of legacy Mac files.

Mac OS X Server v10.5 and v10.6, as well as many Network Attached Storage (NAS) devices, support named streams when you connect to them via SMB.

Microsoft Windows servers with NTFS-formatted hard drives also support named streams when you connect to them via SMB; named streams are called “Alternate Data Streams” in Windows.

Mac OS X v10.5 and v10.6 clients automatically enable named streams support when they have a SMB connection to a Mac OS X Server v10.5 or v10.6-based server.

Mac OS X v10.6 clients automatically enable named streams over SMB when the NAS or Windows server claims to support it.  See below for details about how to activate Mac OS X v10.5 client support of named streams over SMB connections to a NAS or Windows server.
Continue reading…


Mac-The operation can’t be completed because an unexpected error occurred.

Sometimes mac has a problem while deleting or copying a file .If we trash finder preferences (~/Library/Preferences/com.apple.finder.plist) it fixes the things. Unfortunately Apple hides your library folder now so you need to:

  1. switch to Finder
  2. hold the “option” key on the keyboard
  3. Click on the “Go” menu
  4. Select “Library” (hidden if the option key is not down)
  5. locate the folder “Preferences”
  6. locate the file “com.apple.finder.plist”
  7. move said file to trash
  8. log out
  9. log in
  10. test to see if fixed

How to Report a Gmail Error

Like everything else on this world, even Google is not perfect. Errors, bugs and other issues affect the most famous and popular Google applications, leaving their users at loss at what to do. Well, the best thing to do is to report the error right away so that the Google Team will be able to fix it. Did you know that Gmail has got, nested among its features, a special page which lets you report errors and other issues, directly to Google Team?
Continue reading…