17488 Posts in 4473 Topics by 1978 members
|Go to End|
18 July 2007 at 8:23pm Last edited: 18 July 2007 8:24pm
I just found a problem when uploading an image through an image field.
- Added an image-field to my article type (for thumbnail use)
- The field shows up correctly in the backend
- When uploading an image from my local hard-drive , it will upload the file correctly , but the iFrame will not redirect correctly (page not found error in IE , in FireFox it will just be blank).
- After refreshing the page , everything works perfectly.
24 July 2007 at 12:43am Last edited: 24 July 2007 12:46am
I found another little bug in the backend which has to do with the Image CMS Field.
Replace or add an existing image through the CMS interface, pick "with one from the file store" but don't choose anything in the dropdown (just leave "(choose)") .. press "attach image" or "replace" and you'll get :
Fatal error: Call to undefined method stdClass::write() in /var/www/sites/www.lemon8.nl/htdocs/test6/sapphire/core/model/Image.php on line 401
23 October 2008 at 12:57pm Last edited: 23 October 2008 12:57pm
Did you manage to find a solution for this issue?
I'm frustrated right now, as it worked perfectly on my test server (a copy of my live server).
But now I have deployed the webste it's not working anymore.
I hope someone can help with this
24 October 2008 at 1:20am
The problem was basically a permission restriction.
All images uploaded through the ecommerce modules get resized, thus they need to be put in the _resampled folder.
Since in my case the _resampled folder had (CHMOD 775). Appearantly that wasn't enough and I couldn't change it.
So I created a new folder in the Uploads root and called it _resampled2 (with CHMOD 777)
Then I deleted the original _resampled folder
And then re-named my _resampled2 to _resampled
Now it's working perfectly
|Go to Top|