Gail Posted April 27, 2005 Posted April 27, 2005 Hi All, I am trying to install Gallery 1.5 for a project that I have been working on. I actually much prefer Coppermine and it is so much easier to install! Anyway, I got as far as running the config.php file - I didn't get past the first page. I have one serious warning which states: "The PHP option 'register_globals' is enabled on your server. Gallery highly recommends that you disable 'register_globals' unless it is required by software on your site. Gallery does not officially support 'register_globals' being enabled, and will attempt to disable it internally." When you get to the bottom of page 1, it mentions the serious warning and says to proceed at your own risk. I really have no understanding of what this warning means. There are a few other warnings but only 2 that I am concerned with. "I can't find jhead" and "I can't find jpegtran". If I am reading the description of jhead correctly, I am assuming that it reads the EXIF data. I would like this option available if possible. I don't know if jpegtran is all that important or not? I looked through the posts on Gallery to see if I could find this info - my apologies if there is something and I missed it. I was using the TCH Installation Guidelines. Thanks a bunch for any help. Gail Quote
tomowa Posted April 27, 2005 Posted April 27, 2005 Hi Gail, You are correct, jhead is what read's and displays an images exif data. jhead can be downloaded here http://www.sentex.net/~mwandel/jhead/ Just place it in your Gallery directory, and then in your gallery/config.php file, enter the path to jhead, just as the other paths that need to be entered. The "jpegtran" is not needed, I have not even figured out what it is for. About the 'register_globals' needing to be 'off', I believe I saw a topic here recently stating that it could be turned off by a '.htaccess' file, which I'll search for in a bit. I myself tried an install of Gallery 1.5 last week, and got so many errors on the config.php page I gave up on it for now , till someday I might have time.... Now to get personal....Poor Gail had to come here and ask her Gallery question, as I been been ignoring her and the rest of my friends at webpagefun.com, a website both Gail and I and another fine lady named Lorraine run just to help each other and our friends with things such as this Gallery question. Sorry Gail But she knows I'm busy farming now HTH, Tom Quote
TweezerMan Posted April 27, 2005 Posted April 27, 2005 You can turn off 'register_globals' by adding the following to your .htaccess file: >php_flag register_globals off Quote
Gail Posted April 27, 2005 Author Posted April 27, 2005 Hi David and Tom, Thank you both for your replies. Your addition to the .htaccess file worked like a charm, David. I shall make note of that for future reference. I did get Gallery set up and put 2 albums in it. Tom, I gave up on the jhead file and the jpegtran file. I downloaded a couple of jhead files and put them in the Gallery directory - each time I put the path in but the script still did not recognize the file. I finally gave up as far as reading the EXIF data. I may look at it some other time. Of course the error on the config.php page does not tell you which version to download when it gives you the link to the home page. And jpegtran - I couldn't even make head nor tail out of that page! This is the second time I have installed a Gallery script and I still hate it! What a difference between installing Gallery and Coppermine. Gail Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.