Showing posts from October, 2012

XML Parsing Error

Sometimes you get the following error message on your website: XML Parsing Error: not well-formed Location: Line Number 17, Column 24: <img src="img/img.gif"alt=""/> "XML Parsing Error" usually occurs when something is trying to read the XML, not when it is being generated. Also, "not well-formed" usually refers to errors in the structure of the document, such as a missing end-tag, not the characters it contains. Also, the error occur due to using of Unicode Character ”( RIGHT DOUBLE QUOTATION MARK ) instead of " (Unicode Character 'QUOTATION MARK) in your codes. Sometimes, this error comes due to the plugin which is used for the RSS feed or the code issue related to RSS feed. Your feed is not well formed according to the XML specification . All feeds must be well-formed XML.  There are several basic approaches to solving this: escaping problematic characters ( < becomes &lt;

spamd failed

If you get the following error: -------- spamd failed @ Sat Jul 25 16:39:14 2015. A restart was attempted automagically. Service Check Method:  [check command] Cmd Service Check Raw Output: Spamd is not running -------- Fix: You can follow the below mentioned steps to avoid that: ------- 1. Deleted the old file '/var/run/chkservd/spamd'. 2. Restarted  chkservd service. 3. Run the script /scripts/fixspamassassinfailedupdate. ------- Monitor the logs /var/log/chkservd.log . grep for "Restarting spamd". If you cannot find any such details that means the spamd is running fine now without sending any failure notices.

How to upgrade/downgrade MySQL version in cPanel server

You can easily change the major version of MySQL running on your server through WHM, keeping in mind that the actual version will be dependent on what cPanel has released in their repository. WHM >> Software >> MySQL Upgrade >> Select between "MySQL 5.1" or "MySQL 5.5" To change the MySQL version below 5.1, edit the file /var/cpanel/cpanel.config and look for this line: mysql-version=5.1 Then change the version number to the major version that you want to downgrade to. For instance, 4.0, 4.1 or 5.0. Then save the file and run the following script: # /scripts/mysqlup --force Now re-run apache build (easyapache) script so it can build php-mysql connector: # /scripts/easyapache  The method described would be performed at one's own risk. A manual downgrade is not recommended and can incur significant risk when attempted on an existing system. A full backup of the MySQL data directory is advised, and for a proper downgrade one sh