phpED Debugging with SSH

Comments Off

If you are using the NuSphere PHP phpEd editor with integrated debugger, you may be running it over SSH as I am. One problem you may encounter is that during calls to DebugBreak(); (used, for example, when debugging AJAX calls), the server gets confused and tries to connect back to your local machine – presumably, this will be an epic FAIL (or you wouldn’t be port-forwarding in the first place!).

Here’s a quick fix:


$_SERVER["REMOTE_ADDR"] ='127.0.0.1';
DebugBreak();

By setting the remote address, the DebugBreak function call will then call the local machine, and appropriately have the connection port-forwarded over your SSH connection.

One additional thought … if anyone has (or can create) an updated version of the DBG bar for Chrome and/or Firefox, let me know. The ones I’ve tried don’t work with the latest version of the browsers. I’d be willing to consider financially sponsoring such a project.

Alternatives to upgrading Joomla from 1.5

Comments Off

I read with interest Jen Kramer’s article on when and how to migrate clients from Joomla! 1.5 to the next version of Joomla, due to the end of life of the product in April 2012.

Through my Joomla work, I have influence over 10,000 Joomla 1.5 sites. Of these, about 200 of those sites are direct (or nearly so) clients of mine that I’ll have to upgrade if the time comes.

Unfortunately, the migration to Joomla 1.6/1.7/2.0/2.5 is not a very compelling story. Most of these clients have sites that work today, and while they are looking for incremental improvements, they are not looking to rebuild the site – pretty much ever. They are definitely not interested in losing functionality (due to incompatible plugins) or actually paying for such an upgrade. I need help in solving this dilemma – one that lessens or eliminates the impact of migration.

More

WordPress Shortcodes come to Joomla

Comments Off

Today, I’m releasing a plugin I’ve been using on my own sites for the past 2 years or so … it takes (I means, literally, copies) the WordPress shortcode system and installs it into Joomla! This plugin brings WordPress shortcodes to Joomla. WordPress Shortcodes for Joomla. Cool, eh?

More

Joomla! Numbering Scheme … what does it mean?

Comments Off

It’s time for me to weigh in on something that’s going on in the Joomla! community.

There’s been discussion about the Joomla! version release numbering scheme, and the current thinking about how the next version is to be numbered. Below I present a case for using either 1.8 or 2.0 … either of which logically follows the current 1.7.  I present the idea that jumping directly to version 2.5 will create additional and unnecessary confusion inside and outside the Joomla! community.

I read the reasoning, I understand it, and I don’t agree with it. And here’s why.

More

AWeber DOES have an API! (kind of)

Comments Off

I’ve been working on updating all of our Joomla! and MWG components for the new year, J1.6, and MWG 3.0 – all to be released “soon”.

In doing so, I’ve had a chance to revisit many of our service providers, including AWeber (aff.).

UPDATED: 12/28 … it’s a currently a reporting interface.

More

Mnogosearch Search Engine PHP5 Class

Comments Off

I love search engines. One of my favorites is the mnogosearch engine that I’ve been using since Mark Joyner’s Aesop.com. In this article, I present a some object-oriented PHP code that can be used to access the search results.

More

Older Entries