Tuesday, March 6, 2018

Dreamweaver fatal error XML parsing

Step 1: Close DW, Navigate to C:\User\uruser\AppData\Roaming\Adobe\Dreamweaver CS5\en_US\Configureation\Workspace\ and delete the specific xml file

Re-open DW. DW should auto-create your Workspace layout XML file again. See if it works fine.

PROCEED TO STEP 2 ONLY IF STEP 1 DOESN'T SOLVE THE ISSUE

Step 2: Navigate to C:\Users\useruser\AppData\Roaming\Adobe\Dreamweaver CS5\en-US\Configuration and delete the entire 'CONFIGURATION' folder. Re-open DW. DW should auto-create your configuration folder based on predefined layouts and config options. This will definitely fix your issue.

 Reason for this issue: This issue would have been caused due to a malformed workspace layout configuration. That may happen due to customizations you may have done to the layout/ improper file permissions/ improper shutdown on Windows.

NOTE: Reference link is https://forums.adobe.com/thread/996876

Sunday, March 4, 2018

Remove White space in Dreamweaver

Isn’t it insanely annoying some times when you open a CSS File or a HTML File only to find Dreamweaver has added loads of blank lines, if your CSS is more white space than code then running this script will be very helpful.
I’ve used a tonne of CSS Compressors to fix Dreamweavers fail of blank lines in the past, but most of them do not support CSS 3, and the ones that do – seemingly do not support the transition effect.  This however, works fine with PHP, HTML and CSS (self tested).  So no more tears for those added line breaks in your PHP or CSS, just run this fix!
Open the file in Adobe Dreamweaver, press CTRL+F to load the Find & Replace dialog box (or Edit > Find and Replace).
Do the search on the source code view.
Check the box “Use regular expression” and un-check any other boxes.
Find: [\r\n]{2,}
Replace: \n
The hit “replace all”
It may take a while so fit back and wait whilst your CSS / HTML or PHP Document is flushed of all those annoying line breaks!
NOTE:  This Article is taken from http://www.itsadam.co.uk/dreamweaver-fix-removing-extra-line-breaks-in-css-html-php/

How to backup and download Database using PHP

< ?php $mysqlUserName = 'databaseusername' ; $mysqlPassword = 'databasepassword' ; $mysqlHostNa...