1 0 Archive | PHP RSS feed for this section
post icon

Strict Notice: Only variables should be passed by reference in ..lib/Zend/Db/Select.php on line 216

01. Sep, 2011

Having problems with your (older) Magento install on your (newer) PHP?

Some versions of Magento have been using the ‘current‘ function incorrectly.

If you experience the following error:

Strict Notice: Only variables should be passed by reference in ..lib/Zend/Db/Select.php on line 216

A simpler fix may just be to change two files:

File One: lib/Zend/Db/Select.php
Find:
$correlationName = current(array_keys($this->_parts[self::FROM]));

Replace With:
$arrayKeys = array_keys($this->_parts[self::FROM]);
$correlationName = current($arrayKeys);

File Two: Toolbar.php
Find:
return current(array_keys($this->_availableMode));

Replace With:
$arrayKeys = array_keys($this->_availableMode);
return current($arrayKeys);

Read full story »


Written By Tim Groeneveld.
post icon

Holiday mode started early?

22. Jan, 2011

Looking at my emails, I just realised that I forgot to pay for Drupal Downunder. -.-”

Read full story »


Written By Tim Groeneveld.
post icon

PHP Fog gets $1.8m in funds

11. Jan, 2011

PHP is one of the most popular web development language in the world, with millions of active developers and tens of millions of PHP-based sites already in deployment.

A new company on the PHP scene has been created to service the hundreds of thousands of application developers who work with PHP on a daily basis.

PHP Fog is the only company offering deployment and infinite scaling of PHP applications in the cloud with little to know effort. The company offers one-click deployments for many popular PHP apps and frameworks including WordPress, Drupal, Kohana, Zend, and SugarCRM.

The company is currently in private beta but expects to launch publicly in the first half of 2011.

The technology around PHP Fog allows you to create a new site in less then one minute of your time. You do not even need to know how to code (although, it really, really is beneficial if you can :) ).

Deploying changes to your site is as easy as git push, No longer do you need to work with FTP or any other 1990′s technology. PHP Fog has been built to work around the developer – which is a good thing, because it means that your developers are no longer system administrators – especially in smaller shops.

With PHP Fog, all of your servers (cache, web/http, database servers and load balancers) are on separate boxes

It will be interesting to see how this technology evolves. A similar provider for Rails, Heroku, was not too long ago acquired by Salesforce for $212 million in cash. What company will buy PHP Fog and for how much?

Yahoo are big users of PHP, so they could be in line. Facebook seem to have gone their own way with Hiphop. Interesting times ahead! I can’t wait to see what times I can get out of PHP Fog for page loads!

Read full story »


Written By Tim Groeneveld.
post icon

A new PHP Asterisk Gateway Interface

02. Jan, 2011

In my random searches of the Internet, I have found on Github a new PHP AGI framework. Incase all of that sounded like gibberish: AGI == Asterisk Gateway Interface. Asterisk == VoIP Server. VoIP Server == “Press 1. for”, PHP Framework == “if ($key->pressed == “1″) {” :)

This framework (nicely named just PAGI) is intended to simply making agi applications. All you need to do to get started is extend the PAGIApplication class and your signal handler, error handler, init, and shutdown methods are automatically setup and called.

Something really interesting about PAGI is that it uses log4php which is from the Apache Software Foundation. As the name suggests, it is a logging framework for PHP which supports writing logs in a variety of different ways. Very awesome, and it seems like using PAGI might be a good way to also get my feet wet with log4php.

Read full story »


Written By Tim Groeneveld.
post icon

Virtuozzo module for WHMCS

02. Dec, 2009

I have written a module for WHMCS for Virtuozzo. If you have any Virtuozzo servers that you would love to have integrated with WHMCS, read the instructions I have posted on the WHMCS forum and download the module.

Read full story »


Written By Tim Groeneveld.