CUpdater now compatibles with Joomla 3

Well, as it usually happens something that needs 10mins of work turns out to be a whole day worth of work... CUpdater was originally developed for Joomla 2.5 so the update to 3.0 shouldn't have been that big of deal. Unfortunately a small change in the Joomla API can lead to serious issues. This is going to get a little technical, so if you are not in the mood you can just go to the download section :)

On Joomla 3 the findUpdate function was updated to use the JHttp get method instead of fopen. Which is of course great, however when you have an update url that is not returning what we expect things get nasty. Whenever I was trying to check for updates I was getting "No HTTP response received.". So I turned xdebug and started going through the code line for line. First were the joomla update urls -> they all were resolved just fine. Then came a compojoom update url. And voila I got the error. Copy pasting the url in the browser was returning the correct xml format expected from Joomla . So after watching the screen and scratching my head I decided to debug further. It turns out that the JHttpTransportCurl class cannot handle https urls (or at least it cannot handle them on my server). So the getResponse method in the class throws an UnexpectedValueException because curl couldn't fetch the content.Now if I'm in the backend and I manually click on the find updates button and I get an ugly error message on the screen I might get confused & annoyed, but I've caused it by clicking on the button & I'm the only one who sees it, so it is not that big of a deal. But if you have a plugin that randomly checks for updates when normal users are on the site things can confusing.

Continue reading
Rate this blog entry:
35475 Hits

Hotspots 3.2.2 released

I'm happy to announce that Hotspots 3.2.2 has just been released. This is a cumulative stability update fixing both bugs on joomla 3.0 and on joomla 2.5

Here is the changelog:

+ adding a copy link button
~ category-shadow is now required in the category settings
+ adding metadata information on map view# map was not refreshing the locations properly when the search tab was selected# fixed layout issues on joomla 3.0
# date was not respecting the format setting on the maps view# fixed a bug with the jomsocial plugin
# some hotspots were not shown on the map and in the menu (bug introduced with the new sorting)
# the check all button in backend was not functioning properly on j3.0# search by street/country/town was not working - thanks to Grazing Cat .Inc for providing us with a fix
# sorting hotspots by name ASC in the menu
# single hotspots was not rendered when ccomment was selected in the options, but it was not actually installed on the user's site
# sql error when hotspots order is set to created time~ the install script not allows the installation only on joomla >= 2.5.6
# userhotspots was not working on joomla 3.0
# the map was missing from "submit-hotspots" view in the frontend on joomla3# readmore was showing in the menu even though "Marker detailpage" was set to no
~ making the links to k2 a little better
~ running the intro text through the code of the SEF plugin
# the search - hotspots plugin was not properly working on joomla 2.5 and 3.0

Continue reading
Rate this blog entry:
6696 Hits