coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: 26cmg77 on May 24, 2005, 09:46:16 PM

Title: Error msg
Post by: 26cmg77 on May 24, 2005, 09:46:16 PM
In user mode when i try to upload a file I get this error:

You dont have Permission to access this page
File: /usr/local/psa/home/vhosts/baaworld.org/httpdocs/photos/addalbum.php - Line: 25


Debug Info:

USER:
------------------
Array
(
    [ID] => 0a50462ba64c8a7a5d20e7b73c842ac6
    [am] => 0
    [liv] => Array
        (
           
Title: Re: Error msg
Post by: Joachim Müller on May 24, 2005, 11:11:25 PM
then don't use user mode. Stay in admin mode all the time.
Title: Re: Error msg
Post by: Tranz on May 24, 2005, 11:16:17 PM
Is it possible to hide the upload link if the person cannot upload? It's probably possible but would it impact performance too much?
Title: Re: Error msg
Post by: Joachim Müller on May 25, 2005, 07:37:31 AM
upload button hidden when not allowed to upload should go into cpg1.5, not possible that easily for the current stable imo
Title: Re: Error msg
Post by: 26cmg77 on May 25, 2005, 12:04:29 PM
Quote from: GauGau on May 24, 2005, 11:11:25 PM
then don't use user mode. Stay in admin mode all the time.

ok but what about the registered members? The upload doesnt work for anyone in user mode.
Title: Re: Error msg
Post by: Tranz on May 25, 2005, 06:37:35 PM
The members must be in admin mode.
Title: Re: Error msg
Post by: Joachim Müller on May 26, 2005, 04:27:44 PM
I recommend disabling the user mode link altogether, will stop the confusion both for you and your users.
Title: Re: Error msg
Post by: 26cmg77 on May 27, 2005, 01:25:44 AM
well here is the thing....I leave for basic training on Wed. I was wanting it so that my members could upload pics as they wanted while Im gone but I do not want to give them admin access. I take it Im not getting any help here for my error, just a sloppy work around?
Title: Re: Error msg
Post by: kegobeer on May 27, 2005, 02:40:43 AM
I will look at your site if you'd like.  PM me your FTP login/password, your MySQL login/password, control panel login/password, links to everything, and I'll see what I can do.

Anything to help out before you leave for basic.
Title: Re: Error msg
Post by: Joachim Müller on May 27, 2005, 03:00:03 PM
disabling the "user mode link" is not a workaround. User mode is meant for the admin to see the gallery with the "eyes" of a regular user (i.e. without the admin menu and additional albums controls). It's most helpfull when creating a new theme, nothing else. You don't lose any functionality when you disable it. Your users will not be admins if you disable the "user mode" link. In the next version, the user mode link will be removed permanently for regular users, as it doesn't make sense for them.

@kego: I'm not sure what you actually want to look into, this is just a problem of 26cmg77 not fully understanding the concept that's behind coppermine, there's no actual malfunction as far as I can see.