Error all ubercart imagecache presets
| Project: | Ubercart |
| Version: | 5.x-1.0-rc5 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
The product image that was showing up on the final checkout for the cart was too large so I tried to go into imagecache to alter the preset for the "cart" preset. However when I did that I got this error message:
warning: rmdir(C:\Documents and Settings\Aaron\My Documents\websites\buddyhawkins-photo\sites\default\files\imagecache\cart) [function.rmdir]: Permission denied in C:\Documents and Settings\Aaron\My Documents\websites\buddyhawkins-photo\sites\all\modules\imagecache\imagecache.module on line 680.
Then when I returned to the cart to see what it looked like I found this error:
* warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in C:\Documents and Settings\Aaron\My Documents\websites\buddyhawkins-photo\sites\all\modules\imageapi\imageapi_gd.module on line 130.
* warning: imagecopyresampled(): supplied argument is not a valid Image resource in C:\Documents and Settings\Aaron\My Documents\websites\buddyhawkins-photo\sites\all\modules\imageapi\imageapi_gd.module on line 63.
* recoverable fatal error: Object of class stdClass could not be converted to string in C:\Documents and Settings\Aaron\My Documents\websites\buddyhawkins-photo\includes\bootstrap.inc on line 667.
* warning: preg_match() expects parameter 2 to be string, object given in C:\Documents and Settings\Aaron\My Documents\websites\buddyhawkins-photo\includes\bootstrap.inc on line 670.
* warning: preg_match() expects parameter 2 to be string, array given in C:\Documents and Settings\Aaron\My Documents\websites\buddyhawkins-photo\includes\bootstrap.inc on line 670.

#1
I checked the imagecache folder to look at what the cart folder has in it, and it appears it is not resizing the images at all.
#2
I just now created a completely new installation and then tried to edit the imagecache "product" preset and received a similar error:
warning: rmdir(C:\Documents and Settings\Aaron Hawkins\My Documents\websites\buddyhawkins-photo\sites\default\files\imagecache\product) [function.rmdir]: Permission denied in C:\Documents and Settings\Aaron Hawkins\My Documents\websites\buddyhawkins-photo\sites\all\modules\imagecache\imagecache.module on line 680.
also when I view the product after this change has been made the product image has disappeared. When I go back and erase the action that I added to the product preset the image on the product returns.
#3
It's my understanding that this was resolved through a thread in the Ubercart forum. If not, please re-open this.
#4
Automatically closed -- issue fixed for two weeks with no activity.