Can't install Can't install
 

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