Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 21, 2013, 01:31:59 am

Login with username, password and session length
Members
Total Members: 10763
Latest: sora
Stats
Total Posts: 32360
Total Topics: 5476
Online Today: 48
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 34
Total: 34
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Go Down Print
Author Topic: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK  (Read 10823 times)
Globber
Inline PM Customer
*****
Offline Offline

Posts: 12


View Profile
« Reply #15 on: December 09, 2006, 01:01:45 pm »

Administator,

I am thinking this is a different problem than mine as it sounds like his thumbs are being made. IN mine they are not being made at all. I was thinking is there a way to write a direct script path that forces it to use Imagemagick where I have it without considering gd library. Perhaps my hosting forces it to use gd.

Hope that makes sense. Just trying to make it work for me as I like your mod.

Logged
Samppa
Inline PM Customer
*****
Offline Offline

Posts: 2


View Profile
« Reply #16 on: December 10, 2006, 02:43:17 am »

Admin:

Thanks! It worked.

Globber:

Thumbs get created in Gallery folder. My gallery had no problem with creating em, only rights were wrong. Pics are named like 1_09_12_06_11_37_54.jpg and thumbs thumb_1_09_12_06_11_37_54.jpg. I saw also thumb files before i chmod em.

In other server i did not had any problems.
« Last Edit: December 10, 2006, 02:49:15 am by Samppa » Logged
Globber
Inline PM Customer
*****
Offline Offline

Posts: 12


View Profile
« Reply #17 on: December 10, 2006, 11:27:04 am »

Might of found issue... I finally decided to focus my efforts on installing a different gallery to see if I could get it to work and installed Gallery2. It had the same issue without creating thumbnails. I finally gave up and reprovisioned my whole server and start again. I found one errror sneak in while I was installing ImageMagick in and that was that no zlib was found. So I found zlib and installed in and than installed Imagemagick. At the same time I installed the latest gd library and jpeg and png libraries and though and behold the Gallery2 worked. ...

I am off to install SMF again and will try with Gallery. I assume this will solve the issue as well..... cross your fingers.
Logged
Globber
Inline PM Customer
*****
Offline Offline

Posts: 12


View Profile
« Reply #18 on: December 10, 2006, 02:24:16 pm »

Sorry to say gallery lite still not creating thumbnails. I looked more into the installation of Gallery2 and noticed that it says that ImageMagick is properly installed and GD library is not installed on the PHP even though I did install it. Anyhow as I said the Gallery2 had the same problem of not producing thumbnails before I installed the zlib.

Not sure what the issue of creating thumbs is with Gallery Lite but will keep thinking and pondering...
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10991


View Profile
« Reply #19 on: December 10, 2006, 02:33:45 pm »

Check your php.ini make sure the extension is loaded.
Logged
Globber
Inline PM Customer
*****
Offline Offline

Posts: 12


View Profile
« Reply #20 on: December 10, 2006, 02:38:59 pm »

php.ini I know where to find extension loaded do not understand. Pretty new to this stuff but figured a bunch out using ssh etc . Give me what to look for and I will find out if it is there.
Logged
gilestel
Inline PM Customer
*****
Offline Offline

Posts: 7


View Profile
« Reply #21 on: January 16, 2007, 05:38:55 pm »

I have the same sort of problem with viewing the pics. Unlike these two guys Smiley however, my gallery creates thumbs and their chmod is all set. However, thumbs are 0kb and pics and thumbs both have names like thumb_1_17_01_07_1_00_04.jpg.
I've read this http://www.dotproject.net/vbulletin/archive/index.php/t-1358.html , ok i've found php.ini but what to do next? it looks like this;
....
;extension=php_fdf.dll
;extension=php_filepro.dll
extension=php_gd2.dll
extension=php_gettext.dll
....

Our forum is www.darcysharem.com/forum .

* php.ini (38.96 KB - downloaded 134 times.)
« Last Edit: January 16, 2007, 05:55:42 pm by gilestel » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10991


View Profile
« Reply #22 on: January 16, 2007, 05:59:34 pm »

Check that you have a valid upload folder upload_dir set in the php.ini with write permissions.
Logged
gilestel
Inline PM Customer
*****
Offline Offline

Posts: 7


View Profile
« Reply #23 on: January 16, 2007, 06:11:19 pm »

I'm not sure what to do now... I've found something like this upload_tmp_dir= "C:\WINDOWS\Temp" along with other extensions in php.ini and there is also this
; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M

This is all that contains the word 'upload' in php.ini Smiley
I'm attaching it also here..

ps: there are no more thumbs created inside the gallery folder. just the pic itself, and it shows red cross instead of a thumb.

* php.ini (38.96 KB - downloaded 138 times.)
« Last Edit: January 16, 2007, 06:14:49 pm by gilestel » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10991


View Profile
« Reply #24 on: January 16, 2007, 06:14:00 pm »

You need to the upload_tmp_dir to a folder that is writable.
Logged
gilestel
Inline PM Customer
*****
Offline Offline

Posts: 7


View Profile
« Reply #25 on: January 16, 2007, 06:16:28 pm »

ok i think i got it...will try right away and tell the outcome...

i replaced c/windows/temp with E:/inetpub/vhosts/darcysharem.com/httpdocs/forum/gallery/
then uploaded another picture and recheck the gallery directory thru ftp, there are no thumbs but only a .tmp namely phpCAF2.tmp
« Last Edit: January 16, 2007, 06:22:30 pm by gilestel » Logged
Pages: 1 [2] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 12:22:02 am]

[Today at 12:20:41 am]

[May 19, 2013, 11:13:02 pm]

[May 19, 2013, 08:18:27 pm]

[May 19, 2013, 07:03:27 am]

[May 16, 2013, 10:13:46 pm]

[May 15, 2013, 11:32:14 pm]

[May 12, 2013, 09:10:43 am]

[May 10, 2013, 03:49:55 am]

[May 07, 2013, 07:12:40 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.41 seconds with 22 queries.