Errors with the Gallery using cpanel Errors with the Gallery using cpanel
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Errors with the Gallery using cpanel

Started by Jody2004, May 19, 2004, 07:42:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jody2004

I have installed the gallery with fantascio and im not sure if its a stab in the dark to try get some help with it. I've checked the documentation for the gallery and it isnt very specific what chmod most of these files need to be in i keep getting internal errors after i try to login.

QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@queerpixie.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Jody2004

[2004-05-19 15:55:04]: error: file is writable by others: (/home/angeljo/public_html/pics/admin.php)
[2004-05-19 15:53:28]: error: file is writable by others: (/home/angeljo/public_html/pics/util.php)

What chmod do i need to set these at??

Casper

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

more generally, since you might run into problems elsewhere:
Coppermine needs write access to the include folder during install, once coppermine is installed, read/execute permissions will do.
Coppermine needs the right to read/execute all files in all folders. Additionally, it needs permission to write to the albums folder (and all sub-folders within), because that's where all additional pics will be stored at.
To come up with any actual CHMOD-settings in detail you have to understand how your webserver works: a php script is executed with the permission level of some user that has to exist on the webserver. Most webhosts configure their webservers in a way that the user the script runs under is identical to the owner of the files (the user that has been created for you as a customer of the webhost), but some webservers are configured differently (both ways have advantages and disadvantages, so you can't tell good webhosts from bad ones just by the way they set up their servers).
When CHMODing you actually change permissions for some file or folder based on your own permissions; the first number usually says what the script is allowed to do, the last number usually says what the browser of your site visitors is allowed to do. Since your visitors are only meant to watch things and execute php scripts (that may trigger other things when coded accordingly, but then they're being run under your webserver user context), they need read/execute permissions on php files and read only permissions on static files (like plain html files or GIFs for example).

HTH

GauGau