coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: djdolfonthemix on February 19, 2004, 07:55:05 AM

Title: ADMIN ACCESS ????
Post by: djdolfonthemix on February 19, 2004, 07:55:05 AM
How can I acess to admin panel ????? when I try to enter admin.php... apear this "You don't have permission to access this page."

help me!!!. THNX from slovenia... :(
Title: ADMIN ACCESS ????
Post by: Joachim Müller on February 19, 2004, 08:00:39 AM
log in to coppermine using the username and password you specified when installing. If your browser is set up to accept the script's cookies, you'll see a button labelled "config". You can't just enter the config file's url manually (because the referrer is checked for security reasons).

GauGau
Title: Config button doesn t apear !!!!
Post by: djdolfonthemix on February 19, 2004, 09:37:21 AM
Dear gaugau, when I instaling the album in log category apear this message in red "Warning your browser does not accept script's cookies", but also I have permision to log in.... but this "config button doesn`t apear!!!

Help me !!!!! thnx from slovenia.... :cry:
Title: ADMIN ACCESS ????
Post by: Casper on February 19, 2004, 10:53:10 AM
This warning sometimes appears if your computer clock is wrong.  Check and reset the clock , and try to logon again.  Then look for the 'Admin mode' in the menu.
Title: Where do I reset the clock ???
Post by: djdolfonthemix on February 19, 2004, 11:02:58 AM
Where do I reset the clock ??? HoW ?????? :cry:
Title: ADMIN ACCESS ????
Post by: Casper on February 19, 2004, 11:13:09 AM
your computer clock.  In windows, is at the bottom right of the screen.  Double click on it, and you can change it.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.langportrd.f2s.com%2Fimages%2FScreenShot5.jpg&hash=d9effd0eb757b7ef850c224535f455a9b52cc3ea)

Note, thread moved to support forum.
Title: Hmmmm ???
Post by: djdolfonthemix on February 19, 2004, 11:27:34 AM
I do it that what you tell me about the clock, but it`s the same :(((((

why I cant acess the admin panel ?? uffffaaaa

thnx from slo
Title: ADMIN ACCESS ????
Post by: Casper on February 19, 2004, 11:33:50 AM
Have you set your browser to accept cookies.
Try deleting all your coppermine cookies, and try again.
Can you post a link, or a screenshot.
Title: ADMIN ACCESS ????
Post by: djdolfonthemix on February 19, 2004, 11:58:46 AM
FIRST IMAGE

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.soncna.com%2Fdjdolfonthemix%2Fcopper1.jpg&hash=be92837d9660e11984d6a850cb3478b757d39421)

[size=18]SECOND IMAGE (when I loged)[/size]

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.soncna.com%2Fdjdolfonthemix%2Fcopper2.jpg&hash=16d5a23578cbffcc09d8e6bd895cdf2874fa6c29)
Title: ADMIN ACCESS ????
Post by: Lemmon on February 19, 2004, 12:01:32 PM
this is a cookie problem i have that too at my gallery!

look at the cookie settings in your browser
Title: HMMMm
Post by: djdolfonthemix on February 19, 2004, 12:04:15 PM
Where do I look for settings cookie ??? what is the optimal settings ??
Title: ADMIN ACCESS ????
Post by: Lemmon on February 19, 2004, 12:06:25 PM
are you using ie?

my english is not good but i hope you understand it and i can help you *smile*
Title: ADMIN ACCESS ????
Post by: Lemmon on February 19, 2004, 12:08:01 PM
when you logged in try to press F5 or again on  login
Title: UFFAAAA
Post by: djdolfonthemix on February 19, 2004, 12:16:07 PM
sorry but it`s the same :((((((((((

yes im using ie
Title: ADMIN ACCESS ????
Post by: Lemmon on February 19, 2004, 12:21:28 PM
when you klick on de login button again what message apears?
Title: ...
Post by: djdolfonthemix on February 19, 2004, 12:24:19 PM
apears... "Welcome "my nick"....

and button continue...
Title: ADMIN ACCESS ????
Post by: Lemmon on February 19, 2004, 12:29:33 PM
hmm not "you are allready logged in"

are you using Internet Explorer (ie)?
Title: ...
Post by: djdolfonthemix on February 19, 2004, 12:35:17 PM
yes, im using Internet Explorer....

nooooo, not " you are alredy loged on"....  why ??
Title: ADMIN ACCESS ????
Post by: Lemmon on February 19, 2004, 12:46:46 PM
because this should appear hmmm

then i think its a cookie  problem

Menubar: tools =>Internet options => delete cookies
Menubar: tools =>Internet options => privacy (foor cookie options)
Title: ADMIN ACCESS ????
Post by: djdolfonthemix on February 19, 2004, 12:50:02 PM
yes im make this.... but its same.... fak  :?
Title: ADMIN ACCESS ????
Post by: Lemmon on February 19, 2004, 12:58:18 PM
hmmm

when you want to give me your username and pw per email or PM then i´ll have a look at that!
Title: ADMIN ACCESS ????
Post by: djdolfonthemix on February 19, 2004, 01:05:57 PM
Im use this on localhost... on my pc...
Title: ADMIN ACCESS ????
Post by: Lemmon on February 19, 2004, 01:07:37 PM
oh hmmmm



from where are you?
Title: ADMIN ACCESS ????
Post by: Casper on February 19, 2004, 03:41:35 PM
@djdolfonthemix.  What version of IE are you using?

Try going to 'tools/internet options/privacy', and set to default.  Depending on the version, there may be 'privacy', or 'security', or both.  Set them both to default if you have them.
Title: GRRRR
Post by: djdolfonthemix on February 20, 2004, 07:59:54 AM
Im making that (IE) what you tell me, but its same....

maybe can I cancel or deformate some file in action script (for cookie) ??? maybe that work.... but which file... ??
Title: ADMIN ACCESS ????
Post by: ravenpix on March 11, 2004, 01:21:58 AM
Gosh! I'm having the same ugly problem!
And there's no answer in this Forums ... :-(
I just installed the Coppermine in my LocalHost, looks like everything is ok but can't login as admin (and I'm the only user of this machine!).
I use Mozilla FireFox 0.8.
Each time that I enter my user/password a page saying "Welcome MyName" appear and returns to the Index.php without Login, I mean, after the Welcome message there's no user Loged In.

It could be a problem with the tables in the database?
Cookies? I don't think so, I deleted all the cookies, close the browser and start again and the problem's still here.
How to know if my user/password is the admin of my installation?
PHPMyAdmin says that there's just one user: Me.

Well, I don't know how to solve this yet

Any idea?

Thanks in advance.
Title: ADMIN ACCESS ????
Post by: Joachim Müller on March 11, 2004, 07:53:46 AM
go to coppermine config and set the cookie name to something else. This way, any existing cookies on your hard drive will become obsolte. IE can be very "tricky" on this...

GauGau
Title: ADMIN ACCESS ????
Post by: ravenpix on March 11, 2004, 02:04:37 PM
Quotego to coppermine config and set the cookie name to something else

Sorry Gaugau, It looks easy, but ... where's that info?
I'm searching into coppermine/config.php and coppermine/include/config.inc.php and can't found that piece of code to change!

What's the difference between erase all the cookies and change the name of the cookie?
If there's no cookies it must to work ... but there's no lucky for me (I'll try again later!!!).

Thanks for your reply
Title: ADMIN ACCESS ????
Post by: Casper on March 11, 2004, 04:18:06 PM
Normally, you change the cookie name by logging an as admin, and going into config.  But as you can't log in, you will have to do it with myadminphp, and change it in the config table.
Title: ADMIN ACCESS ????
Post by: ravenpix on March 11, 2004, 06:23:12 PM
Done! But the problem is the same.
Let me see, I changed the cookie name and nothing happened, after to enter my user name and password the system said "Welcome MyName" and backs to the Index page without login!
Maybe I'm doing something wrong with the database configuration:
I have my local (personal) server. PhpMyAdmin says that the table I'm using with coppermine is executed in my Localhost, but the Coppermine System is installed into another address, under the httpdocs/site1/ root, is that ok?

... ¿?
Title: ADMIN ACCESS ????
Post by: Charles on March 14, 2004, 04:03:22 PM
Has anyone figured this out at all?

1.  Deleted Cookies
2.  Renamed Cookies
3.  Tried Opera
4.  Beat head on desk trying to get to Admin Mode
5.  Edited information in database
6.  Un-edited information in database

None of this seems to work; what else is there, is there a way I can temporarily trick Coppermine in to letting me in to "Admin Mode"; I was able to trick config.php in to letting me access it, but there is nothing in there that will fix the problem of not being able to upload pictures to Coppermine.
Title: ADMIN ACCESS ????
Post by: Casper on March 14, 2004, 04:07:38 PM
Try going into your database, open your users table, and create a new user in the admin group, then try logging on using that username.
Title: ADMIN ACCESS ????
Post by: Charles on March 14, 2004, 04:52:31 PM
Just tried that; I've done that before, I did it this time just in case as well with no luck what so ever.

There isn't much that can be done at this point in time so if someone wants to try here are two basic accounts:

name: user / pword: user - Usergroup 2 (Administrator)

The Url is this

http://FaustRealms.ods.org/copper/
Title: ADMIN ACCESS ????
Post by: Casper on March 14, 2004, 06:26:18 PM
I tried to log on, and the same thing happened.

Go into your config table in the database, and check the cookie path is just a single slash '/'.

ps, never post an admin name and password on the public boards.  I a supporter needs it, they will ask for it by PM.  It is a security risk for you otherwise.  I have editted your post to remove it.
Title: ADMIN ACCESS ????
Post by: Charles on March 15, 2004, 02:45:47 AM
That was a temp account; I was fairly certain it wouldn't work right for anyone.

Thanks for trying
Title: ADMIN ACCESS ????
Post by: Charles on March 15, 2004, 02:59:59 AM

Error

SQL-query :  


MySQL said:


#1064 - You have an error in your SQL syntax near 'LIMIT 0, 30' at line 1


This is what I get when I try to browse the tables now; could this be what is causing my trouble?  Mind you now, I haven't a clue as to where this error may actually be located.
Title: ADMIN ACCESS ????
Post by: bananaman on March 15, 2004, 04:13:24 AM
I also get the same error. Further to this, what seems to happen is that every time I log in with my admin username and password, I seem to get redirected back to the login page. I've enabled debug mode have noticed that once I log in, the user information returned is correct for my admin, but then the I get redirected to index.php with anonymous acces.
Title: ADMIN ACCESS ????
Post by: Charles on March 15, 2004, 06:58:46 AM
If you are getting teh same error; then you are using the wrong version of phpmyadmin or something that is not compatable with your SQL database.  I installed an earlier verison of phpmyadmin and it solved my trouble instantly.  It even fixed Coppermine so now I have it up and running :)
Title: ADMIN ACCESS ????
Post by: Joachim Müller on March 15, 2004, 10:42:33 AM
Please post what versions of PHP and mySQL you are running.

GauGau
Title: ADMIN ACCESS ????
Post by: Charles on March 15, 2004, 04:05:43 PM
Windows NT FAUSTSERVER 5.0 build 2195
Apache/1.3.27 (Win32) mod_ssl/2.8.14 OpenSSL/0.9.7b mod_perl/1.27_01-dev PHP/4.3.2-RC2
MySQL 4.0.1-alpha-nt
phpMyAdmin 2.2.7-pl1
Title: ADMIN ACCESS ????
Post by: Charles on March 15, 2004, 04:29:40 PM
If he can't get in to the database using phpmyadmin and check the cookie path; then It may never work.  All I did was go in with phpmyadmin and remove the / for the cookie path, then I put it back in.  Once I did that it worked instantly.  But until he digs in to the database, he may never get it working; there is a chance it will work, but this is what I did.
Title: Re: ADMIN ACCESS ????
Post by: ladstrip on June 03, 2004, 09:40:26 PM
I had the same problem with the install, and followed all the advice but unfortunately I couldn't resolve the problem......Then i temporarily shutdown my firewall (Zonealarm) and the program now works perfectly.
Title: Re: ADMIN ACCESS ????
Post by: night_elf on September 18, 2004, 03:11:50 PM
The same problem

all the work perfectly on the localhost, but when i migrate to red hat 9
i have the problem whith the cookies
others sites on this server work perfectly with cookies

how can i fix the problem
apache2.0
mysql 3.23.58
php 4.3.6