Zend Server 4.0.6 + Framework 1.9 and PDO_MYSQL on Mac OS X always defaults to /temp/mysql.sock
I always get an error like the one below when I first run Zend Server with a Zend Framework 1.9 app.
Fatal error: Uncaught exception ‘Zend_Db_Adapter_Exception’
with message ‘SQLSTATE[HY000] [2002] Can’t connect to local
MySQL server through socket ‘/tmp/mysql.sock’
Of course, recompiling PHP and so on might fix it, but I found, for time’s sake, it’s simpler to just to issue the command from the terminal. (You’ll need to be admin or know an admin’s password).
sudo ln -s /usr/local/zend/mysql/tmp/mysql.sock /tmp/mysql.sock
If you’re fed up of running this command every time you log in, just download Lingon and create a task that runs automatically on boot or login.
Safari 4 and Hotmail Problem – Can’t Open Mail
Although you can log in to Hotmail with Safari 4, you may find that you can’t actually read messages: They won’t open when you click on them.
If this is the case, there is a simple solution.
- Restart Safari to clear your hotmail session.
- Open Safari >> Preferences menu
- Click on Advanced
- Enable the “Develop” menu by clicking the check box and close the settings box.
- Select Develop >> User Agent >> Opera 9.63 Mac
- Browse to hotmail.com or whatever you use.
You should now be able to access Hotmail Normally.
>> Remember to change your User Agent Back to Safari when you leave Hotmail if you are a fan of Browser statistics.
Apple Software Bugs Rise to New Heights : OS X iCal Truncating days off the end of month.
I always thought that February was the shortest month of the year.
After all, ever since I could speak I’ve known the poem:
Thirty days has September, April, June and November.
All the rest have thirty one, except February,
which has 28 days clear and 29 days in a leap year.
If only Apple knew it, because apparently they think that January 2009 had only 24 days!
This is OS X Leopard iCal, the one which dispensed with the the side drawer in favour of a crappy pop-up box for editing calendar entries.
Here Apple are trying to work their way into the enterprise as a viable Outlook alternative with better Exchange support for Mail.app etc. but I’m sorry, if this is the best they can do, I’m sticking with Outlook/Entourage.
Is there anyone else out there who’s found that their months have been truncated with the last week missing in Leopard’s joke of a calendar application?
Now I’m sorry, but this kind of quality beggars belief! Apple, WTF are you playing at? GET YOUR HOUSE IN ORDER.
Mac OS X 10.5.6 Update Goes Smoothly
The Register (http://www.theregister.co.uk) and other sites such as Macfixit, Mac in touch and others are showing a number of problems.
I’d like to report updating five systems without problem:
- Mac Mini (Intel 1.83GHz Core 2 Duo) – Mac OS 10.5 Server – 10 client edition
- Server version of Mac OS X
- External Firewire storage
- USB Memory Card Reader
Combo Update without issue. ~ 10 minutes - iMac 24″ (Intel 2.4GHz Core 2 Duo)
- Vista under Boot Camp
- Various large video and graphical editing packages.
- MS Office
- Firewire 800 RAID storage
- USB Card Reader
- Firewire Scanner
- Graphical Pen Tablet
Software Update (Delta) without issue. ~ 5 minutes - 12″ Powerbook (PPC 1.5GHz)
- MS Office
Software Update (Delta) without issue. ~ 15 minutes - Power Mac G4 Cube (PPC 1.4GHz)
- MS Office
- Zend Studio for Eclipse
- Entropy PHP on Apache Package
- Scanner
- Printer
- Graphical Tablet
Combo Update without issue. ~ 15 minutes - iMac 15″ (PPC 700MHz, dome shaped effort)
- MS Office
Combo Update without issue. ~25 minutes
Tech Tip: WordPress 2.5 comments awaiting approval don’t appear in admin panel
If you find that comments awaiting moderation are not showing up in the admin panel of WordPress 2.5.x then you need the following fix to be applied to your WordPress database.
Use PHPMyAdmin or another too to connect to your WordPress database and issue the following SQL command:
create index comment_date_gmt on wp_comments(comment_date_gmt);
You should find that comments now display correctly in the admin panel.
Recent Comments