This library aims to provide a stable and reliable class for integration into other applications, avoiding backwards-incompatible changes, but that cannot always be guaranteed.
This file lists all major changes and additions to the PHP API for convenience. "API" means the PHP class only; i.e., not the Mollom REST API.
2013-11-09: Any 4xx request error response code is now returned to application.
4xx errors now; primarily:
400 Bad Request (→ Mollom::REQUEST_ERROR)401 Unauthorized (→ Mollom::AUTH_ERROR)404 Not FoundMollom::query() previously
4xx error (except for 404).Mollom::REQUEST_ERROR (400) or Mollom::NETWORK_ERROR (900).404 Not Found error may be returned by the Site API of the REST Testing API, when trying to access a site resource that has vanished.2013-04-23: Visibility of Mollom::query() changed from protected to public.
Mollom::query() method (rare).2012-12-14: 400 Bad (Client) Request error handling.
Mollom::handleRequest() throws a new MollomBadRequestException in case the local system time diverges too much from UTC.Mollom::query() returns a new possible Mollom::REQUEST_ERROR code (400) in case the local system time diverges too much from UTC.Mollom::TIME_OFFSET_MAX.The server time of this site is incorrect. The time of the operating system is not synchronized with the Coordinated Universal Time (UTC), which prevents a successful authentication with Mollom. The maximum allowed offset is @minutes minutes. Please consult your hosting provider or server operator to correct the server time.