Posted by justinjohnson on Nov 11th, 2008
This is for the error: Fatal error: Cannot use string offset as an array in /includes/phoogle.php on line 137 , which just started popping up today.
I haven't had time to update the source files yet, but Michael Clark sent along the following fix that seems to work. I'll post an updated php file ASAP
PHP:
-
it's a minor patch -
-
add:
-
if(!trim($data)) return;
-
as the new first line of the characterData function
Posted by justinjohnson on Nov 7th, 2008
Over the past few months I've had numerous people ask me about advertising on this blog and on Phoogle's Homepage, so I've bitten the bullet and opened up a couple of ad slots both on the blog and on Phoogle's homepage.
Ad slots are $10.00 a month each and are handled through BuySellAds.com, just click on the gray banner that says: "Advertise Here"
For those of you who want to see some stats, check out the below screenshots from Google Analytics
Google Analytics for Phoogle's Homepage (Oct 1 2008 - Nov 1 2008)

Google Analytics for WebDevKungFu (Oct 1 2008 - Nov 1 2008)
Posted by justinjohnson on Oct 16th, 2008
The guys over at Nettuts have written an article called: This is How You Use the Google Maps API and at the bottom of that post the not only give a shout out, but a link to Phoogle

Thanks guys for the shoutout!
Posted by justinjohnson on May 4th, 2008
Several of you had emailed me about the Sample Phoogle Maps not working on www.systemsevendesigns.com. I've went in and checked out the code and updated the sample Phoogle Maps to make them work again. Keep your eye's peeled for a major Phoogle update coming very soon. To view the samples visit: http://www.systemsevendesigns.com/phoogle
Posted by justinjohnson on Jan 5th, 2008
Phoogle has been updated to 2.03
Here's a summary of updates:
1. added the utf8_encode function based upon a suggestion from: Luis Lorenzo, which helps hen you try to add an address with special character like 'ç' or 'ñ' for example. This should keep the class from returning 'Invalid Points' on these international addresses
2. Added an SVN repository.
The above SVN repository is located at: http://sub.systemsevendesigns.com/phoogle
If you want to update or contribute to Phoogle, contact me and I'll give you a username and password to commit to the repository (no password is required to view/download the files)
Posted by justinjohnson on Jan 5th, 2008
Just a quick post to announce that there is now a subversion repository for Phoogle at:
http://sub.systemsevendesigns.com/phoogle
Posted by justinjohnson on Jun 16th, 2007
Nothing major here, just fixing the hard coded API Key bug that was causing maps not to display due to the API Key being over it's limit.
Download it at: Phoogle's Homepage
Posted by justinjohnson on Apr 4th, 2007
One of the biggest complaints I've received in the past few weeks has been lack of international support which I thought I had fixed in 2.01. Also alot of people have asked why I used Yahoo's geocoding API instead of Google's. When Phoogle Maps was first released about a year or so ago Google did not offer a geocoding API. In fact the first version used geocoder.us to get the points, then Yahoo's and now Google's.
The change to Google's Geocoding API should allow greater international support. If it doesn't let me know. Please note that I do read all emails, it's just that due to sheer volume it's hard to respond to all of them.
Thanks to Mike Wilt and several others who have submitted code to this iteration of Phoogle.
Download the file here: http://www.systemsevendesigns.com/phoogle
Posted by justinjohnson on Jan 27th, 2007
Dreamhost is a great webhost, in fact if you use the promo code:PHOOGLE at signup you can get 1 year of their level1 hosting for 44.40 (which is less than 4.00 a month). This is normally priced at 119.40!, so you save $75.00!!
Back to the topic at hand. Phoogle by default uses file_get_contents() to access the Yahoo Maps API to get Latitude and Longitude data to pass to your Google Map. Dreamhost disables file_get_contents() for security purposes. However you can get around this by using CURL
Alex Hillman emailed me to tell me that he had written a post to his blog detailing his install of Phoogle on Wordpress and how to change it to use CURL so that it will work on Dreamhost (pretty simple actually)
Check out Alex's blog post about Using Phoogle on Dreamhost
Posted by justinjohnson on Jan 27th, 2007
When I migrated from my old blog/website/webhost one thing that got lost in the shuffle was the examples for the Phoogle Mapping class.
They can be found on the main phoogle page located at http://systemsevendesigns.com/phoogle
Next to the name of each example you will see a link that says source code, which links to a text file containing php code. Obviously you'll need to change the API key to work with your API key and make sure that the path to phoogle.php is correct for your setup, but other than that you should just be able to copy and paste the examples.