Image cannot be displayed because it contains errors

23 04 2008
The graphic designer at the designing phase of an image used Photoshop and save images in a CMYK (Cyan, Magenta, Yellow, Black) format rather than RGB (Red, Green, Blue). This causes this error when try to access an image through any of the browser.

  • Open the image on Photoshop
  • Select the option “Image” from tool bar
  • Go to the option first option “Mode” (on Adobe Photoshop CS3 Extended)
  • Change the option to “RGB Color” from “CMYK Color”
  • Save the image

Courtesy : Site Graphics and Multimedia Design





change mysql password

9 04 2008
  • Click Start from the toolbar
  • Click “Run”
  • Type “cmd” and press “Enter”
  • Browse to your xampp directory
  • Change the directory to xampp\mysql\bin. (Ex: I have installed it on my E:\ so browse to the directory E:\xampp\mysql\bin)
  • Type “mysqladmin -u root password NEWPASSWORD”

Your password for the mysql will be changed.
change mysql password to null

  • Click Start from the toolbar
  • Click “Run”
  • Type “cmd” and press “Enter”
  • Browse to your xampp directory
  • Change the directory to xampp\mysql\bin. (Ex: I have installed it on my E:\ so browse to the directory E:\xampp\mysql\bin)
  • Type “mysql -u root -p PASSWORD”. The prompt will change to mysql>
  • Type “use mysql”. “The database will be changed to mysql”
  • Type “update user set password=PASSWORD(“”") where User=’root’;
  • Type “flush privileges;”
  • Type “quit”

Your password for the mysql will be set to null.