Advanced search  

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

Pages: [1]   Go Down

Author Topic: trouble with uploading when not "admin"  (Read 4260 times)

0 Members and 1 Guest are viewing this topic.

Womble

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
trouble with uploading when not "admin"
« on: February 20, 2007, 02:14:47 pm »

I'm trying to set up a gallery so that my mother can view and upload pictures of our son.

I am admin, and can upload pictures using ftp without any hassles :D

However, when it comes to my mother (as usual  ;) ) that is where the trouble starts.

Please be gentle (I'm a 32 year old non-technical mummy!!!!) as I have done lots and lots of searching and I still cant seem to find the solution.

I've described what I do step by step below with pictures.... can anyone tell me what I need to do to get it to work?
thanks!

I set up an album for her to upload to:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fkaramatt.com%2Fimages%2Falbum.jpg&hash=3495bb85a6f301ed648f764569d547dd67de478c)

I have checked the groups:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fkaramatt.com%2Fimages%2Fgroups.jpg&hash=f4761042e7c5a86f0f17d12839af20eb0d6bfe54)

and the users:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fkaramatt.com%2Fimages%2Fusers.jpg&hash=15fe68d732060a6504048ac0ee4efe2503593082)

and then try and add 1 single file
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fkaramatt.com%2Fimages%2Fpic_info.jpg&hash=7bcada212abd2f549797eee3fbc6aad4104b3992)

as follows:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fkaramatt.com%2Fimages%2Ffile_upload.jpg&hash=364e4475372e7bca86745b5ccb7ff9c6dfc9676f)

and get the following error message:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fkaramatt.com%2Fimages%2Ferror.jpg&hash=4389c3c8a0993bdb337114ebcfc3c96de9516907)
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: trouble with uploading when not "admin"
« Reply #1 on: February 20, 2007, 02:48:09 pm »

Logged

Womble

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: trouble with uploading when not "admin"
« Reply #2 on: February 21, 2007, 05:00:26 am »

Hi Hein,

thanks for that, but that document was actually the first thing I read before I even started searching the forums. As far as I can see it doesnt help address the issue I am having as I have NO TROUBLE uploading via ftp, and I have chmod the directories. It is only when a user tries to upload via file upload that the upload is unsuccessful.

does anyone else have any ideas?
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: trouble with uploading when not "admin"
« Reply #3 on: February 22, 2007, 04:45:02 pm »

Then add some more info. Do you host it yourself or where do you have your website hosted ? Is GD installed at that hoster ? What is the url of your website and are you willing to add a test account ?

:) nice screenshots btw.

Cheers
Hein
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: trouble with uploading when not "admin"
« Reply #4 on: February 22, 2007, 08:43:23 pm »

If you've read the link Hein posted, then please do as suggested there. Otherwise it's hard to help you.
Read it again, do the necessary settings in your CPG config then carefully read the part highlighted in red that says:
Quote
When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested.

Womble

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: trouble with uploading when not "admin"
« Reply #5 on: February 23, 2007, 01:27:27 am »

Stramm - ok - thanks for spelling that out for me... I *did* see that bit but I wasnt sure what the protocol was for asking for help with a test account. didnt want to appear too pushy!

As soon as I do all that I will post details here again (once my 1 year old stops pushing the lid of the laptop down in his latest "new game"!) :D

Hein - I have my website hosted with www.powweb.com but absolutely no idea if they have GD (?) installed there.

Thanks guys :)
Logged

Womble

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: trouble with uploading when not "admin"
« Reply #6 on: February 23, 2007, 02:16:36 am »

okdokey

test user account setup

username: test
password: testing 1234

url http://karamatt.com/gallery/index.php

(original username, eh?!  ::) )

oh, and Hein - I checked the debug at the bottom and saw the phpinfo bit and clicked on it for nosieness (sp?)

and I saw this bit - which I guess is the GD you were referring to? ???

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fkaramatt.com%2Fimages%2Fgd.jpg&hash=0ecb08396131906005185b12bf745a17801c501f)
Logged

Womble

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: trouble with uploading when not "admin"
« Reply #7 on: February 23, 2007, 02:27:37 am »

hmmm screen dump didnt work - will try again...

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fkaramatt.com%2Fimages%2Fgd.jpg&hash=0ecb08396131906005185b12bf745a17801c501f)

if this doesnt work then I AM confused  ??? as I am just doing the [ img ] link [ /img ] thing as per the original post

ho-hum
Logged

Nibbler

  • Guest
Re: trouble with uploading when not "admin"
« Reply #8 on: February 23, 2007, 02:28:01 am »

I get

No file was uploaded !

If you have really selected a file to upload, check that the server allows file uploads...

Which means the file did not reach Coppermine.

Verify your server has php uploads working correctly.
Logged

Womble

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: trouble with uploading when not "admin"
« Reply #9 on: February 23, 2007, 02:38:26 am »

Nibbler - thanks for the really quick response! :D

wow

Anyway, sorry to be really stupid, but how do I check that the server allows file uploads and that it has php uploads working correctly?

Do I need to send an email to the hosting company or is it something I can do myself?
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: trouble with uploading when not "admin"
« Reply #10 on: February 23, 2007, 04:58:27 pm »

Your not stupid Womble.. your learning to use CPG , which is not stupid but just takes some time ;)

You could write a mail to your hosting company explaining the situation to them, they might have some resctriction on uploading files through HTTP (through a website upload method). Also know as silly safe mod.

But you might want to read through this thread, especially this post http://forum.coppermine-gallery.net/index.php?topic=24088.msg110687#msg110687
It's about the silly safe mode restriction and how to go round it by editing your config.inc.php file which is in the include folder.

Before editing be sure to make a backup of the file config.inc.php!
Open the file config.inc.php and find
Code: [Select]
<?php directly behind it add
Code: [Select]
define('SILLY_SAFE_MODE', 1);
It should look like this
Code: [Select]
<?php
define
('SILLY_SAFE_MODE'1);

Save the file and then upload the edited config.inc.php to the hoster where the rest of the coppermine files are. When asked to overwrite the file select to do so.

Hein

Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.