Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Can't install  (Read 5345 times)

0 Members and 1 Guest are viewing this topic.

WINDEL_WINNI

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Can't install
« 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?
Logged

Nibbler

  • Guest
Re: Can't install
« Reply #1 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.
Logged

WINDEL_WINNI

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Can't install
« Reply #2 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
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.