I'm not sure what that is about, but I'm hoping it will be fixed when I install the new quick reply (after I use this upgrade script
)
)







@set_time_limit(120);


SQL ERROR [ mysqli ]
Duplicate entry 'rand_seed_last_update' for key 1 [1062]
SQL
INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('rand_seed_last_update', '0', 1)
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 116
CALL: dbal->sql_error()
FILE: upgrade/tables/config.php
LINE: 60
CALL: dbal_mysqli->sql_query()
FILE: upgrade/index.php
LINE: 114
CALL: include('upgrade/tables/config.php')

@set_time_limit(120);

Handyman wrote:Ok... We can fix that.
Put this code on the index.php of the upgrade script.
- Code: Select all
@set_time_limit(120);
If you need more time, it's in seconds... just set it to whatever you need and let me know if it works and how much time you needed to get it to work.


DiegoPino wrote:i test in mi localhost and have that error:
i am upgrade beta 2 to beta 4.
1. Install Phpbb4
2. Copy the config.php file form mi old phpBB3 Beta 2 board to the upgrade directory phpbb4
3. Run the Script and select Option 1Duplicate entry 'rand_seed_last_update' for key 1 [1062]
SQL
INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('rand_seed_last_update', '0', 1)
$sql = 'INSERT INTO ' . CONFIG_TABLE . " (config_name, config_value, is_dynamic) VALUES ('rand_seed_last_update', '0', 1)";
$db->sql_query($sql);
Users browsing this forum: No registered users and 4 guests