Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Installation Problem  (Read 3449 times)

0 Members and 1 Guest are viewing this topic.

rkbagul

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Installation Problem
« on: July 11, 2007, 09:31:25 pm »

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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Installation Problem
« Reply #1 on: July 11, 2007, 09:56:56 pm »

- 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

rkbagul

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Installation Problem
« Reply #2 on: July 12, 2007, 06:09:44 am »

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

Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Installation Problem
« Reply #3 on: July 12, 2007, 06:25:27 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:
Code: [Select]
<?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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

rkbagul

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Installation Problem
« Reply #4 on: July 12, 2007, 11:37:03 am »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.035 seconds with 16 queries.