 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
March 9th, 2009, 02:03 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: Appleton, WI
Posts: 33
| Image Question
It would appear my webhost doesn't currently support imagmagick so I have a couple of questions. Firstly is there any way to host or install a a program like Imagemagick myself to run from my site? Secondly, is there a way to just turn on thumbnails and still allow users to post images in ads? As it is now the images upload alright but the preview images all show no image available. Any help would be appreciated. Thanks in advance.
|
| |
March 9th, 2009, 06:19 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: Appleton, WI
Posts: 33
|
Thanks for the quick response,
I attempted to utilize gd2 by changing the options last night but got the same results. I will attempt again when I get home in a bit.
Being unfamiliar with GD2 could you tell me more about it? Is it remotely hosted like imagemagick and what not? Thanks for any response.
|
| |
March 9th, 2009, 08:17 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,694
|
You can check under admin => phpinfo to see if GD2 is available. If it is you should be able to use it, Otherwise you need to have your host install an image processor to be able to process photos. Thats one of the core requirements of the program to have one of those on the server.
|
| |
March 9th, 2009, 10:14 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: Appleton, WI
Posts: 33
|
Hello again,
It would appear that Imagemagick is indeed available on their server. My assumption is that I have an invalid file path somehwere. This is the error I get when trying to upload and image with imagemagick:
Warning: copy(/home/videogam/public_html/Classified/data/2/thumbs/xbox360logo.jpg) [function.copy]: failed to open stream: Permission denied in /home/videogam/public_html/Classified/image-inc.php on line 464
Warning: unlink(/home/videogam/public_html/Classified/data/2/thumbs/xbox360logo.jpg) [function.unlink]: No such file or directory in /home/videogam/public_html/Classified/image-inc.php on line 504
Error creating thumbnail! Error code: 127
I am working on it now so we will see if I can figure it out.
|
| |
March 10th, 2009, 12:02 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: Appleton, WI
Posts: 33
|
And one more problem. Whenver I click on show my ads or do an ad search I get this:
Warning: Division by zero in /home/videogam/public_html/Classified/showcat.php on line 559
Warning: Division by zero in /home/videogam/public_html/Classified/pp-inc.php on line 1717
I am starting to think it would be best if I try another install not sure though.
|
| |
March 10th, 2009, 09:09 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,694
|
Error creating thumbnail! Error code: 127
You dont have the correct path to imagemagick in your config settings. To upload images you need to have a proper image processor setup.
Number of columns for thumbnail pages.
In your admin settings you can not have that setting in admin show categories options set to 0 you need to set it to a higher number like 4 which is the default
|
| |
March 11th, 2009, 02:49 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: Appleton, WI
Posts: 33
|
OK so I decided to a fresh install and corrected the path to imagemagick so that seems that it may work now. However, after completing step 4 of the install i get the following errors, perhaps the permissions need to be changed in the stated files?
Warning: fopen(/home/videogam/public_html/classifieds/data/1/thumbs/index.htm) [function.fopen]: failed to open stream: Permission denied in /home/videogam/public_html/classifieds/install.php on line 1185
Warning: fclose(): supplied argument is not a valid stream resource in /home/videogam/public_html/classifieds/install.php on line 1186
Warning: fopen(/home/videogam/public_html/classifieds/data/1/large/index.htm) [function.fopen]: failed to open stream: Permission denied in /home/videogam/public_html/classifieds/install.php on line 1191
Warning: fclose(): supplied argument is not a valid stream resource in /home/videogam/public_html/classifieds/install.php on line 1192
Warning: fopen(/home/videogam/public_html/classifieds/data/2/thumbs/index.htm) [function.fopen]: failed to open stream: Permission denied in /home/videogam/public_html/classifieds/install.php on line 1185
Warning: fclose(): supplied argument is not a valid stream resource in /home/videogam/public_html/classifieds/install.php on line 1186
Warning: fopen(/home/videogam/public_html/classifieds/data/2/large/index.htm) [function.fopen]: failed to open stream: Permission denied in /home/videogam/public_html/classifieds/install.php on line 1191
Warning: fclose(): supplied argument is not a valid stream resource in /home/videogam/public_html/classifieds/install.php on line 1192
|
| |
March 11th, 2009, 03:11 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: Appleton, WI
Posts: 33
|
Figured it out so I am good for now thanks!
|
| |
March 11th, 2009, 03:44 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,694
|
Have a good one.
|
| |
March 11th, 2009, 03:47 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: Appleton, WI
Posts: 33
|
Dang thought I was good to go 
I am getting this error when attempting to post an ad with an image:
Error creating thumbnail! Error code: 1
Command: "/usr/bin/convert" -size 100x100 -quality 70 -geometry 100x100 /home/videogam/public_html/classifieds/data/4/thumbs/xbox360logo.jpg
|
| |
March 11th, 2009, 03:54 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,694
|
we use mogrify so you need to put the correct path to mogrify in config settings in admin not convert.
|
| |
March 11th, 2009, 05:24 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Feb 2009 Location: Appleton, WI
Posts: 33
|
Yay it worked finally 
Thanks for putting up with me |
| |
March 11th, 2009, 08:29 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,694
|
No problem enjoy your evening
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 02:42 PM. | |