Can't login as administrator Can't login as administrator
 

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

Can't login as administrator

Started by panhead, March 12, 2004, 01:48:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

panhead

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

Casper

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.
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


panhead

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?

Casper

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

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??

hyperion

"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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

panhead

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)?

Joachim Müller


panhead

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....

panhead

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??

panhead

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???

panhead

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?

Casper

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.
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

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

Casper

AFAIK thats all, just the one, but you may want to check that your new config table has the correct paths etc.
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


panhead

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??

panhead

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.

panhead

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.