trouble with uploading when not "admin" trouble with uploading when not "admin"
 

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

trouble with uploading when not "admin"

Started by Womble, February 20, 2007, 02:14:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Womble

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)

Hein Traag


Womble

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?

Hein Traag

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

Stramm

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.

Womble

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 :)

Womble

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)

Womble

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

Nibbler

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.

Womble

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?

Hein Traag

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 <?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