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: Getting errors on setup  (Read 4523 times)

0 Members and 1 Guest are viewing this topic.

dukhunter99

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 53
    • Fun Factor Photo Booth
Getting errors on setup
« on: April 06, 2005, 03:18:25 am »

I am installing cop 1.3.2 on server so I can bridge with smf. my hosting company (midphase) uses fanastico for installation which installs it in its own database. I have a database set up for both cpg and smf. I decided to install coppermine manually but now I'm getting errors. The errors state:
Before you continue with Coppermine installation, there are some problems that need to be fixed.


--------------------------------------------------------------------------------

The 'include' 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.


--------------------------------------------------------------------------------

The 'albums' 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.


--------------------------------------------------------------------------------

The 'userpics' 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.


--------------------------------------------------------------------------------

The 'edit' 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.

Once you are done, hit the "Try again" button.

Can someone tell me what to do! ???

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Getting errors on setup
« Reply #1 on: April 06, 2005, 03:57:23 am »

First, read the documentation.  It explains how to install Coppermine.  You have to change permissions on some files/directories.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

OmegaGOD

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • I approve.
Re: Getting errors on setup
« Reply #2 on: April 08, 2005, 05:55:43 am »

The answer to your question is IN your question itself :-)

--------------------------------------------------------------------------------

The 'include' 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.

--------------------------------------------------------------------------------

The 'albums' 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.

--------------------------------------------------------------------------------

The 'userpics' 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.

--------------------------------------------------------------------------------

The 'edit' 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.

Once you are done, hit the "Try again" button.

Logged
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

richardc020

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • richardc020
same
« Reply #3 on: June 14, 2005, 02:24:29 am »

I've an identical error yet I've already chmod-ed 777 with proof:
Code: [Select]
drwxrwxrwx 2048 Jun 13 21:25 include/
drwxrwxrwx 2048 Jun 13 21:25 albums/
drwxrwxrwx 2048 Jun 13 21:25 albums/edit/
drwxrwxrwx 2048 Jun 13 21:25 albums/userpics/
Likewise when all are set to 755 or 0777 (I don't know if that's the same as 777). /path/install.php's test_fs's is_writable() all result in false despite the directories being 777-ed.

Aside, I've read /path/docs/faq.php and /path/docs/manual.php and my host has no open_basedir restriction and php safe mode is off.

What is the solution to getting /path/install.php to work?
« Last Edit: June 14, 2005, 03:26:11 am by richardc020 »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Getting errors on setup
« Reply #4 on: June 14, 2005, 03:47:15 am »

ownership?
Logged

thomas461

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Getting errors on setup
« Reply #5 on: June 16, 2005, 03:46:54 pm »

I am having the exact same issue. I am on day two trying to figure it out. At first there was a problem with 403 errors and some SElinux permissions errors.  But now it comes up with the change permissions screen.  All of the "required/listed" directories have been changed to 777.

I downloaded 1.3.3 this morning hoping it was just something in 1.3.2.  Unfortunately, same problem. 

Oh I have also changed the directory owner  from root to apache to nobody and nothing seems to work.
Logged

Nibbler

  • Guest
Re: Getting errors on setup
« Reply #6 on: June 16, 2005, 06:26:07 pm »

Some people have reported that disabling selinux solves the problem for them.
Logged

richardc020

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • richardc020
ownership
« Reply #7 on: June 23, 2005, 04:46:23 pm »

It may be ownership but:
Code: [Select]
>: ls -l public_html/photos/albums
total 12
drwxrwxrwx   2 rc46     30          2048 Jun 13 12:31 edit/
-rw-r--r--   1 rc46     30          1401 Jun 13 12:31 index.html
drwxrwxrwx   2 rc46     30          2048 Jun 13 12:31 userpics/
>: whoami
rc46
>: chown nobody public_html/photos/albums
chown: public_html/photos/albums: Not owner
schiff-56 rc46>: chown nobody public_html/photos/albums/edit
chown: public_html/photos/albums/edit: Not owner
Translation: it refuses to allow even me myself to edit.

I give up. This is stupid.
« Last Edit: August 10, 2005, 05:21:23 pm by richardc020 »
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.