Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Can't login as administrator  (Read 6627 times)

0 Members and 1 Guest are viewing this topic.

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« on: March 12, 2004, 01:48:50 pm »

Hi,

I just installed cpg 1.2, but now I can't login as administrator because it can't find the login page?? What have I done wrong? I changed the CHMOD and followed the installation instructions. I use the integration with phpbb.
The url shows: http://www.panhead.nl/coppermine/login.php?referer=%2Findex.php which should be, I think, : http://www.panhead.nl/coppermine/login.php
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Can't login as administrator
« Reply #1 on: March 12, 2004, 05:08:51 pm »

It works fine for me.  Both versions are correct.  The first is just telling coppermine this is the page to return you to after logging in.  The second will take you to the index.php.

This may be related to being bridged to phpbb.  I suggest you check coppermine is working correctly before applying the bridge.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« Reply #2 on: March 12, 2004, 05:20:36 pm »

Thanx, I'll try that.
Logged

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« Reply #3 on: March 12, 2004, 06:12:01 pm »

I did a new install (removed tables & files). All went well, until I wanted to save my new configuration.:
The requested URL /config.php was not found on this server

The URL: http://www.panhead.nl/config.php
(should be http://www.panhead.nl/coppermine/config.php of course). Where do I have adjust the path?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Can't login as administrator
« Reply #4 on: March 12, 2004, 07:23:17 pm »

Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« Reply #5 on: March 12, 2004, 08:33:25 pm »

No. I rename config.php into coppercfg.php and now get: http://www.panhead.nl/coppercfg.php
Looks like somewhere a path is wrong, but where??
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« Reply #7 on: March 13, 2004, 08:38:53 pm »

Thank you for your reply. I applied the changes mentioned, but it still gives the same problems. I can login as administarator and create albums etc, it's just the config that creates the problems. Can it have to do with the fact that I am installing it besides a phpBB2 forum?
Can it be that config.php during installation is put in the wrong directory (the phpBB2 directory)?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Can't login as administrator
« Reply #8 on: March 14, 2004, 12:37:57 pm »

Logged

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« Reply #9 on: March 14, 2004, 12:38:04 pm »

Thanks again for the quick response. I'll try it! But on the other hand, I could install phpBB2 without problem and that has a config.php as well....
Logged

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« Reply #10 on: March 14, 2004, 04:25:29 pm »

I changed <a href="config.php" title="">{CONFIG_LNK}</a> into:
<a href="http://www.mydomain.com/coppermine/coppercfg.php" title="">{CONFIG_LNK}</a>.

When I change the configuration and save I still get the 404 and it still goes one level too high (not in mydomain.com/coppermine/coppercfg.php but to
mydomain/coppercfg.php).
More suggestions??
Logged

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« Reply #11 on: March 14, 2004, 09:22:43 pm »

I have now created a new subdomain, changed config.php --> coppercfg.php and after changing the configuration is just goes back to www.mydomain.nl/coppercfg.php, which of course does not exist. I really don't have a clue, but who has???
Logged

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« Reply #12 on: March 14, 2004, 09:57:43 pm »

I already have another Coppermine album running,can I just make a copy of  all the files and a backup of the database and copy that to the new provider or will that mess things more up?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Can't login as administrator
« Reply #13 on: March 14, 2004, 10:14:08 pm »

You can do a database dump, and you can copy the files, but your include/config.inc.php would need to be edited for the new information.

But if this is caused by a server setup issue, it's unlikely to make any difference.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« Reply #14 on: March 14, 2004, 10:35:51 pm »

That's true. Are there any more files that need to be edited (config.php itself)?
Thanks.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Can't login as administrator
« Reply #15 on: March 14, 2004, 10:43:14 pm »

AFAIK thats all, just the one, but you may want to check that your new config table has the correct paths etc.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« Reply #16 on: March 14, 2004, 11:49:04 pm »

OK, I'll give it a try.
Logged

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« Reply #17 on: March 14, 2004, 11:56:34 pm »

You're right, the same problem. I just don't understand why I could install and configure phpBB2 (with config.php) and not Coppermine. More suggestions??
Logged

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« Reply #18 on: March 15, 2004, 02:29:55 pm »

It also goes wrong when you try to register (www.panhead.nl/coppermine/register.php), so it must be a general link referral problem. It is the same problem as http://forum.coppermine-gallery.net/index.php?topic=2712 , but the solution mentioned there does not work for me.
Logged

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Can't login as administrator
« Reply #19 on: March 16, 2004, 11:18:39 am »

I think I found the solution here: http://forum.coppermine-gallery.net/index.php?topic=4366

I'll do some tests.

Problem solved. Thanks for all input.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.