This is such a dumb error but I wanted to write it in case anybody else becomes mystified if a stable PHP application starts suddenly behaving erratically when writing to files. The cause of this weird behavior could be that your server’s hard drive has run out of free space. To check your server’s drive [...]
Install PDT Plugin in FlexBuilder 3
Installing PDT (PHP Development Tools) Plugin for FlexBuilder allows you to work with PHP projects within the FlexBuilder environment. This is useful if you are using AMFPHP, WebORB for PHP or some other PHP-based remote server. There are similar instructions posted elsewhere, however I found that they have become outdated. Because FlexBuilder 3 is based [...]
Installing LAMP stack on OSX 10.6 Snow Leopard
Updated instructions are available for installing LAMP on OSX 10.7 Lion. I’m setting up a new machine and found a great tutorial written by Josh Lockhart on getting a PHP web development environment up and running on Snow Leopard. This goes through almost everything to be up and running for a typical LAMP stack with [...]
PHP Fatal error: Allowed memory exhausted
One of our sync servers started throwing a “Fatal error: Allowed memory size of 16777216 bytes exhausted” when dealing with some large data sets. We easily fixed it by bumping up the php.ini memory_limit setting. It seems that the default 16Mb was a pretty low setting and it was probably inevitable that it would need [...]
Flex Remoting and WebORB Mysterious Error Messages
If you work with Flex remoting and WebORB, you are probably familiar with the following errors: NetConnection.Call.Failed: HTTP: Status 500 Channel Disconnected You may have tried directing your browser to weborb.php only to get this message: “WebORB v3.5.0 Fatal error: Call to a member function getServiceURI()” The getServiceURI message is actually a red herring error [...]