Can't install Can't install
 

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]

Main Menu

Can't install

Started by WINDEL_WINNI, February 01, 2008, 02:03:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WINDEL_WINNI

-> Coppermine Photo Gallery v1.4.15

After the start of the install.php I'm typing in the User and SQL-Database settings and click on the button, but then this errors message comes:

Warning: fread() [function.fread]: Length parameter must be greater than 0 in /var/xxx/xxx/gallery/install.php on line 457
Warning: fread() [function.fread]: Length parameter must be greater than 0 in /var/xxx/xxx/gallery/install.php on line 462


lower

The following errors were encountered and need to be corrected first:

mySQL Error: Table 'dbnamexxx.cpg_users' doesn't exist on query 'INSERT INTO cpg_users (user_id, user_group, user_active, user_name, user_password, user_lastvisit, user_regdate, user_group_list, user_email, user_profile1, user_profile2, user_profile3, user_profile4, user_profile5, user_profile6, user_actkey ) VALUES (1, 1, 'YES', 'adminnamexxx', md5('adminpwdxxx'), NOW(), NOW(), '', 'info@mydomain.tld', '', '', '', '', '', '', '')'


I can not find any errors in my settings or DB permissions. They're also in the include/config.inc.php correctly to find. But I always get the same error message. What is to do?

Nibbler

You can ignore the first error. For the second, check the db user you entered has permission to create tables (CREATE privilege) and you used a valid db name.

WINDEL_WINNI

No chance.

(To know: MySQL Client-Version is 5.0.32)

After further missed attempts with the install.php I logged in by PhpMyAdmin into the SQL-database and created the tables manually as are in the sql/schema.sql file to find. Then the install.php did not announce errors. And I can see my user id in (user name, pdw, email) the database. However if I try to log in, with the first attempt it shows that the user name or pwd are false, with the second attempt I got "You are banned from this site". Then I can find my IP in the database, banned for a short time.

I have a db name like this: usr_user123_1, server is localhost