coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Womble on February 20, 2007, 02:14:47 PM

Title: trouble with uploading when not "admin"
Post by: Womble 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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fkaramatt.com%2Fimages%2Falbum.jpg&hash=3495bb85a6f301ed648f764569d547dd67de478c)

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

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

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

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

and get the following error message:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fkaramatt.com%2Fimages%2Ferror.jpg&hash=4389c3c8a0993bdb337114ebcfc3c96de9516907)
Title: Re: trouble with uploading when not "admin"
Post by: Hein Traag on February 20, 2007, 02:48:09 PM
Try reading this , it might help: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble)

Hein
Title: Re: trouble with uploading when not "admin"
Post by: Womble 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?
Title: Re: trouble with uploading when not "admin"
Post by: Hein Traag 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
Title: Re: trouble with uploading when not "admin"
Post by: Stramm 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:
QuoteWhen 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.
Title: Re: trouble with uploading when not "admin"
Post by: Womble 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 :)
Title: Re: trouble with uploading when not "admin"
Post by: Womble 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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fkaramatt.com%2Fimages%2Fgd.jpg&hash=0ecb08396131906005185b12bf745a17801c501f)
Title: Re: trouble with uploading when not "admin"
Post by: Womble on February 23, 2007, 02:27:37 AM
hmmm screen dump didnt work - will try again...

(https://coppermine-gallery.com/forum/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
Title: Re: trouble with uploading when not "admin"
Post by: Nibbler 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.
Title: Re: trouble with uploading when not "admin"
Post by: Womble 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?
Title: Re: trouble with uploading when not "admin"
Post by: Hein Traag 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 (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 <?php directly behind it add define('SILLY_SAFE_MODE', 1);

It should look like this <?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