![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#51 |
I am cool
Join Date: Jul 2003
Posts: 14,494
|
50 + 8 chrs
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#52 |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,589
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#53 |
Too lazy to set a custom title
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
|
I'll do that in a sec
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#54 |
Too lazy to set a custom title
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
|
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..... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#55 |
Too lazy to set a custom title
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#56 | |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,589
|
Quote:
Changing a folder to 777 should not be a problem. Please don't say Protgp OH please GOD help you if so!!!!!!!!!!! ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#57 |
Too lazy to set a custom title
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
|
exmasters
It's all good now No idea who or what Protgp is. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#58 |
Confirmed User
Join Date: Mar 2004
Posts: 5,116
|
Damn it, I get "Internal Server Error".....
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#59 | |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,589
|
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#60 |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,589
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#61 |
Confirmed User
Join Date: Oct 2003
Location: Montreal/Calgary
Posts: 672
|
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#62 |
Confirmed User
Join Date: Oct 2003
Location: Montreal/Calgary
Posts: 672
|
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! ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#63 | |
Confirmed User
Join Date: Mar 2004
Posts: 5,116
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#64 | |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,589
|
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#65 |
Confirmed User
Join Date: Nov 2004
Location: nz
Posts: 212
|
thats the command in the test.cgi which is screwing things up..
use Image::Magick;
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, you may use a 624x80 instead of a 120x60. Let me repeat... A 120 x 60 button and no more that 3 lines of DEFAULT SIZE AND COLOR text. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#66 |
Confirmed User
Join Date: Nov 2004
Location: nz
Posts: 212
|
i have been looking at ur sites.. and some of the thumbs look a bit fuzzy...
is it because they r being streached?
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, you may use a 624x80 instead of a 120x60. Let me repeat... A 120 x 60 button and no more that 3 lines of DEFAULT SIZE AND COLOR text. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#67 |
Registered User
Join Date: Apr 2003
Posts: 569
|
![]() 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. ![]() icq: 290-83-83 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#68 |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,589
|
Deleted.....
wrong thread...hehehehe |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#69 |
Confirmed User
Join Date: Oct 2003
Location: Montreal/Calgary
Posts: 672
|
Any updates to the program?
|
![]() |
![]() ![]() ![]() ![]() ![]() |