Closed (fixed)
Project:
ImageCache
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2007 at 21:07 UTC
Updated:
27 Jan 2007 at 19:19 UTC
I installed the latest version of Imagecache, enabled the module, and all I get are blank pages from that point on.
(re)Moving the imagecache folder from 'modules' and looking at the log shows the following three errors repeated A LOT:
The problems seem to start with the missing 3rd parameter on cache_set() and I note that:
imagecache.module:191: cache_set('imagecache:presets', serialize($presets));
and that:
cache.inc:93:function cache_set($cid, $table = 'cache', $data, $expire = CACHE_PERMANENT, $headers = NULL) {
NB: "MYPATH" and "MYDB" represent my web path and my drupal database name respectively.
Comments
Comment #1
benedett commentedI am getting similar errors with the most recent version.
* warning: Missing argument 3 for cache_set() in /homepages/32/d144802238/htdocs/worcesterindymedia/drupal/includes/cache.inc on line 93.
* user warning: Table 'db182868313.a1i2s17article_mainimage' doesn't exist query: LOCK TABLES a1i2s17article_mainimage WRITE in /homepages/32/d144802238/htdocs/worcesterindymedia/drupal/includes/database.mysql.inc on line 167.
* user warning: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ':1:{i:2;s:17:\"article_mainimage\";} SET data = '', created = 1 query: UPDATE a:1:{i:2;s:17:\"article_mainimage\";} SET data = '', created = 1169673491, expire = 0, headers = '' WHERE cid = 'imagecache:presets' in /homepages/32/d144802238/htdocs/worcesterindymedia/drupal/includes/database.mysql.inc on line 167.
Comment #2
dopry commentedI made some miscommits last night. They should be corrected in the lastest CVS version for 5.x. Please update from DRUPAL-5 branch in CVS. Clear your cache and try again.
Comment #3
benedett commentedThanks. The Jan 25 version no longer breaks the site.