I'm probably 1/3 of the way thru installing Gallery onto my w2k/Apache web server and would like to try and resolve these warnings before proceeding. The warnings I get are:
Warning!
Apache is not obeying your .htaccess file. Try entering the following into your web server's httpd.conf file:
<Directory C:Program FilesPHP Home Edition 2wwwGallery>
AllowOverride Options FileInfo
</Directory>
&
Warning!
Magic quotes are on. Your webserver owner can turn them off by putting:
magic_quotes_gpc = Offin your php.ini file
Where do I go to change or add these???
Posts: 7994
You go to your php.ini file (ahem, like it tells you to). If you don't know where your php.ini file is located, run the PHP diagnostic (follow the Gallery Diagnostics link on page 1 of the config wizard) and it'll tell you the php.ini file location near the top of the PHP info page.
Posts: 11
I got the .htaccess Warning too - but I'm running Debian linux - so your files are probably somewhere different... despite that search the hd for httpd.conf (should be under the apache install somewhere - on my system its in /etc/apache but W2K is different) edit this file and add the suggested piece... I put mine (rightly or wrongly) into the VirtualHosts section (towards the bottom of the file) with the setup for the site I'm working on... it worked for me but, as always, "your mileage may vary"...
Cus
Posts: 31
Thanks...I'll try that. What's the deal with installing Netpbm? downloaded ver10.? from sourceforge but I don't any instructions for how to install it? Do I simply copy the files to a directory on my server? I saw mention somewhere of placing the files in my System32 folder. Can anyone help on this? I'm at step 2 where it's asking for my path and could use a speedy response.
Posts: 31
Never mind I figured it out. Simply download netpbm into a directory on your server, C:netpbm.
Now I have a question that I know can be answered since it deals with Step 2 of the setup. I'm asked to specify the path to my /Albums directory. Can I have this in any location I want, for example my D: drive? Or should this be in the database somewhere? Does this app integrate with mysql in any way? Meaning are the images stored as is on the hard drive or are they stored inside of a database? I don't mention of any tables yet.
Kinda confused on the actual URL that will be needed to access my gallery and albums.
Posts: 31
I'm getting an error that states netpbm isn't being detected on my system, even though I've added it to c:netpbm. What type of file is this app looking for?
I'm also getting this error:
Error: use_exif: C:/netpbm must be a valid file (not a directory)!
I plave jhead into the netpbm directory because I received another eerror stating it had to be a file instead of a directory.
Anyone can shed some light on this?
Posts: 31
Nevermind I solved it. Turns out I didn't have the correct paths.
I do have another error I need help with. Might I add that Gallery support is 0 for 3.
I get the following error when I enter the Gallery:
Warning: open(C:Program FilesPHP Home Edition 2Apache2phpsessiondatasess_6714fe8658cee1dc7aac868774d642db, O_RDWR) failed: No such file or directory (2) in c:Program filesphp home edition 2wwwmodulesnuVisionzsession.php on line 51
I suspect this may be due to the Warning I received during the install which stated:
Apache is not obeying your .htaccess file. Try entering the following into your web server's httpd.conf file:
<Directory C:Program FilesPHP Home Edition 2wwwGallery>
AllowOverride Options FileInfo
</Directory>
I attempt to add this into my httpd.conf file. I then attempt to restart the Apache server, but the server doesn't start. None of the Apache services will restart.
Can I get some help on this error?
Posts: 7994
Grr. What do you mean 0 for 3? Your first question INCLUDED THE ANSWER and I answered it anyway.
You posted your questions and answers within a 6 hour period. What do you expect? Give us a chance to read your message and reply. We do not dedicate our lives to waiting for you to have issues and fix them. We try instead to write software that we can give you for free.
This is FAQ C.9. Another free answer.
-Bharat
Posts: 31
I have to admit that I may have been wrong in my previous post...:grin:.
That error was indeed listed in the FAQ. Thanks for pointing that out.
Posts: 31
I've made a unsuccessful attempt at documenting the steps I took to get Gallery installed onto my w2k apache server. Unfortunately I'm at a point where I can't seem to figure out the problem(s).
Problem 1: I get an error when trying to upload a pic to a gallery.
Processing status...
- Adding faith1.jpg
Error: Invalid image: faith1.jpg!
Need help? Look in the Gallery FAQ
Problem 2: unable to create random side block. This site's running vbPortal so you guys may or may not support.
http://www.nubiint.com/galleryinstall.htm is where the document is located at if anyone cares to take a look at it and tell me where I possibly went wrong.
Any help is appreciated.
Posts: 7994
First thing to do is to follow the instructions in FAQ C.2. Post details of issues you have when using that methodology.
To be honest, I'm finding myself too busy to support the random block at all right now :???: But perhaps somebody else out there can assist with this.