Working on a site which asks users to enter a “place name, area or postcode” to search by, niggly problem where searching for postcode “OX2” for example, not only returned properties in OX2, but also in OX29. Continue reading “Using RegEx To Determine If Search Query Is A Postcode/Partial Postcode”
Setting MySQL User Passwords and Permissions Via Command Line
When setting up a database for a new cloud server we were told it couldn’t be accessed by Navicat etc, so we were lumped with phpMyAdmin, and that we couldn’t have seperate users, everything had to be in root. Continue reading “Setting MySQL User Passwords and Permissions Via Command Line”
Friendly url’s giving a 404 error even though mod_rewrite is installed
When transferring a ModX site across to a newly setup cloud server I could only see the home page. After running through the ModX setup process again to get the manager’s file paths aligned correctly I checked through all the possible causes of this problem in the System Settings. Still no joy, all i got was a “File not found”. Continue reading “Friendly url’s giving a 404 error even though mod_rewrite is installed”
JQuery IE6 fix for CSS Dropdown Menu
As usual IE6 causing me problems, the lovely CSS controlled dropdown navigation on the latest site i’m working on is fine in all browsers except IE6. Continue reading “JQuery IE6 fix for CSS Dropdown Menu”