coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: WINDEL_WINNI on February 01, 2008, 02:03:45 AM

Title: Can't install
Post by: WINDEL_WINNI on February 01, 2008, 02:03:45 AM
-> 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?
Title: Re: Can't install
Post by: Nibbler on February 01, 2008, 10:35:46 AM
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.
Title: Re: Can't install
Post by: WINDEL_WINNI on February 04, 2008, 02:54:59 AM
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