MainelyDesign.com Blog

Showing articles 11 - 20 (125 total)

Getting Composer to Install on Windows 8 (Wamp / PHP)

Posted on 03/17/2014 at 08:43 pm | Viewed 785 times | 0 comments

Get the Windows Installer for Composer If you are on Windows and want to install Composer, no worries, there is a quick (and easy) Windows installer for Composer . Add PHP Folder to System Path This is supposedly done by the Composer installer, but I couldn't get the darn thing running the first few tries, so I did this manually.  I added...

MySQL - Determine Duplicate Rows Based on Multiple Fields/Columns

Posted on 03/17/2014 at 11:02 am | Viewed 3,013 times | 0 comments

I've been looking for some magical mysql query code to allow me to detect duplicate records, based on multiple columns being the same MySQL Query to Detect Duplicate Rows (based on multiple fields) SELECT * FROM screwed_up_table GROUP BY field1, field2 HAVING count(*) > 1 That's it. Piece of cake. I usually use this code to get the values of...

CSS To Undo Font Family

Posted on 03/11/2014 at 10:55 pm | Viewed 950 times | 0 comments

This is a quick note about how to reset the font being applied to a particular CSS selector.  I always forget about this, so I wanted to post my answer so I'll remember it. Reset CSS Font-Family Declaration The code is very easy.  The only prerequisite is that you have defined the font-family you actually want to use at a higher level (or a...

Facebook Conversion Tracking On a Click

Posted on 02/10/2014 at 12:36 pm | Viewed 957 times | 0 comments

Be Cautious Using Conversion Tracking Scripts Supplied by Vendors We recently experienced a small challenge with the Facebook Conversion Tracking script.  We were using the standard boiler plate script as provided to developers by facebook.  What's touted as a simple method to integrate conversion tracking may not work if you actually want to...

SSH: Trouble Connecting to Web Server? Start here.

Posted on 12/31/2013 at 10:11 am | Viewed 1,933 times | 0 comments

Can't' Connect via SSH to Your Web Server?  Me too. I just spent too long troubleshooting why I couldn't connect to my web server over SSH (the standard SSH port is 22).  I tried everything I could think of.  I whitelisted my IP in ControlPanel Hulk and I allowed my IP through the ConfigServer Firewall.  Nothing worked.  Then, I tried something...

PHP Curl not Working on Windows 7 or Windows 8 (PHP 64-bit version only)

Posted on 12/18/2013 at 11:10 am | Viewed 9,790 times | 0 comments

Download the Fixed Curl Version Short Answer: you need to download and install the corrected version of libCurl for PHP to get it working on 64-bit versions of PHP.  Download from this link: http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/   Helpful Hint for those who Already Have PHP Installed Scroll ALL THE WAY...

Reordering Trees in CakePHP 1.3

Posted on 11/07/2013 at 01:39 pm | Viewed 2,085 times | 0 comments

Every time I add a new record to a tree it was added to the end of the list.  This is OK for small lists, but once you get a big list, it's impossible to find things.  It would be great if we could sort the tree list by the displayField... and you can: Reorder CakePHP Trees It's easy with the built in function (although it might take a while...

GeoTrust SSL Intermediate Certificate Bundle

Posted on 09/20/2013 at 01:27 pm | Viewed 1,793 times | 0 comments

Quick Link to GeoTrust Intermediate Certificate I'm sick of googling for this:  here is the link to the intermediate certificate bundle for GeoTrust security certificates: https://knowledge.geotrust.com/library/VERISIGN/ALL_OTHER/geotrust%20ca/QuickSSL_Premium_Intermediate_CA.pem

Turning Off Xdebug on a local web server

Posted on 08/28/2013 at 01:24 pm | Viewed 1,553 times | 0 comments

The settings listed below is what you are going to be adding to your php.ini file.  The xdebug.profiler_output_dir setting, you want to make sure that this goes to the right tmp directory on your server and xdebug.default_enable = 0 is shutting off the xdebug locally. [xdebug] xdebug.remote_enable = 0 xdebug.profiler_enable = 0...

CSS to Turn Off Min-Height

Posted on 07/09/2013 at 10:03 am | Viewed 2,054 times | 0 comments

I needed to turn off min-height in css.  I can't believe it's been this long and I've never had to do it.  In case you are wondering: How to turn off min-height in CSS min-height: inherit;

    1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9   

Meet Site Avenger - Hosted Content Management System

Powered By: Site Avenger | Site Production: Saco Design