Installation Problem Installation Problem
 

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

Installation Problem

Started by rkbagul, July 11, 2007, 09:31:25 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

rkbagul

Hiiii masters,

This is ritesh from mumbai. First time i am trying to install coppermine for my website. I have registered with manas web hosting company...and as per their instructions i used WS_FTP LE program to upload my files to web server. I cud upload initial static HTML pages and they worked fine.

Now as i move to core part of web, i uploaded coppermine 1.4.10 folder and files to webspace. using the FTP program i had set the permissions to include and web folders 'red' 'write' 'execute' to everybody, the SYST command on these folders indicate "215 UNIX type L8"..and also prompts that permissions set to 777.

BUT when i connect to my webserver through browser, and run install.php...it gives errors and array of these errors

" A subdirectory called '{$DFLT['cfg_d']}' should normally exist in the directory where you uploaded Coppermine. The installer can't find this directory. Check that you have uploaded all Coppermine files to your server.

"; } elseif (! is_writable($DFLT['cfg_d'])) { $errors .= "
The '{$DFLT['cfg_d']}' directory (located in the directory where you uploaded Coppermine) should be writable in order to save your configuration. Use your FTP program to change its mode to 777.

"; } // albums must be writable to upload pictures if (! is_dir($DFLT['alb_d'])) { $errors .= "
A subdirectory called '{$DFLT['alb_d']}' should normally exist in the directory where you uploaded Coppermine. The installer can't find this directory. Check that you have uploaded all Coppermine files to your server.

"; } elseif (! is_writable($DFLT['alb_d'])) { $errors .= "
The '{$DFLT['alb_d']}' directory (located in the directory where you uploaded Coppermine) should be writable in order to allow pictures upload. Use your FTP program to change its mode to 777.

"; } // userpics must be writable to upload pictures if (! is_dir("{$DFLT['alb_d']}/{$DFLT['upl_d']}")) { $errors .= "
A subdirectory called '{$DFLT['upl_d']}' should normally exist in the 'albums' directory. The installer can't find this directory. Check that you have uploaded all Coppermine files to your server.

"; } elseif (! is_writable("{$DFLT['alb_d']}/{$DFLT['upl_d']}")) { $errors .= "
The '{$DFLT['upl_d']}' directory (located in the 'albums' directory on your server) should be writable in order to allow pictures upload. Use your FTP program to change its mode to 777.
"


Also at end it says the installation has been locked...????

how shud i work it out????

Kindly help

Regards

Ritesh

Sami

- It seems that your server can't handle PHP file check CPG requirement
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#what

- Or may be your install.php is corrupted !
- Post a link to your installation directory
‍I don't answer to PM with support question
Please post your issue to related board

rkbagul

Dear Sami,

I had only removed the code portion between

// Report all errors except E_NOTICE
.
.
.
// This is the default value set in php.ini


the route to install.php is

www.riteshbagul.com/coppermine/install.php

I cant access the file and directory unless i login through 'ftp.riteshbagul.com'. So i login through ftp.riteshbagul.com, use the username and passowrd provided by them and then click the install.php, to recieve the error messeges in return.

Pls pls help, i am also trying to consult the technical team of the server.

regards

Ritesh


Sami

Quote from: rkbagul on July 12, 2007, 06:09:44 AM
I cant access the file and directory unless i login through 'ftp.riteshbagul.com'. So i login through ftp.riteshbagul.com, use the username and passowrd provided by them and then click the install.php, to recieve the error messeges in return.

I got 404 not found error !
ftp ???
as I said before , your server can't handle PHP , you can test it by creating a very simple php file
something like this:

<?php
phpinfo
();
?>


name it test.php upload & run it through http ...

FYI , you can't run PHP file through FTP , the way you tried it will gives you source of file
‍I don't answer to PM with support question
Please post your issue to related board

rkbagul

Dear Sami,

Thanks a lot for ur support, i really appreciate your help. I would try to figure out why the php files are not running...

with warm regards

Ritesh