coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: polkipa on October 16, 2005, 06:05:33 PM

Title: no more admin acces
Post by: polkipa on October 16, 2005, 06:05:33 PM
Hi,

Suddenly I don't have admin access anymore
everybody gets this warning: "Warning your browser does not accept script's cookies" and nobody can see the pictures anymore.
I read the forums and changed the aray function in the php.ini and restarted apache as instructed
it didn't help

please advice
Thanks
Paul
Title: Re: no more admin acces
Post by: kegobeer on October 16, 2005, 07:06:05 PM
Link to your Coppermine gallery, with test user and password.  Provide server details (server OS and version, PHP version, MySQL version) and explain any and all recent upgrades.
Title: Re: no more admin acces
Post by: polkipa on October 16, 2005, 07:30:49 PM
Thanks kegobeer

here's the link: http://www.time-smart.org/coppermine/index.php
admin login: ****
pass: ****

All add-on software & php is, to my knowledge, upgraded to latest stable version

Thanks for you help
Paul
Title: Re: no more admin acces
Post by: Tranz on October 16, 2005, 07:49:51 PM
Lucky for you, logging in doesn't work. Otherwise, someone could mess with your gallery. Don't ever post admin login information in a public board. Please change the password ASAP.

Since you cannot access the config page you will need to view your database using something like phpmyadmin, locate the <prefix>_config table and change debug_mode from 0 to 1.

Then post the error message displayed in the gallery when you go to the login page.
Title: Re: no more admin acces
Post by: Nibbler on October 16, 2005, 07:51:25 PM
You've set your cookie name to 'Aexis Management Pictures'. You will need to go into your database manually, find the cpg_config table, and change it back to something sensible.
Title: Re: no more admin acces
Post by: kegobeer on October 16, 2005, 07:52:57 PM
I didn't request a private message.  Don't send one unless requested.
Title: Re: no more admin acces
Post by: polkipa on October 17, 2005, 07:46:02 AM
Sorry about the PM, no offense, just wanted to be helpfull and pass delicate infoI have put the system in debug mode and this is waht I get at login:

USER:
------------------
Array
(
    [ID] => 71ba5813a6b3dfba3c4700cfe4615a1a
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 0
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 0
    [can_upload_pictures] => 0
    [can_create_albums] => 0
    [has_admin_access] => 0
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [group_name] => Anonymous
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 0
    [group_id] => 3
    [groups] => Array
        (
           
Title: Re: no more admin acces
Post by: Joachim Müller on October 17, 2005, 08:01:10 AM
do as Nibbler suggested.
Title: Re: no more admin acces
Post by: polkipa on October 17, 2005, 08:11:43 AM
Problem solved

The cookiename cannot contain spaces!

Thanks all for your help
cya
Paul
Title: Re: no more admin acces
Post by: Joachim Müller on October 17, 2005, 08:30:47 AM
that's what Nibbler said ;D