Install Stops w/ Permission Errors Install Stops w/ Permission Errors
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Install Stops w/ Permission Errors

Started by bhineline, October 16, 2003, 06:58:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bhineline

I am trying to install CPG 1.2.0 on HP-UX v11.11 (11i) under Apache 2.0.43 and PHP v4.2.3.  I have the CPG files located under a separate (but local) mount point called /GALLERY and the ownership is www:www (which matches my Apache configuration for User and Group).  Immediately upon accessing install.php, I get an error about file permissions needing changed for include, albums, and userpicks.  I have given each directory 777 and given /GALLERY 777 as well.  When I press TRY AGAIN, the error just repeats.  Am I missing something?  I have tried downloading CPG 1.1 and get the same problem.

Thanks for any help... I'm hoping I've overlooked something really obvious... :)

Zarsky

Are you by chance running under AFS or NFS file systems?  If so please make sure your ACLs are set correctly.  I have had a bugger of a time getting Coppermine to run properly under AFS and/or NFS based systems.  Also...are you running a cgiwrap to process php by chance?  

Please post a link to your phpinfo file, sio I can see your exact setup....based upon your message I would think you have the expertise to do that without me telling how.  Search the board otherwise.
Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

bhineline

Thanks for the reply.  Not running under AFS or NFS so no ACL problems here... I'm brand new to PHP so I have know clues about the phoinfo file so maybe there's a setting I'm missing.  It's pretty much out of the box at this point as is my php.ini.  I know I need to give them some attention but don't know what... any help is appreciated!

Zarsky

Don't mean to sound rude, but this support board is not meant to provide help on setting up and configuring your own server.  As for the PHPinfo file....place the following in a file called phpinfo.php and upload it to your webserver:

<?php
phpinfo
();
?>


Then come back here and place a link to it, and perhaps someone can help you.
Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

bhineline

Well, you did sound rather rude so having said that, I would have expected that this support board would help with issues surrounding basic configuration requirements.  

At this point, I'll just take it upon myself to figure it out and avoid wasting your time.

hyperion

bhineline,

Check and see if HP put an openbasedir restriction into effect in your php.ini file. They would probably do that, and you would get those errors if your CPG files are not within the specified directory.  The error is generated when CPG asks PHP to check to see if each of the directories you mentioned is writable, and PHP seems to think they are not. Since you have made them universally writable, the problem will most likely be in php.ini.  Alternatively, sometimes the server does not recognize the CPG script ID as a user that can write to a directory, but it sounds like you have already addressed that.

HP-UX -- you have expensive taste.  :D

-Hyperion
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

bhineline

hyperion...

Thanks for the help... it's appreciated.  Unfortunately the variable was not set (commented out).  Is there a good resource that you're aware of for documentation of PHP.INI?  As I mention in a previous message...  :evil: ... I'm new to PHP so I may not have all the obvious answers.  

Oh.. and I inherated one of my old servers from my office.  We just retired about 10 of them.  Just a true geek I suppose...  :lol:

Zarsky

See this is what happens when I prefix a statement "I do not mean to sound rude"....I meant exactly what I said.  The devs on this board are more than willing to help, but I was just warning you that webserver configurations are very complicated and vary widely between OS and system installs.  In either cased please report anything you find that fixes the problem.  It will help us and others debug problems in the future.  One other thing to keep in mind....no one here is getting paid to provide this support so this always comes up....we will try to help where we can, but I just meant to warn you that we will not always be successful especially since many of us have never even had access to HP-UX.  As for a good resource for the php.ini file....www.php.net and then click documentation.  You can also try the many support forums out there that deal with php installation configuration issues.
Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

Tarique Sani

I am watching this thread closely for monkeys
SANIsoft PHP applications for E Biz

jasendorf

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.uselessgraphics.com%2Fchimp3.gif&hash=911065ce416fe671f2a9a7802ae8b8d6c1e7f60a)(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.uselessgraphics.com%2Fmonkey19.gif&hash=9867a39bbcbab597c98e188f9a132ad35db1b3cc)(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.uselessgraphics.com%2Fmonkey9.gif&hash=1ec62f1bbe53e65e821f073075b933efdb185725)


Like I could help myself....


Oh and bhineline, really, zarsky's a really nice guy... he really wasn't trying to be rude (if anyone was going to be rude around here it would be me!).  It's just that it can be very, very difficult to trouble shoot an entire server and we're all just volunteers here trying our best...
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.