forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: panhead on March 12, 2004, 01:48:50 pm

Title: Can't login as administrator
Post by: panhead 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
Title: Can't login as administrator
Post by: Casper 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.
Title: Can't login as administrator
Post by: panhead on March 12, 2004, 05:20:36 pm
Thanx, I'll try that.
Title: Can't login as administrator
Post by: panhead 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?
Title: Can't login as administrator
Post by: Casper on March 12, 2004, 07:23:17 pm
try this thread http://forum.coppermine-gallery.net/index.php?topic=4105
Title: Can't login as administrator
Post by: panhead 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??
Title: Can't login as administrator
Post by: hyperion on March 13, 2004, 03:09:01 am
http://forum.coppermine-gallery.net/index.php?topic=2712
Title: Can't login as administrator
Post by: panhead 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)?
Title: Can't login as administrator
Post by: Joachim Müller on March 14, 2004, 12:37:57 pm
http://forum.coppermine-gallery.net/index.php?topic=3579

GauGau
Title: Can't login as administrator
Post by: panhead 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....
Title: Can't login as administrator
Post by: panhead 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??
Title: Can't login as administrator
Post by: panhead 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???
Title: Can't login as administrator
Post by: panhead 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?
Title: Can't login as administrator
Post by: Casper 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.
Title: Can't login as administrator
Post by: panhead 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.
Title: Can't login as administrator
Post by: Casper 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.
Title: Can't login as administrator
Post by: panhead on March 14, 2004, 11:49:04 pm
OK, I'll give it a try.
Title: Can't login as administrator
Post by: panhead 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??
Title: Can't login as administrator
Post by: panhead 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.
Title: Can't login as administrator
Post by: panhead 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.