Browsers: Firefox 5.x, Firefox 6.x, Chrome 12, IE9
OS: Arch Linux, Windows 7
Server: Ubuntu Server 10.10, amazon EC2 micro instance, apache 2, PHP 5.3
Couch version: 1.1, upgraded from 1.01, free edition
Issue:
The preview lightbox launched with the "View Image" button launches, but is empty, in Firefox & Chrome; in IE9, the lightbox does not open at all and I'm taken directly to the image URL. Upon clicking in Firefox, firebug reports the error "Undefined can't be converted to object", mootools.js, line 279 (pretty useless, I know). This feature used to work for me in 1.01.
Furthermore thumbnail generation is not working at all. I'm not sure how it's supposed to behave since I hadn't tried the thumbnail feature until now, but thumbnails do not show up in the admin area before or after selecting an image and saving the page. Calling them with <cms:show image_thumb /> produces an empty string, although calling the original image seems to work fine. Here's my template configuration for the page:
I thought this might be related to requiring GD to process images, but I verified that I have it installed and enabled (using phpinfo()). So unless you use ImageMagick, that shouldn't be the issue (and if you do, let me know and I'll check whether it's installed). I then considered the possibility that it was a folder permission issue, but even setting www-data:www-data (the user/group for apache2 on ubuntu server) and 777 on couch/uploads/ and its subfolders didn't change anything (are the generated thumbs and cropped versions stored elsewhere? I don't know).
I'm not sure what the mootools bug is or if/how it's related (could be failing to find the image it's looking for?). I did notice the mootools version is a little out of date (1.2.0 vs. 1.2.5 current 1.2.x release or 1.3.2 most up-to-date release on the website). I know from experience mootools tends to break its API with updates though, so I didn't update it myself, not knowing what dependencies couch might have.
Anyway hopefully that's enough info for you to get an idea of what's going on. Let me know if you need anything. The site isn't complete so I'd rather not share a link publicly, but I can get you one via PM and/or set you up with a couch user or (limited) ssh account if you need (I know it's a free version so I'm not entitled to support or anything, but I'm happy to help you track down the issue).
Oh, also, in an unrelated bug, putting a richtext field inside of a group results in the rich text editor being partially cut off in the admin area (it doesn't fit inside the field group wrapper). This is a minor annoyance that can be circumvented by just removing the richtext field from the group, but I did notice it and figured you might care to take a look.
OS: Arch Linux, Windows 7
Server: Ubuntu Server 10.10, amazon EC2 micro instance, apache 2, PHP 5.3
Couch version: 1.1, upgraded from 1.01, free edition
Issue:
The preview lightbox launched with the "View Image" button launches, but is empty, in Firefox & Chrome; in IE9, the lightbox does not open at all and I'm taken directly to the image URL. Upon clicking in Firefox, firebug reports the error "Undefined can't be converted to object", mootools.js, line 279 (pretty useless, I know). This feature used to work for me in 1.01.
Furthermore thumbnail generation is not working at all. I'm not sure how it's supposed to behave since I hadn't tried the thumbnail feature until now, but thumbnails do not show up in the admin area before or after selecting an image and saving the page. Calling them with <cms:show image_thumb /> produces an empty string, although calling the original image seems to work fine. Here's my template configuration for the page:
- Code: Select all
<cms:template clonable="1" title="Our Photos">
<cms:editable name="image" label="Image" type="group" />
<cms:editable
name="image_full"
label="Upload Image"
type='image'
group='image'
width="800"
height="600"
crop="1"
/>
<cms:editable
name="image_thumb"
label="Image Thumbnail"
type='thumbnail'
group='image'
width="120"
height="90"
crop="1"
/>
<cms:editable
name="image_caption"
label="Caption"
type="text"
/>
</cms:template>
I thought this might be related to requiring GD to process images, but I verified that I have it installed and enabled (using phpinfo()). So unless you use ImageMagick, that shouldn't be the issue (and if you do, let me know and I'll check whether it's installed). I then considered the possibility that it was a folder permission issue, but even setting www-data:www-data (the user/group for apache2 on ubuntu server) and 777 on couch/uploads/ and its subfolders didn't change anything (are the generated thumbs and cropped versions stored elsewhere? I don't know).
I'm not sure what the mootools bug is or if/how it's related (could be failing to find the image it's looking for?). I did notice the mootools version is a little out of date (1.2.0 vs. 1.2.5 current 1.2.x release or 1.3.2 most up-to-date release on the website). I know from experience mootools tends to break its API with updates though, so I didn't update it myself, not knowing what dependencies couch might have.
Anyway hopefully that's enough info for you to get an idea of what's going on. Let me know if you need anything. The site isn't complete so I'd rather not share a link publicly, but I can get you one via PM and/or set you up with a couch user or (limited) ssh account if you need (I know it's a free version so I'm not entitled to support or anything, but I'm happy to help you track down the issue).
Oh, also, in an unrelated bug, putting a richtext field inside of a group results in the rich text editor being partially cut off in the admin area (it doesn't fit inside the field group wrapper). This is a minor annoyance that can be circumvented by just removing the richtext field from the group, but I did notice it and figured you might care to take a look.