New Release: phpSmug 2.1

Time for a relatively major update that primarily fixes uploading and caching.

SmugMug have enforced the use of upload.smugmug.com for all uploads. All earlier releases of phpSmug uploaded to api.smugmug.com, and whilst this worked, apparently SmugMug were having problems with people using this endpoint for uploads, so they've now forced people to use the correct url :-) (Ticket #5).

Continue Reading »

New Release: phpSmug 2.0.2

Just a small minor update to phpSmug that resolves the over zealous clearCache() (Ticket #3) and some code tidying to get phpSmug a bit closer to being E_STRICT "compliant" (Ticket #2). Sadly we're still tied by PEAR for full compliance, bit for the moment all the code I have control over works with E_STRICT.

As usual, it's available for download from the download page.

clearCache() is Over Zealous

I've just found another bug (#3 logged) in phpSmug that you should be aware of. The clearCache() function is over zealous when using the filesystem as the cache location. The function deletes ALL files in the specified directory, not just it's own.

This isn't a problem if you've specified a unique directory for caching, but if you're using a shared caching directory, like you may do if including phpSmug in an application, then all the cache files are removed.

Continue Reading »

I'm in the process of creating a project using my phpSmug class and I've discovered I'm not quite 100% PHP5 E_STRICT compliant in two locations in the way I instantiate new PEAR objects:

105         $this->req = new HTTP_Request();
[...]
472         $upload_req = new HTTP_Request();
Continue Reading »

New Release: phpSmug 2.0.1

Thanks to MVA for pointing out a rather silly mistake I made in phpSmug 2.0 - I wasn't passing the error code correctly to Exception() on line 350 (Ticket #1).

As this involves something quite crucial, I've released a minor update to rectify this. This is now available for download now.




  

phpSmug Users

If you're using phpSmug and wish to let the world know, drop me a line and I'll add a link and short description here