News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

upgrading to 2.1.3 stalls...

Started by SeduzioneItaliana, May 09, 2023, 09:06:11 PM

Previous topic - Next topic

SeduzioneItaliana

Hi, i got these errors...

. +++  Implementing admin feature toggles. done.
 +++  Adding advanced password brute force protection to "members" table... done.
 Successful.
 *  +++  Add the columns and the keys to log_actions ... done.
 +++  Add the user log... done.
 +++  Update the information already in log_actions done.
 Successful.
 *  +++  Creating repository table ... done.
 +++  Add in the files to get from Simple Machines... done.
 +++  Ensure that the table has the filetype column done.
 +++  Set the filetype for the files done.
 +++  Ensure that the files from Simple Machines get updated done.
 Successful.
 *  +++  Adding personal message rules table... done.
 +++  Adding new message status columns... done.
 +++  Set the new status to be correct.... done.
 +++  Adding personal message tracking column... done.
 +++  Adding personal message tracking column... done.
. Successful.
 *  +++  Adding Open ID Association table... done.
 +++  Adding column to hold Open ID URL... done.
 Successful.
 *  +++  Creating subscriptions table... done.
 +++  Creating log_subscribed table... done.
 +++  Clean up any pre-2.0 mod settings. done.
 +++  Clean up any pre-2.0 mod settings (part 2). done.
 +++  Confirming paid subscription keys are in place ... done.
 Successful.
 *  +++  Adding scheduled task... done.
 Successful.
 *  +++  Adding pruning option... done.
 Successful.
 *  +++  Adding restore from recycle feature... done.
 Successful.
 *  +++  Changing field_options column to a larger field type... done.
 Successful.
 *  +++  Changing ignore_boards column to a larger field type... done.
 Successful.
 *  +++  Changing event title column to a larger field type... done.
 +++  Changing holidays title column to a larger field type... done.
 Successful.
 *  +++  Adding reset poll timestamp and guest voters counter... done.
 +++  Fixing guest voter tallys on existing polls... done.
 Successful.
 *  +++  Changing all tinytext columns to varchar(255).................. done.
 Successful.
 *  +++  Adding column that stores the PM receiving setting... done.
 +++  Enable the buddy and ignore lists if we have not done so thus far... done.
 Successful.
 *  +++  Add new security settings for attachments and avatars... done.
 +++  Add other attachment settings... done.
 Successful.
 *  +++  Checking for "babylon" and removing it if necessary... done.
 Successful.
 *  +++  Installing new smiley sets... done.
 Successful.
 *  +++  Adding index member_started... done.
 +++  Adding index last_message_sticky... done.
 +++  Adding index board_news... done.
 Successful.
 *  +++  Adding index on total_time_logged_in... done.
 +++  Adding index on id_theme... done.
 +++  Dropping index on real_name(30) ... done.
 +++  Adding index on real_name... done.
 +++  Dropping index member_name(30)... done.
 +++  Adding index on member_name... done.
. Successful.
 *  +++  Adding index id_member_msg... done.
. +++  Adding index current_topic... done.
. +++  Adding index related_ip... done.
. Successful.
 *  +++  Adding index on attachment_type... done.
 Successful.
 *  +++  Removing index on hits... done.
 Successful.
 *  +++  Adding email address and member ip columns... done.
 Successful.
 *  +++  Changing the group type for Administrator group. done.
 Successful.
 *  +++  Updating old values done.
 +++  Changing default values done.
 Successful.
 *  +++  Removing all karma data, if selected done.
 Successful.
 *  +++  Emptying error log, if selected done.
 Successful.
 *  +++  Adding login history... done.
 +++  Copying the current package backup setting... done.
 +++  Copying the current "allow users to disable word censor" setting... done.
 +++  Converting collapsed categories... done.
 +++  Parsing board descriptions and names done.
 +++  Dropping "collapsed_categories" done.
 +++  Adding new "topic_move_any" setting done.
 +++  Adding new "enable_ajax_alerts" setting done.
 +++  Adding new "alerts_auto_purge" setting done.
 +++  Adding new "minimize_files" setting done.
 +++  Collapse object done.
 +++  Adding new "DEFAULTMaxListItems" setting done.
 +++  Adding new "loginHistoryDays" setting done.
 +++  Enable some settings we ripped from Theme settings done.
 +++  Adding new "httponlyCookies" setting done.
 +++  Adding new "samesiteCookies" setting done.
 +++  Calculate appropriate hash cost +++  Disable Moderation Center Security if it doesn't exist done.
 +++  Adding new profile data export settings done.
 +++  Adding settings for marking boards as read done.
 Successful.
 *  +++  Adding more space to the mime_type column. done.
 +++  Converting legacy attachments... done.
 +++  Note attachment conversion complete done.
 +++  Fixing invalid sizes on attachments done.
 +++  Fixing attachment directory setting... done.
 Successful.
 *  +++  Adding new columns to log_group_requests done.
 +++  Adjusting the indexes for log_group_requests done.
 Successful.
 *  +++  Adding support for <credits> tag in package manager done.
. +++  Adding support for package hashes done.
 +++  Adding support for validation servers done.
 +++  Add Package Validation to Downloads Site done.
 +++  Ensure The Simple Machines Customize Site is https done.
 +++  Add validation to Simple Machines Customize Site done.
 Successful.
 *  +++  Altering the session_id columns... done.
 Successful.
 *  +++  Adding new columns to topics .. done.
 Successful.
 *  +++  Adding a new column "callable" to scheduled_tasks table done.
 +++  Adding new scheduled tasks done.
 +++  Adding a new task-related setting... done.
 +++  Remove old tasks added by modifications... done.
 +++  Adding the new table done.
 Successful.
 *  +++  Adding new columns to boards... done.
 Successful.
 *  +++  Adding the boardindex_max_depth setting. done.
 Successful.
 *  +++  Removing manage_boards permission done.
 Successful.
 *  +++  Adding new columns to categories... done.
 Successful.
 *  +++  Adding the count to the members table... done.
 +++  Adding the new table for alerts. done.
 +++  Adding alert preferences. done.
 +++  Upgrading post notification settings done.
 +++  Dropping old notification fields from the members table done.
 +++  Creating alert prefs for watched topics
Fatal error: Uncaught Error: Call to undefined function allowedTo() in C:\wamp64\www\seduzioneitaliana\forum\S
ources\Subs-Db-mysql.php on line 708

Error: Call to undefined function allowedTo() in C:\wamp64\www\seduzioneitaliana\forum\Sources\Subs-Db-mysql.p
hp on line 708

Call Stack:
    0.0127    1339000   1. {main}() C:\wamp64\www\seduzioneitaliana\forum\upgrade.php:0
    0.2425    5263576   2. DatabaseChanges() C:\wamp64\www\seduzioneitaliana\forum\upgrade.php:357
  204.0224    5656056   3. parse_sql($filename = 'C:\\wamp64\\www\\seduzioneitaliana\\forum/upgrade_2-1_mysql.
sql') C:\wamp64\www\seduzioneitaliana\forum\upgrade.php:1813
  210.1220    8630128   4. eval('C:\wamp64\www\seduzioneitaliana\forum\upgrade.php(2323) : eval()'d code') C:\
wamp64\www\seduzioneitaliana\forum\upgrade.php:2323
  210.1945   19683800   5. smf_db_insert($method = 'ignore', $table = '{db_prefix}user_alerts_prefs', $columns
 = ['id_member' => 'int', 'alert_pref' => 'string', 'alert_value' => 'string'], $data = [0 => ['id_member' =>
'11', 'alert_pref' => 'topic_notify_3', 'alert_value' => '1'], 1 => ['id_member' => '11', 'alert_pref' => 'top
ic_notify_6', 'alert_value' => '1'], 2 => ['id_member' => '12', 'alert_pref' => 'topic_notify_7', 'alert_value
' => '1'], 3 => ['id_member' => '28', 'alert_pref' => 'topic_notify_8', 'alert_value' => '1'], 4 => ['id_membe
r' => '310', 'alert_pref' => 'topic_notify_8', 'alert_value' => '1'], 5 => ['id_member' => '114', 'alert_pref'
 => 'topic_notify_14', 'alert_value' => '1'], 6 => ['id_member' => '12439', 'alert_pref' => 'topic_notify_14',
 'alert_value' => '1'], 7 => ['id_member' => '142', 'alert_pref' => 'topic_notify_60', 'alert_value' => '1'],
8 => ['id_member' => '7', 'alert_pref' => 'topic_notify_70', 'alert_value' => '1'], 9 => ['id_member' => '42',
 'alert_pref' => 'topic_notify_75', 'alert_value' => '1'], 10 => ['id_member' => '7', 'alert_pref' => 'topic_n
otify_80', 'alert_value' => '1'], 11 => ['id_member' => '142', 'alert_pref' => 'topic_notify_86', 'alert_value
' => '1'], 12 => ['id_member' => '561', 'alert_pref' => 'topic_notify_88', 'alert_value' => '1'], 13 => ['id_m
ember' => '1371', 'alert_pref' => 'topic_notify_88', 'alert_value' => '1'], 14 => ['id_member' => '1595', 'ale
rt_pref' => 'topic_notify_88', 'alert_value' => '1'], 15 => ['id_member' => '2', 'alert_pref' => 'topic_notify
_105', 'alert_value' => '1'], 16 => ['id_member' => '1209', 'alert_pref' => 'topic_notify_112', 'alert_value'
=> '1'], 17 => ['id_member' => '415', 'alert_pref' => 'topic_notify_113', 'alert_value' => '1'], 18 => ['id_me
mber' => '885', 'alert_pref' => 'topic_notify_113', 'alert_value' => '1'], 19 => ['id_member' => '253', 'alert
_pref' => 'topic_notify_131', 'alert_value' => '1'], 20 => ['id_member' => '142', 'alert_pref' => 'topic_notif
y_133', 'alert_value' => '1'], 21 => ['id_member' => '310', 'alert_pref' => 'topic_notify_133', 'alert_value'
=> '1'], 22 => ['id_member' => '353', 'alert_pref' => 'topic_notify_133', 'alert_value' => '1'], 23 => ['id_me
mber' => '11086', 'alert_pref' => 'topic_notify_135', 'alert_value' => '1'], 24 => ['id_member' => '12174', 'a
lert_pref' => 'topic_notify_135', 'alert_value' => '1'], 25 => ['id_member' => '310', 'alert_pref' => 'topic_n
otify_146', 'alert_value' => '1'], 26 => ['id_member' => '561', 'alert_pref' => 'topic_notify_146', 'alert_val
ue' => '1'], 27 => ['id_member' => '7', 'alert_pref' => 'topic_notify_158', 'alert_value' => '1'], 28 => ['id_
member' => '11533', 'alert_pref' => 'topic_notify_164', 'alert_value' => '1'], 29 => ['id_member' => '7', 'ale
rt_pref' => 'topic_notify_178', 'alert_value' => '1'], 30 => ['id_member' => '806', 'alert_pref' => 'topic_not
ify_178', 'alert_value' => '1'], 31 => ['id_member' => '1580', 'alert_pref' => 'topic_notify_178', 'alert_valu
e' => '1'], 32 => ['id_member' => '1902', 'alert_pref' => 'topic_notify_178', 'alert_value' => '1'], 33 => ['i
d_member' => '6944', 'alert_pref' => 'topic_notify_178', 'alert_value' => '1'], 34 => ['id_member' => '10598',
 'alert_pref' => 'topic_notify_178', 'alert_value' => '1'], 35 => ['id_member' => '10695', 'alert_pref' => 'to
pic_notify_178', 'alert_value' => '1'], 36 => ['id_member' => '11213', 'alert_pref' => 'topic_notify_178', 'al
ert_value' => '1'], 37 => ['id_member' => '11605', 'alert_pref' => 'topic_notify_178', 'alert_value' => '1'],
38 => ['id_member' => '142', 'alert_pref' => 'topic_notify_183', 'alert_value' => '1'], 39 => ['id_member' =>
'2', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 40 => ['id_member' => '66', 'alert_pref' => 't
opic_notify_195', 'alert_value' => '1'], 41 => ['id_member' => '214', 'alert_pref' => 'topic_notify_195', 'ale
rt_value' => '1'], 42 => ['id_member' => '285', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 43
=> ['id_member' => '289', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 44 => ['id_member' => '41
5', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 45 => ['id_member' => '524', 'alert_pref' => 't
opic_notify_195', 'alert_value' => '1'], 46 => ['id_member' => '693', 'alert_pref' => 'topic_notify_195', 'ale
rt_value' => '1'], 47 => ['id_member' => '806', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 48
=> ['id_member' => '1121', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 49 => ['id_member' => '1
138', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 50 => ['id_member' => '1197', 'alert_pref' =>
 'topic_notify_195', 'alert_value' => '1'], 51 => ['id_member' => '1265', 'alert_pref' => 'topic_notify_195',
'alert_value' => '1'], 52 => ['id_member' => '1371', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1']
, 53 => ['id_member' => '1474', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 54 => ['id_member'
=> '1596', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 55 => ['id_member' => '1625', 'alert_pre
f' => 'topic_notify_195', 'alert_value' => '1'], 56 => ['id_member' => '1902', 'alert_pref' => 'topic_notify_1
95', 'alert_value' => '1'], 57 => ['id_member' => '3397', 'alert_pref' => 'topic_notify_195', 'alert_value' =>
 '1'], 58 => ['id_member' => '7173', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 59 => ['id_mem
ber' => '7321', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 60 => ['id_member' => '10002', 'ale
rt_pref' => 'topic_notify_195', 'alert_value' => '1'], 61 => ['id_member' => '12138', 'alert_pref' => 'topic_n
otify_195', 'alert_value' => '1'], 62 => ['id_member' => '12157', 'alert_pref' => 'topic_notify_195', 'alert_v
alue' => '1'], 63 => ['id_member' => '12159', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 64 =>
 ['id_member' => '12298', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 65 => ['id_member' => '12
325', 'alert_pref' => 'topic_notify_195', 'alert_value' => '1'], 66 => ['id_member' => '310', 'alert_pref' =>
'topic_notify_202', 'alert_value' => '1'], 67 => ['id_member' => '7', 'alert_pref' => 'topic_notify_212', 'ale
rt_value' => '1'], 68 => ['id_member' => '1647', 'alert_pref' => 'topic_notify_212', 'alert_value' => '1'], 69
 => ['id_member' => '5942', 'alert_pref' => 'topic_notify_212', 'alert_value' => '1'], 70 => ['id_member' => '
10002', 'alert_pref' => 'topic_notify_212', 'alert_value' => '1'], 71 => ['id_member' => '10319', 'alert_pref'
 => 'topic_notify_212', 'alert_value' => '1'], 72 => ['id_member' => '173', 'alert_pref' => 'topic_notify_224'
, 'alert_value' => '1'], 73 => ['id_member' => '526', 'alert_pref' => 'topic_notify_241', 'alert_value' => '1'
], 74 => ['id_member' => '905', 'alert_pref' => 'topic_notify_275', 'alert_value' => '1'], 75 => ['id_member'
=> '7', 'alert_pref' => 'topic_notify_279', 'alert_value' => '1'], 76 => ['id_member' => '42', 'alert_pref' =>
 'topic_notify_279', 'alert_value' => '1'], 77 => ['id_member' => '98', 'alert_pref' => 'topic_notify_279', 'a
lert_value' => '1'], 78 => ['id_member' => '289', 'alert_pref' => 'topic_notify_287', 'alert_value' => '1'], 7
9 => ['id_member' => '473', 'alert_pref' => 'topic_notify_287', 'alert_value' => '1'], 80 => ['id_member' => '
524', 'alert_pref' => 'topic_notify_287', 'alert_value' => '1'], 81 => ['id_member' => '1138', 'alert_pref' =>
 'topic_notify_287', 'alert_value' => '1'], 82 => ['id_member' => '10598', 'alert_pref' => 'topic_notify_291',
 'alert_value' => '1'], 83 => ['id_member' => '10695', 'alert_pref' => 'topic_notify_291', 'alert_value' => '1
'], 84 => ['id_member' => '403', 'alert_pref' => 'topic_notify_296', 'alert_value' => '1'], 85 => ['id_member'
 => '7', 'alert_pref' => 'topic_notify_300', 'alert_value' => '1'], 86 => ['id_member' => '142', 'alert_pref'
=> 'topic_notify_300', 'alert_value' => '1'], 87 => ['id_member' => '624', 'alert_pref' => 'topic_notify_300',
 'alert_value' => '1'], 88 => ['id_member' => '1308', 'alert_pref' => 'topic_notify_317', 'alert_value' => '1'
], 89 => ['id_member' => '1322', 'alert_pref' => 'topic_notify_317', 'alert_value' => '1'], 90 => ['id_member'
 => '85', 'alert_pref' => 'topic_notify_318', 'alert_value' => '1'], 91 => ['id_member' => '253', 'alert_pref'
 => 'topic_notify_318', 'alert_value' => '1'], 92 => ['id_member' => '491', 'alert_pref' => 'topic_notify_318'
, 'alert_value' => '1'], 93 => ['id_member' => '1566', 'alert_pref' => 'topic_notify_318', 'alert_value' => '1
'], 94 => ['id_member' => '1596', 'alert_pref' => 'topic_notify_318', 'alert_value' => '1'], 95 => ['id_member
' => '1636', 'alert_pref' => 'topic_notify_318', 'alert_value' => '1'], 96 => ['id_member' => '1690', 'alert_p
ref' => 'topic_notify_318', 'alert_value' => '1'], 97 => ['id_member' => '5124', 'alert_pref' => 'topic_notify
_318', 'alert_value' => '1'], 98 => ['id_member' => '5136', 'alert_pref' => 'topic_notify_318', 'alert_value'
=> '1'], 99 => ['id_member' => '10150', 'alert_pref' => 'topic_notify_318', 'alert_value' => '1'], 100 => ['id
_member' => '142', 'alert_pref' => 'topic_notify_325', 'alert_value' => '1'], 101 => ['id_member' => '2', 'ale
rt_pref' => 'topic_notify_326', 'alert_value' => '1'], 102 => ['id_member' => '7', 'alert_pref' => 'topic_noti
fy_328', 'alert_value' => '1'], 103 => ['id_member' => '12174', 'alert_pref' => 'topic_notify_331', 'alert_val
ue' => '1'], 104 => ['id_member' => '2', 'alert_pref' => 'topic_notify_332', 'alert_value' => '1'], 105 => ['i
d_member' => '42', 'alert_pref' => 'topic_notify_332', 'alert_value' => '1'], 106 => ['id_member' => '585', 'a
lert_pref' => 'topic_notify_332', 'alert_value' => '1'], 107 => ['id_member' => '7', 'alert_pref' => 'topic_no
tify_334', 'alert_value' => '1'], 108 => ['id_member' => '49', 'alert_pref' => 'topic_notify_334', 'alert_valu
e' => '1'], 109 => ['id_member' => '12157', 'alert_pref' => 'topic_notify_334', 'alert_value' => '1'], 110 =>
['id_member' => '7', 'alert_pref' => 'topic_notify_345', 'alert_value' => '1'], 111 => ['id_member' => '7', 'a
lert_pref' => 'topic_notify_350', 'alert_value' => '1'], 112 => ['id_member' => '7', 'alert_pref' => 'topic_no
tify_355', 'alert_value' => '1'], 113 => ['id_member' => '42', 'alert_pref' => 'topic_notify_358', 'alert_valu
e' => '1'], 114 => ['id_member' => '3397', 'alert_pref' => 'topic_notify_358', 'alert_value' => '1'], 115 => [
'id_member' => '4066', 'alert_pref' => 'topic_notify_358', 'alert_value' => '1'], 116 => ['id_member' => '9979
', 'alert_pref' => 'topic_notify_358', 'alert_value' => '1'], 117 => ['id_member' => '10085', 'alert_pref' =>
'topic_notify_358', 'alert_value' => '1'], 118 => ['id_member' => '10598', 'alert_pref' => 'topic_notify_358',
 'alert_value' => '1'], 119 => ['id_member' => '10682', 'alert_pref' => 'topic_notify_358', 'alert_value' => '
1'], 120 => ['id_member' => '10931', 'alert_pref' => 'topic_notify_358', 'alert_value' => '1'], 121 => ['id_me
mber' => '11024', 'alert_pref' => 'topic_notify_358', 'alert_value' => '1'], 122 => ['id_member' => '11605', '
alert_pref' => 'topic_notify_358', 'alert_value' => '1'], 123 => ['id_member' => '7', 'alert_pref' => 'topic_n
otify_365', 'alert_value' => '1'], 124 => ['id_member' => '7', 'alert_pref' => 'topic_notify_369', 'alert_valu
e' => '1'], 125 => ['id_member' => '7', 'alert_pref' => 'topic_notify_384', 'alert_value' => '1'], 126 => ['id
_member' => '310', 'alert_pref' => 'topic_notify_384', 'alert_value' => '1'], 127 => ['id_member' => '7', 'ale
rt_pref' => 'topic_notify_391', 'alert_value' => '1'], ...], $keys = [0 => 'id_member', 1 => 'alert_pref'], $r
eturnmode = ???, $connection = ???) C:\wamp64\www\seduzioneitaliana\forum\upgrade.php(2323) : eval()'d code:29

  211.0667   23136776   6. smf_db_query($identifier = '', $db_string = '\n\t\t\tINSERT IGNORE INTO smf_user_al
erts_prefs(`id_member`, `alert_pref`, `alert_value`)\n\t\t\tVALUES\n\t\t\t\t(11, \'topic_notify_3\', \'1\'),\n
\t\t\t\t(11, \'topic_notify_6\', \'1\'),\n\t\t\t\t(12, \'topic_notify_7\', \'1\'),\n\t\t\t\t(28, \'topic_notif
y_8\', \'1\'),\n\t\t\t\t(310, \'topic_notify_8\', \'1\'),\n\t\t\t\t(114, \'topic_notify_14\', \'1\'),\n\t\t\t\
t(12439, \'topic_notify_14\', \'1\'),\n\t\t\t\t(142, \'topic_notify_60\', \'1\'),\n\t\t\t\t(7, \'topic_notify_
70\', \'1\'),\n\t\t\t\t(42, \'topic_notify_75\', \'1\'),\n\t\t\t\t(7, \'topic_notify_80\', \'1\'),\n\t\t\t\t(1
42, \'topic_notify_86\', \'1\'),\n\t\t\t\t(56'..., $db_values = ['security_override' => TRUE, 'db_error_skip'
=> FALSE], $connection = class mysqli { public string|int $affected_rows = *uninitialized*; public string $cli
ent_info = *uninitialized*; public int $client_version = *uninitialized*; public int $connect_errno = *uniniti
alized*; public ?string $connect_error = *uninitialized*; public int $errno = *uninitialized*; public string $
error = *uninitialized*; public array $error_list = *uninitialized*; public int $field_count = *uninitialized*
; public string $host_info = *uninitialized*; public ?string $info = *uninitialized*; public string|int $inser
t_id = *uninitialized*; public string $server_info = *uninitialized*; public int $server_version = *uninitiali
zed*; public string $sqlstate = *uninitialized*; public int $protocol_version = *uninitialized*; public int $t
hread_id = *uninitialized*; public int $warning_count = *uninitialized* }) C:\wamp64\www\seduzioneitaliana\for
um\Sources\Subs-Db-mysql.php:802
  211.0676   23136776   7. smf_db_error($db_string = '\n\t\t\tINSERT IGNORE INTO smf_user_alerts_prefs(`id_mem
ber`, `alert_pref`, `alert_value`)\n\t\t\tVALUES\n\t\t\t\t(11, \'topic_notify_3\', \'1\'),\n\t\t\t\t(11, \'top
ic_notify_6\', \'1\'),\n\t\t\t\t(12, \'topic_notify_7\', \'1\'),\n\t\t\t\t(28, \'topic_notify_8\', \'1\'),\n\t
\t\t\t(310, \'topic_notify_8\', \'1\'),\n\t\t\t\t(114, \'topic_notify_14\', \'1\'),\n\t\t\t\t(12439, \'topic_n
otify_14\', \'1\'),\n\t\t\t\t(142, \'topic_notify_60\', \'1\'),\n\t\t\t\t(7, \'topic_notify_70\', \'1\'),\n\t\
t\t\t(42, \'topic_notify_75\', \'1\'),\n\t\t\t\t(7, \'topic_notify_80\', \'1\'),\n\t\t\t\t(142, \'topic_notify
_86\', \'1\'),\n\t\t\t\t(56'..., $connection = class mysqli { public string|int $affected_rows = *uninitialize
d*; public string $client_info = *uninitialized*; public int $client_version = *uninitialized*; public int $co
nnect_errno = *uninitialized*; public ?string $connect_error = *uninitialized*; public int $errno = *uninitial
ized*; public string $error = *uninitialized*; public array $error_list = *uninitialized*; public int $field_c
ount = *uninitialized*; public string $host_info = *uninitialized*; public ?string $info = *uninitialized*; pu
blic string|int $insert_id = *uninitialized*; public string $server_info = *uninitialized*; public int $server
_version = *uninitialized*; public string $sqlstate = *uninitialized*; public int $protocol_version = *uniniti
alized*; public int $thread_id = *uninitialized*; public int $warning_count = *uninitialized* }) C:\wamp64\www
\seduzioneitaliana\forum\Sources\Subs-Db-mysql.php:494


c:\wamp64\bin\php\php8.2.0>

SeduzioneItaliana

i'm very ignorant about SQL, but, if that can help, reading the error log i read "Id_meber 1".
The member n1, does'nt exists in my forum.

user58389239

Have you tried a command line upgrade? The GUI upgrade stalled for me but the CLI upgrade happened without any trouble.

user58389239

I see you are running WAMP...I think you can still run PHP command line from WAMP, as per this video (I am not an expert on this...DYOR)

https://www.youtube.com/watch?v=pAV9U5I8sfs

SeduzioneItaliana

Quote from: user58389239 on May 11, 2023, 11:00:46 AMHave you tried a command line upgrade? The GUI upgrade stalled for me but the CLI upgrade happened without any trouble.
Thank you  user58389239.
Yes, in the last attempt i used CLI interface as advised by shawnb61. The error report il a ctrl+c from my windows prompt. Now there is a clue from which to start. Knowing how to read it...  :-\

SeduzioneItaliana

i did a new attempt upgrading to 2.0.
I got some errors upgrading (from cli) in
Calculating attachment mime types.Error: Use of undefined constant files - assumed 'files' File: C:\wamp
64\www\seduzioneitaliana\forum\upgrade.php(2439) : eval()'d code Line: 91Error: Use of undefined constant file
s - assumed 'files' File: C:\wamp64\www\seduzioneitaliana\forum\upgrade.php(2439) : eval()'d code Line...
(repeating many times)


Forum runs, but reading PM's i got this error:

Unknown column 'pm.from_name' in 'field list'
File: C:\wamp64\www\seduzioneitaliana\forum\Sources\PersonalMessage.php
Riga: 896

Any ideas? Thanks for alls

SeduzioneItaliana

Quote from: SeduzioneItaliana on May 11, 2023, 03:10:29 PMForum runs, but reading PM's i got this error:
Unknown column 'pm.from_name' in 'field list'
File: C:\wamp64\www\seduzioneitaliana\forum\Sources\PersonalMessage.php
Riga: 896
This is solved: the 2.0 update on my database has a bug: the column fromName it's copied whithout renaming it "from_name".
Other error remains unsolved.

I retry to update directly to 2.1.3, but upgrade stops at:

Fatal error: Uncaught Error: Call to undefined function allowedTo() in C:\wamp64\www\seduzioneitaliana\forum\S
ources\Subs-Db-mysql.php:708
Stack trace:
#0 C:\wamp64\www\seduzioneitaliana\forum\Sources\Subs-Db-mysql.php(494): smf_db_error('\n\t\t\tINSERT IGNO...'
, Object(mysqli))
#1 C:\wamp64\www\seduzioneitaliana\forum\Sources\Subs-Db-mysql.php(802): smf_db_query('', '\n\t\t\tINSERT IGNO
...', Array, Object(mysqli))
#2 C:\wamp64\www\seduzioneitaliana\forum\upgrade.php(2323) : eval()'d code(33): smf_db_insert('ignore', 'smf_u
ser_alerts...', Array, Array, Array)
#3 C:\wamp64\www\seduzioneitaliana\forum\upgrade.php(2323): eval()
#4 C:\wamp64\www\seduzioneitaliana\forum\upgrade.php(1813): parse_sql('C:\\wamp64\\www\\s...')
#5 C:\wamp64\www\seduzioneitaliana\forum\upgrade.php(357): DatabaseChanges()
#6 {main}
  thrown in C:\wamp64\www\seduzioneitaliana\forum\Sources\Subs-Db-mysql.php on line 708

SeduzioneItaliana

I tried an infinite number of times, trying all possible combinations whithout results: all times i got the same PHP error.
The error message with php 8.2 its very long (i posted it). With php 7,4/7.2  its shorter.
Anyone can understand something in this message? Thanks a lot...

Environment of the last failed update:
windows 7
wampserver 3.3.1 64 bit
Apache 2.4.39 SSL on with the original certificates of my site.
trayed PHP 7.2.10 /8.0.0 /8.1.18/8,2.0, but same error
MySQL 5.6.41 / 5.7.23 Same error

The error (PHP 7.2 version ) throught CLI interface:
Fatal error: Uncaught Error: Call to undefined function allowedTo() in C:\wamp64\www\seduzioneitaliana\forum\Sources\Subs-Db-mysql.php:708
Stack trace:
#0 C:\wamp64\www\seduzioneitaliana\forum\Sources\Subs-Db-mysql.php(494): smf_db_error('\n\t\t\tINSERT IGNO...', Object(mysqli))
#1 C:\wamp64\www\seduzioneitaliana\forum\Sources\Subs-Db-mysql.php(811): smf_db_query('', '\n\t\t\tINSERT IGNO...', Array, Object(mysqli))
#2 C:\wamp64\www\seduzioneitaliana\forum\upgrade.php(2323) : eval()'d code(33): smf_db_insert('ignore', 'smf_user_alerts...', Array, Array, Array)
#3 C:\wamp64\www\seduzioneitaliana\forum\upgrade.php(2323): eval()
#4 C:\wamp64\www\seduzioneitaliana\forum\upgrade.php(1813): parse_sql('C:\\wamp64\\www\\s...')
#5 C:\wamp64\www\seduzioneitaliana\forum\upgrade.php(357): DatabaseChanges()
#6 {main}
  thrown in C:\wamp64\www\seduzioneitaliana\forum\Sources\Subs-Db-mysql.php on line 708

c:\wamp64\bin\php\php7.2.10>

Sir Osis of Liver

No offense, but you're making a hairball out of a basically straightforward process.  Go back to your host account, restore your original forum in php 5, and start from there.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

SeduzioneItaliana

Quote from: Sir Osis of Liver on May 12, 2023, 09:19:31 PMNo offense, but you're making a hairball out of a basically straightforward process.  Go back to your host account, restore your original forum in php 5, and start from there.
Thanks for the support, sir, but maybe you didn't read all my posts: I did what you tell me a number of times greater than the number of my hair... It's been 7 nights that I don't sleep to attempt the upgrade, and it doesn't work. The process stops. I reported the error codes, tried all the solutions I was given, but the problem remains. I can't upgrade. If you have any good advice, I will be grateful. Have a nice day

Sir Osis of Liver

Your forum appears to be running normally in 1.1.21, everything I've looked at works.  You are definitely not in php 8.  There are some customizations, but they shouldn't be preventing upgrade in situ, unless you have a server problem.  Are you on shared hosting?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

SeduzioneItaliana

Quote from: Sir Osis of Liver on May 13, 2023, 05:00:51 PMYour forum appears to be running normally in 1.1.21, everything I've looked at works.  You are definitely not in php 8.  There are some customizations, but they shouldn't be preventing upgrade in situ, unless you have a server problem.  Are you on shared hosting?
Thank you for your interest, Sir.
Yes, they are on a share server. But the thing I can't figure out is:
the first time I tried the update on the server, I put through c-panel the server i PHP 8 and launch the update (in Italian).  The upgrade succeeds, but readings PM's give an error. two days ago i realized after many attempts that the error was due to an upgrade bug, which on my database does not rename the personal messages column. Not understanding what had happened, I reloaded php 5, put back the original database and tried the upgrade again. It worked, but I couldn't stay logged in anymore. I opened this thread, trying a big number of times to upgrade in local mode and two other times on server, but i do not succeeds to upgrade.
It seems that upgrading, can did some modifications to the original data.
Trying in local, i found some strange errors in database. Someone are revelated only with particular combinations of mysql ans php. For example, i find an error when the upgrade works on calendar:
if the process find a date in format 0000-00-00 it can to change it in 0001-01-01. My upgrade stop working and give error. After many times, i understand that this error i's not due to dates of events, but by the cal_maxyear parameter in the options tab of database. In my database, it was 2020. And the update fails... I correct in 2050 and the update go.
This just to explian you that probably  there are many little reasons due to bad mods installed in the time,  who don't give the upgrade process so easy. I have only to understand what they are and solve it before upgrade. That's the reason i share my upgrade errors.
Thank you for your time.   


Sir Osis of Liver

Are you seeing any forum or database errors in your 1.1.21 install?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

SeduzioneItaliana

Quote from: Sir Osis of Liver on May 13, 2023, 10:26:00 PMAre you seeing any forum or database errors in your 1.1.21 install?
Yes.
1) Upgrading to v2.0 with mysql> 5.5 give an error like this:
"it seems your forum files are in 1.1.21 and database in 1.1.14. Run upgrade 1.1.21 to correct"

2) Traying to upgrading, depending of the mysql version used during the upgrade process, after the upgrade the calendar do non opens. The error is like "bad yead" and it's in cal_maxyear parameter set under the current year.

3)After the first 2.1.3 upgrade failed, i restore database and i tried to  find error in the forum with the admin panel routine. I found a very hight number of messages that are send but do not exists.
The routine asks to correct the error, and the PMs are deleted. In this case, the database becomes smaller by about 4 megabytes.

That's all...



Sir Osis of Liver

Your database may be damaged.  What is smfVersion in _settings table?  Have you tried running 1.1.21 upgrade on database?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

SeduzioneItaliana

Quote from: Sir Osis of Liver on May 14, 2023, 01:18:20 PMYour database may be damaged.  What is smfVersion in _settings table?  Have you tried running 1.1.21 upgrade on database?
Yes Sir, i did it, because in the field you means, the database version was 1.1.14. But i got everityme the same error.

I solve the error:
"The directory: c:\wamp64\seduzioneitaliana.com\forum\avs has to be vritable to continue the upgrade.MAke sure..."

the error is not due to due ".com" in the directory, because i cange it in "seduzioneitaliana\forum\ and got the same error.

The cause of the error its repair_settings.php, who do not recognise the path of the directory "avs".
The upgrade process take it from _settings table, where it finds the directory of my on line site.
Changed it in the database, the error "directory not writable" disappears.

Sir Osis of Liver

Are you now able to upgrade to 2.0/2.1?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

SeduzioneItaliana

Quote from: Sir Osis of Liver on May 15, 2023, 01:50:42 PMAre you now able to upgrade to 2.0/2.1?
No sir, I did these things a couple of days ago and was able to update up to 2.0.19. But I still can't update to 2.1. Neither 2.0 nor 1.1.21.

I think there is some error in my data, which does not allow the upgrade. BUT I don't understand what, because the forum runs.

TwitchisMental

#38
Quote from: SeduzioneItaliana on May 15, 2023, 02:23:33 PM
Quote from: Sir Osis of Liver on May 15, 2023, 01:50:42 PMAre you now able to upgrade to 2.0/2.1?
No sir, I did these things a couple of days ago and was able to update up to 2.0.19. But I still can't update to 2.1. Neither 2.0 nor 1.1.21.

I think there is some error in my data, which does not allow the upgrade. BUT I don't understand what, because the forum runs.
Could you provide a bit more specific on what you did?

What errors you are getting when trying to update to 2.1.3?

Is 2.0.19 functioning properly?

The more details that you provide for us, will help us better solve the issue/s that you are having.

shawnb61

I think I know what the problem is.   

FYI, SeduzioneItaliana sent me a cleansed copy of the DB in question.  I can reproduce the issues.  I have PM'd a couple things to try, let's see if that works. 

If so, I'll share the solution here.

Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Advertisement: