No admin menu No admin menu
 

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

Main Menu

No admin menu

Started by apathys, July 30, 2005, 04:53:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

apathys

I go to my coppermine gallery
I am already logged in
but no admin menu
http://www.apathysecstasy.com/coppermine/index.php

I login and it logs me says 'welcome admin' continue
and it brings me right back to the same page.
no admin menu.
I have my permissions set as directed to 777, tried 755 same results.
I have version 1.3
Please help
Thank you



kegobeer

I suspect you aren't actually logged in, otherwise you would have an admin menu.  Send me a PM with your admin username/password so I can check it out.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

apathys

okay thank you
just did
:)

kegobeer

The cookie appears to be set correctly.  Have you done any modifications to Coppermine?

This seems to be the same problem as in this post.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

apathys

no followed the instructions to a 't'
I looked at that other post too
still stumped

Nibbler

You may be missing the admin group from your groups table. That would cause you to not be recognised. Browse your cpg_groups table with phpmyadmin and verify it has 4 groups defined.

apathys

this is what I have in my phpmyadmin

bdweb319966_coppermine
   cpg133_albums
   cpg133_banned
   cpg133_categories
   cpg133_comments
   cpg133_config
   cpg133_ecards
   cpg133_exif
   cpg133_filetypes
   cpg133_pictures
   cpg133_temp_data
   cpg133_usergroups
   cpg133_users
   cpg133_votes

and when I click on usergroups I get this

Database bdweb319966_coppermine - table cpg133_usergroups
Browse

Field Type Attributes Null Default Extra Action
group_id  int(11)   No    auto_increment  Change  Drop  Primary  Index  Unique 
group_name  varchar(255)   No      Change  Drop  Primary  Index  Unique 
group_quota  int(11)   No  0    Change  Drop  Primary  Index  Unique 
has_admin_access  tinyint(4)   No  0    Change  Drop  Primary  Index  Unique 
can_rate_pictures  tinyint(4)   No  0    Change  Drop  Primary  Index  Unique 
can_send_ecards  tinyint(4)   No  0    Change  Drop  Primary  Index  Unique 
can_post_comments  tinyint(4)   No  0    Change  Drop  Primary  Index  Unique 
can_upload_pictures  tinyint(4)   No  0    Change  Drop  Primary  Index  Unique 
can_create_albums  tinyint(4)   No  0    Change  Drop  Primary  Index  Unique 
pub_upl_need_approval  tinyint(4)   No  1    Change  Drop  Primary  Index  Unique 
priv_upl_need_approval  tinyint(4)   No  1    Change  Drop  Primary  Index  Unique 
upload_form_config  tinyint(4)   No  3    Change  Drop  Primary  Index  Unique 
custom_user_upload  tinyint(4)   No  0    Change  Drop  Primary  Index  Unique 
num_file_upload  tinyint(4)   No  5    Change  Drop  Primary  Index  Unique 
num_URI_upload  tinyint(4)   No  3    Change  Drop  Primary  Index  Unique 


is that right?

kegobeer

That's the structure, but does the table have any data in it?  Click browse.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

apathys

here  you go

clicked on browse

Database bdweb319966_coppermine - table cpg133_usergroups
Showing records 0 - 4 (4 total)

SQL-query : [Edit]
SELECT * FROM cpg133_usergroups LIMIT 0, 30 


group_id 
1   
group_name 
Administrators
group_quota 
0
has_admin_access 
1
can_rate_pictures
1
can_send_ecards

can_post_comments 

can_upload_pictures
1
can_create_albums 
1
pub_upl_need_approval 
0
priv_upl_need_approval 
0
upload_form_config 
3
custom_user_upload
0
num_file_upload
3
num_URI_upload 


that is the first line on that


Nibbler

Hmm, that's not the problem then.

apathys

also
when I go to http://www.apathysecstasy.com/coppermine/config.php
after I have logged in as admin
it says 'you are not allowed to access this page"
I tried renaming the config.php to something else besides config and still get
the same error message??
thanks for trying to help
I have never had this happen before.

kegobeer

That's because you are not logged in, even though the cookie appears to be set.  When did this start happening?  Have you done any modifications to your files?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

apathys

this happened from the get go
no havent done anything to the files
except changing the name of the config.php file to change.php to see if
I could access it, then I changed it back to config.php
when I click on login , it accepts my username/password and then it says 'welcome admin" and then the continute button appears below
that 'continue"
where it brings be to that screen with no admin menu
???

neilh

Just thought you might like to know I have exactly the same problem so I am interested in the solution to this as well.......

kegobeer

This is probably related to how the server is set up.  I can't replicate this issue on my test box or my hosted site.  I suggest telling your host about the cookie problem and see if they have any recommendations.

You can also post a link to a phpinfo file.

What is phpinfo?

@neilh: 1.4.x is unsupported, and this thread deals with 1.3.x.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

neilh

I assumed that as it had been released into the wild you would be interested in reports!

apathys

and from my webhosts
" We are contacting you in regards to your recent support request, Ticket #100468.  It appears that this issue is a scripting problem."

Nibbler

If you are happy to PM me ftp details for your gallery I can take a closer look for you.

apathys

okay thank you
just did

Nibbler

Ok, the problem is that for some reason your server only lets you set one cookie at once. Coppermine uses several cookies, and only the first ever got set. I've merged the pass and uid cookies into a new single cookie and restricted the use of the data cookie to non login related pages so it doesn't block the login cookie. This means that login now works but there may be some side effects.