Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
2 Registered (shepherd, 1 invisible), 27 Guests and 23 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
Gizmo 11705
Rick 7567
Ian 4107
Mark S 3983
ntdoc 3114
Sirdude 2041
jgeoff 1882
David Dreezer 1759
driv 1568
AllenAyres 1530
Latest Photos
Carrie - So Very
Testing
Test Photo
4TH of July at the river!
Test shots from D300 part 3
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#213916 - 06/03/08 10:10 AM New gallery images not appearing (ImageMagick and 7.3)
Flaming Carrot Offline
stranger

Registered: 10/07/05
Posts: 20
Loc: United Kingdom
Hello,
I have installed ImageMagick on my linux server, and checked that it works OK from the terminal. I then entered the paths to mogrify and convert into the UBB control panel, which in this case was...

/usr/local/bin/convert
/usr/local/bin/mogrify

I then selected to use ImageMagick on the gallery section of the control panel.

However, when I try to post new images to the gallery pages on my forum they just appear as broken links. Checking the gallery directory the image files are not being added there either (the permissions for that directory and all enclosed directories were set to 777 as instructed). Any ideas what is going wrong?

Thanks,
Phil

Top
#213922 - 06/03/08 12:27 PM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Flaming Carrot]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7567
Loc: Aberdeen, WA
First thing would be to test imagemagick. You can the ending url to this while logged in as admin to test it:

ubbthreads.php?ubb=captcha&t=im&test=1
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#213933 - 06/03/08 01:55 PM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Rick]
Flaming Carrot Offline
stranger

Registered: 10/07/05
Posts: 20
Loc: United Kingdom
OK tried that, just getting a blank page at the moment

Top
#213969 - 06/04/08 12:55 PM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Flaming Carrot]
Flaming Carrot Offline
stranger

Registered: 10/07/05
Posts: 20
Loc: United Kingdom
...though when I tested imagemagick from the command line I could generate an image fine. I would use GD2 instead (which I was using fine in 7.2.2) but since upgrading to 7.3, using GD2 I keep getting a message "fatal error: Allowed memory size of 33554432 bytes exhausted" which I have noticed a few other users posting too. Even though the files were well under 33554432 bytes and the permissions allowed for fair sized images.
Anyway, I would rather get ImageMagick working than GD2 if possible.

Top
#213978 - 06/04/08 01:37 PM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Flaming Carrot]
Gizmo Moderator Offline


Registered: 06/04/06
Posts: 11705
Loc: Portland, OR; USA
It's total memory being utilized at the time of execution via php; you'll want to report it to your webhost so they can increase the value.
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#214010 - 06/05/08 12:06 AM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Gizmo]
Flaming Carrot Offline
stranger

Registered: 10/07/05
Posts: 20
Loc: United Kingdom
I have a dedicated server with my webhost which has full root access, is this something I can adjust myself?

Top
#214014 - 06/05/08 04:09 AM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Flaming Carrot]
Gizmo Moderator Offline


Registered: 06/04/06
Posts: 11705
Loc: Portland, OR; USA
Edit your /etc/php.ini, change max_execution_time (i think is what it's named) and change it to 35M or so? Depends what it is now...
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#214016 - 06/05/08 06:13 AM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Gizmo]
Flaming Carrot Offline
stranger

Registered: 10/07/05
Posts: 20
Loc: United Kingdom
Gizmo, I edited the following line in php.ini: memory_limit = 36M (was 32M)

No good.

Then I edited the following value on php.ini: upload_max_filesize = 35M (was 2M)

No good either.

Still getting this message:

Fatal error: Allowed memory size of 37748736 bytes exhausted (tried to allocate 12288 bytes)

Top
#214042 - 06/05/08 12:27 PM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Flaming Carrot]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7567
Loc: Aberdeen, WA
Looks like you need to bump it up a bit more. Your memory_limit is 36M, and it's trying to allocate a bit over 37 megs.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#214045 - 06/05/08 12:29 PM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Rick]
Sirdude Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
37748736 <-- is exactly 36M (1024 remember?)

but regardless, it needs an increase..
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#214046 - 06/05/08 12:30 PM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Sirdude]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7567
Loc: Aberdeen, WA
Well, not exactly, since it can't allocate the extra 12288 bytes laugh
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#214047 - 06/05/08 12:33 PM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Rick]
Sirdude Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
you sir, are correct

/me hangs head in shame for not adding the 2 numbers tongue
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#214053 - 06/05/08 01:42 PM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Sirdude]
Flaming Carrot Offline
stranger

Registered: 10/07/05
Posts: 20
Loc: United Kingdom
Right, I have gone crazy and upped the php.ini to: memory_limit = 48M, and that seems to have fixed GD2 now, fingers crossed. Many thanks.

Seems I will have to stick with GD2, could never get ImageMagick to work, it did not write the images into the gallery directories for some reason. I could get it to work from the terminal and the paths were definitely correct, does it need any permission changes or anything? All gallery directories were set to cmod 777.

Top
#214062 - 06/05/08 03:35 PM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Sirdude]
Gizmo Moderator Offline


Registered: 06/04/06
Posts: 11705
Loc: Portland, OR; USA
Then I edited the following value on php.ini: upload_max_filesize = 35M (was 2M)

Don't do that.
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#214079 - 06/06/08 01:35 AM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Gizmo]
Flaming Carrot Offline
stranger

Registered: 10/07/05
Posts: 20
Loc: United Kingdom
Ah, OK thanks Gizmo, changed that back now.

Top
#214093 - 06/06/08 12:18 PM Re: New gallery images not appearing (ImageMagick and 7.3) [Re: Flaming Carrot]
Gizmo Moderator Offline


Registered: 06/04/06
Posts: 11705
Loc: Portland, OR; USA
By doing that, you'd be giving people some pretty large range to fill your server up :x
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
Page 1 of 2 1 2 >


Shout Box

Recent Topics
Changing title of forum
by Baby Boomer
Today at 07:38 AM
Disable PM's for one group
by Musky
Today at 07:10 AM
SQL Error: Got error 28 from storage engine ?
by jgeoff
Yesterday at 05:03 PM
Stop All E-mail
by Mark S
Yesterday at 11:16 AM
Ability to Truncate a thread from any point at any time.
by Naz
Yesterday at 07:37 AM
Forum Stats
4025 Members
33 Forums
30880 Topics
156817 Posts

Max Online: 978 @ 06/24/07 08:19 PM