10,000 custom thumbs to your hosted galleries...FREE!!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KMR Stitch
    I am cool
    • Jul 2003
    • 14494

    #51
    50 + 8 chrs

    Comment

    • blackmonsters
      Making PHP work
      • Nov 2002
      • 21128

      #52
      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.
      Good luck.



      Comment

      • Antonio
        Too lazy to set a custom title
        • Oct 2001
        • 14136

        #53
        I'll do that in a sec

        Comment

        • Antonio
          Too lazy to set a custom title
          • Oct 2001
          • 14136

          #54
          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.....

          Comment

          • Antonio
            Too lazy to set a custom title
            • Oct 2001
            • 14136

            #55
            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

            Comment

            • blackmonsters
              Making PHP work
              • Nov 2002
              • 21128

              #56
              Originally posted by Antonio
              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
              Who is your hosting company?

              Changing a folder to 777 should not be a problem.

              Please don't say Protgp OH please GOD help you if so!!!!!!!!!!!
              Good luck.



              Comment

              • Antonio
                Too lazy to set a custom title
                • Oct 2001
                • 14136

                #57
                exmasters

                It's all good now
                No idea who or what Protgp is.

                Comment

                • More Booze
                  Confirmed User
                  • Mar 2004
                  • 5116

                  #58
                  Damn it, I get "Internal Server Error".....

                  Comment

                  • blackmonsters
                    Making PHP work
                    • Nov 2002
                    • 21128

                    #59
                    Originally posted by More Booze
                    Damn it, I get "Internal Server Error".....

                    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.
                    Good luck.



                    Comment

                    • blackmonsters
                      Making PHP work
                      • Nov 2002
                      • 21128

                      #60
                      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.
                      Good luck.



                      Comment

                      • tedwinters
                        Confirmed User
                        • Oct 2003
                        • 672

                        #61
                        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
                        Last edited by tedwinters; 04-12-2005, 04:23 PM.

                        Comment

                        • tedwinters
                          Confirmed User
                          • Oct 2003
                          • 672

                          #62
                          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!

                          Comment

                          • More Booze
                            Confirmed User
                            • Mar 2004
                            • 5116

                            #63
                            Originally posted by blackmonsters
                            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.
                            Hmmmm.... I get the same error when I try to run the test-script. I have installed a lot of PHP scripts but I cant understand why this is happening.

                            Comment

                            • blackmonsters
                              Making PHP work
                              • Nov 2002
                              • 21128

                              #64
                              Originally posted by More Booze
                              Hmmmm.... I get the same error when I try to run the test-script. I have installed a lot of PHP scripts but I cant understand why this is happening.
                              Make sure you uploaded in ASCII
                              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.
                              Good luck.



                              Comment

                              • goldman
                                Confirmed User
                                • Nov 2004
                                • 212

                                #65
                                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.

                                Comment

                                • goldman
                                  Confirmed User
                                  • Nov 2004
                                  • 212

                                  #66
                                  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.

                                  Comment

                                  • DanielS
                                    Registered User
                                    • Apr 2003
                                    • 569

                                    #67
                                    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

                                    Comment

                                    • blackmonsters
                                      Making PHP work
                                      • Nov 2002
                                      • 21128

                                      #68
                                      Deleted.....

                                      wrong thread...hehehehe
                                      Last edited by blackmonsters; 04-21-2005, 09:35 AM.
                                      Good luck.



                                      Comment

                                      • tedwinters
                                        Confirmed User
                                        • Oct 2003
                                        • 672

                                        #69
                                        Any updates to the program?

                                        Comment

                                        Working...