Your Portal Version: 105
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
PHP Version: 3.0.7
What have you done before the problem was there?
SQL error on install
What have you already tryed to solve the problem?
came here first...
Description and Message
I have a clean install of phpBB3 version 3.0.7 installed on a localhost setup for a test board using XAMPP on a MAC. The test board works fine without the portal. I did the mods to install the Portal, and when I run the install file, I get the following error:
General Error
SQL ERROR [ mysql4 ]
Duplicate entry '4-119' for key 'PRIMARY' [1062]
SQL
INSERT INTO phpbb_acl_roles_data (role_id, auth_option_id, auth_setting) VALUES (4, '119', 1)
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()
FILE: install/install_install.php
LINE: 258
CALL: dbal_mysql->sql_query()
FILE: install/install_install.php
LINE: 73
CALL: install_install->load_schema()
FILE: install/index.php
LINE: 279
CALL: install_install->main()
FILE: install/index.php
LINE: 56
CALL: module->load()
I'm a newb at putting this stuff together, so I have no idea what is happening. Any help greatly appreciated!
Thanks,
Pete
SQL error on install
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
-
Topic author - Active Member
- Posts: 10
- Joined: 20. October 2009 16:48
-
- Dev
- Posts: 2504
- Joined: 17. July 2008 21:08
- phpBB.de User: marc1706
- phpBB.com User: Marc
- Location: Clausthal-Zellerfeld / München
- Contact:
Re: SQL error on install
I suppose you have phpmyadmin then?
Open phpmyadmin and run the following sql queries:
After that run the installer again.
Open phpmyadmin and run the following sql queries:
Code: Select all
DELETE FROM phpbb_acl_options WHERE auth_option = 'a_portal_manage';
DELETE FROM phpbb_acl_roles_data WHERE auth_option_id = 119;
DROP TABLE IF EXISTS phpbb_portal_config;
-
Topic author - Active Member
- Posts: 10
- Joined: 20. October 2009 16:48
Re: SQL error on install
Excellent Marc, that did it.
Thanks for your help-
Pete
Thanks for your help-
Pete