![]() |
50 + 8 chrs
|
Here's a quick program to check your server config.
------------- CODE ------- #!/usr/bin/perl use Image::Magick; use LWP; use LWP::Simple; use URI::Escape 'uri_escape'; require LWP::UserAgent; use HTTP::Request::Common; require HTTP::Headers; print "Content-type: text/html\n\n"; print "Your server seems to be fine"; exit; ------ END CODE ----- Copy this code into notepad and name it test.cgi upload to cgi-bin the execute it. If it fails then remove one line at a time the lines starting with the word "use" or "require". The script should execute a some point and the last line deleted will be a module that is not installed on your server. Tell your host to install it. But make sure the path to perl is correct or it will never work. |
I'll do that in a sec
|
Uploaded the test file to a domain that II have working cgi script at the moment and everything is ok, I get the:
Your server seems to be fine" message Uploading the whole script again..... |
ok
Got it working but had to change the permission on the getthumbs folder to 755 and NOT 777 as in your instructions Ok, I'll play around a bit with the script |
Quote:
Changing a folder to 777 should not be a problem. Please don't say Protgp OH please GOD help you if so!!!!!!!!!!! :1orglaugh |
exmasters
It's all good now No idea who or what Protgp is. |
Damn it, I get "Internal Server Error".....
|
Quote:
Check you path to perl is correct, ask you host if unsure. Upload all files in ASCII transfer mode(very important, these are not binary files) Check all file permissions(chmod 755 all cgi, chmod 666 other files, chmod 777 folders) See installation instructions at http://econfirmpro.com/getthumbs/installation.html Use the test script I posted earlier in this thread to test your server configuration. |
Ok, lets go, lets see some links here to some sites.
I checked my number of downloads and it's been plenty so somebody must have figured this thing out by now. Show us what you got. Don't be shy, you might pick up a few traffic trades. |
Okay... I've successfully run the script...
the server test script says everything is good, all access permissions seem to be set fine.. However, when running in 'auto mode' it doesn't seem to download the thumbs.. the directories stay empty.. When I click the 'view log' button, all it says is "ENTER AUTO MODE"... Also, I'm trying to retrieve thumbs from PHP sites if that makes a diff? any hints? :) I'll try manual mode now :) |
Okay.. mine was fucked up in either 1 of 2 ways:
1: I had a "/" at the end of each directory name in the script 2: I had the 'temp' directory sitting within the thumbs directory (not the likely problem).. eitherway, I changed those two values, along with the changes recommended to wilbo, and now it retrieved some thumbs.. I'll let you know more as I play and try setting up a template! :) |
Quote:
|
Quote:
Make sure you chmod 755 the script Make sure your path to perl is correct (#!/blah/blah... ask your host) If the test script still does not work then your server is missing some PERL modules. Just email the test script to your host and, unless they are really a bad host, they will install those modules for you. PS: You must use an FTP program to upload; you can not use an ftp url with windows like this ftp://yourdoamin.com/cgi-bin; This will only upload in binary, at least on my machine. |
thats the command in the test.cgi which is screwing things up..
use Image::Magick; |
i have been looking at ur sites.. and some of the thumbs look a bit fuzzy...
is it because they r being streached? |
After adding some extra " it works, but thumbnails are not centered. You should make the script to find the full image size and start the proccess of thumbnail creation from that point.
Please post here about any bug fixes you did, I'll test it again. :thumbsup icq: 290-83-83 |
Deleted.....
wrong thread...hehehehe |
Any updates to the program?
|
All times are GMT -7. The time now is 09:17 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123