I really do understand that I need to change the directory of my session.save_path, but the problem is when I open my php.ini file (which came with my php program, should this be the only one I have?? I tried opening phpinfo.php to see where it thinks my file is, but that doesn't work period), the only thing in it is:
; php.ini for PEAR tests
include_path=..
How can I change a line that doesn't even exist? I'm extremely confused.
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: 1.4.2
Apache version: 1.3.29
PHP version (don't just say PHP 4, please): 4.3.2
Graphics Toolkit: ImageMagick
Operating system: winXP
Web browser/version (if applicable): Yahoo Browser, IE 6
Posts: 13451
musicobsession, session.save_path IS set to /tmp on a new install of PHP. Dig deeper.
Posts: 18
that.... didn't help me at all. What I'm asking is, is this session.save_path supposed to be IN the php.ini file? Because I showed you what is in mine and I don't undersatnd how I can change /tmp to /temp if it's not even there to CHANGE. Plus, when I search for that file (php.ini) it doesn't even show up to show me what folder it's in... I can only see it when I extract the php-4.3.2.tar.gz file... What am I not understanding here??
Posts: 8194
setup/phpinfo.php (when Gallery is in config mode) will tell you where php.ini is.
Posts: 18
I can't configure it... cause the configure.bat opens a black box then immediately closes it... and the configuration wizard won't help either, because it says those pages don't exist if I put them on my page then type in the URL to look at them... or even if I open it on my harddrive, they don't even open... Is this always this difficult?!
Posts: 8194
URL?
Posts: 18
it says this in the config wizard:
RUN THE CONFIGURATION WIZARD by typing
http://www.example.com/gallery/setup/index.php
in your browser window
soooo i thought example.com was my webpage? Either way, it doesn't work if I do the c:\blaalhablah either...
Posts: 8194
OK, example.com is just that, an *example*... Substitute your real site URL there. You also cannot access it as a filesystem path (i.e. c:\...) because it must be processed through Apache and the PHP engine.
Posts: 18
so, yeah, I put it on my site, and it gives me that action canceled file not found BS.... what all do I need to upload and into what directories (would all this stuff go into my perl directory or the html?)? I don't understand why it's not working from my site (and it allows all that.... i use doteasy.com's ultra hosting if that helps you any)
Posts: 8194
OK, what is the real URL to where you think Gallery is?
Posts: 18
gallery is here: http://www.allaboutthemusic.net/gallery/index.php
but if you click configuration wizard, it gives you the 500 error... which i don't understand because i've changed everything in httpd.conf to Options FileInfo instead of None, etc... and I've deleted the .htaccess file... there's no config.php in my setup to chmod 666...
Posts: 13451
musicobsession, you are supposed to create config.php and a .htaccess file in your gallery/ dir. Read the docs at http://gallery.sf.net/docs.php
Oh, and by the way, from your php_info page
it IS there.
Posts: 18
yeah... somehow I got past all that (i found out in a thread here i had to create it, and there was a helpful link in there)...
now I'm stuck on it saying NetPBM isn't actually there.. and i DID do the thing in the FAQ so I know it's the right dir... the only files I have in there are the ones the config thing suggested at http://sourceforge.net/projects/gallery do I really need more? cause it's not working (and saying I dont have a png->jpeg converter either.... and, no, none of this worked with all of imagemagick installed either.
grah.
Posts: 13451
musicobsession, those should be the correct binaries. Are the chmods ok? Are you sure you have used the correct ones for your system? Also, png->jpeg converter, you can select the one you have in a dropdown on page 2 of the config.
Posts: 18
i've tried both of the converters and neither works... i don't appear to have EITHER... how the hell? that doesnt make sense....
i chmoded at 755 on the dir and the files... what other thing would i do -- how do i know?
Posts: 13451
musicobsession, what is the contents of your Netpbm dir? Could this be FAQ Gallery:c.25 ?
Posts: 18
i did that... and it still gives me these errors:
Error: I can't find NetPBM at the location you provided. Gallery prefers NetPBM version 9.9 and up. You can install just the binaries Gallery needs from the Gallery Download Page. Or, you can compile and install the entire NetPBM package from the NetPBM website.
Note: You can install the binaries from the Gallery site even if you don't have root access on your box! If you can't get it working, try leaving the NetPBM path blank and using ImageMagick instead.
Error: Could not find /var/www/html/gallery/NetPBM/pnmtojpeg. Check your NetPBM directory to see which PNG->JPEG converter you have (or just try using ppmtojpeg instead). Please check your configuration (or use ImageMagick).
the second error still occurs for ppmtojpeg if i switch it... i dont understand why this won't work.
Posts: 1
Hi Friends,
Do you want to know what is the use of particular php.ini files variables. Kindly visit on the following link.
http://vijaymodi.wordpress.com/2007/03/03/phpini-settings/
Regards,
Vijay Modi