I am encountering some errors when I try to use phpThumb() and configure it
to not use any cache culling.
Specifically, I see this: (trying to just paste this in SF, will probably
turn out pretty bad)
Notice: Undefined variable: DeletedKeys in
/data/oi/htdocs/finntemplates/phpThumb-1.7.8/phpthumb.class.php on line
752
Warning: Invalid argument supplied for foreach() in
/data/oi/htdocs/finntemplates/phpThumb-1.7.8/phpthumb.class.php on line
752
Notice: Undefined variable: AllFilesInCacheDirectory in
/data/oi/htdocs/finntemplates/phpThumb-1.7.8/phpthumb.class.php on line
755
**Headers already sent in file
"/data/oi/htdocs/finntemplates/phpThumb-1.7.8/phpthumb.class.php" on line
"752", dumping error message as text:**
phpThumb() v1.7.8-200709161750
Headers already sent (phpThumb.php line 446)
--
Steps to reproduce:
1. Install latest phpThumb() (1.7.8-200709161750).
2. Configure off any cache culling
Set cache_[maxage|maxsize|maxfiles] to null
3. Try to use phpThumb()
For me it works on the second try, so image is generated. However, first
request only results in error.
4. ???
5. Profit!
Nobody/Anonymous
None
None
Public
|
Date: 2008-05-22 12:50
|
|
Date: 2008-05-22 12:46
|
| Filename | Description | Download |
|---|---|---|
| phpthumb-error.png | Error message from phpThumb | Download |
| phpthumb-no-cull-error.diff | Patch to remedy this bug | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 278662: phpthumb-no-cull-error.diff | 2008-05-22 12:50 | nextline |
| File Added | 278660: phpthumb-error.png | 2008-05-22 12:33 | nextline |