coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: housetier on February 14, 2005, 02:08:43 PM

Title: setting up cpg 1.3.2: "Admin username and password must only contain alphanumeri
Post by: housetier on February 14, 2005, 02:08:43 PM
Moin!

I just downloaded cpg132, and while setting up I get this error:

QuoteAdmin username and password must only contain alphanumeric characters.

I have tried several combinations for user and password, and they all yielded the
same error message. I tried Kupfer/Stahl and steele/t2oCLKuK for example. I am
sure those were alphanumeric.

Having PHP display error messages also does not reveal more. I also checked the
mysql and apache logs but there where no errors.

I have:
cpg 1.3.2
php 4.3.10
mysql 4.0.23
apache2 2.0.53

The webserver has read and write permissions on all the files in the cpg directory.

What can I try to successfully install cpg132?
Title: Re: setting up cpg 1.3.2: "Admin username and password must only contain alphanumeri
Post by: Joachim Müller on February 14, 2005, 05:29:46 PM
if you're absolutely sure you have entered proper data (mind the caps lock key!), you could try uncommenting the routine that checks for valid username and password. Edit install.php, find        test_admin_login();and replace with//        test_admin_login();(not recommended). Probably there's something fishy with your server varr instead. Am I right in guessing that you're self-hosted on a Windoze-box?

Joachim
Title: Re: setting up cpg 1.3.2: "Admin username and password must only contain alphanu
Post by: housetier on February 15, 2005, 02:21:58 AM
Quote from: GauGau on February 14, 2005, 05:29:46 PM
Probably there's something fishy with your server varr instead.

There was; it seemed a certain upgrade to apache2 hadn't made into the package when I dowloaded it.
I just upgraded to newer versions of the apache2 and php4 packages and the installation succeeded.

Quote
Am I right in guessing that you're self-hosted on a Windoze-box?

You were right about self-hosting, but this is a linux box. :-)

Anyway the problem is now solved :-D