coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: tankersn on February 21, 2007, 10:37:48 PM

Title: Cant Login as Admin
Post by: tankersn on February 21, 2007, 10:37:48 PM
I just installed this on a server with PHP 4.1.2 so I used the code to work around that issue.

Now its installed and when I login with the account I set up I don't get any admin menus to show up.

I have this installed and working on another server and it works great.

I have tried to delete the cookies and make a new admin user in the MYSQL database and neither have worked.

It logs in then says welcome with a "continue" button, then when the page refreshes its back to the normal page and doesn't really look like I am logged in.

I have done the debug and it doest look like its keeping me logged in when it refreshes.

Any help is greatly appriciated.

Thanks

Shane
Title: Re: Cant Login as Admin
Post by: Nibbler on February 21, 2007, 10:43:59 PM
Make sure you didn't introduce any whitespace when you made the code change. Post a link to your gallery.
Title: Re: Cant Login as Admin
Post by: tankersn on February 21, 2007, 11:47:16 PM
I checked the pages that I did edit and I dont see any space in them.

Here is the link to the Gallery

http://www.stmarysringette.ca/cpg1410/

Thanks for your help

Shane
Title: Re: Cant Login as Admin
Post by: Nibbler on February 22, 2007, 12:16:27 AM
Looks like you have used some editor that's messed up the links.
Title: Re: Cant Login as Admin
Post by: tankersn on February 22, 2007, 12:26:25 AM
so what do you suggest?

A reinstall?

I used Dreamweaver to edit the files. I used this for the other gallery I have set up aswell and all works fine there.

What else can I do?

Title: Re: Cant Login as Admin
Post by: Nibbler on February 22, 2007, 12:33:31 AM
Replace what you modified with original versions from the package and use a simple text editor to make your changes.