This url seems to be wrong.by Marc » 26 Jun 2022
...
You can find the key highlights of this release below and a list of all issues fixed on our tracker at https://tracker.phpbb.com/issues/?filter=16091
Code: Select all
<!-- PHP -->
if($_SESSION['valid_subscription'] == 1) {
// display forum here
} else {
echo '<div class="alert alert-warning"><h4>This section is for subscribers only</h4></div>';
}
</-- ENDPHP -->
Code: Select all
General Error:SQL ERROR [ mysqli ]Unknown column 'pf_phpbb_youtube' in 'where clause' [1054]SQLUPDATE phpbb_profile_fields_data SET pf_phpbb_youtube = CONCAT('https://youtube.com/user/', pf_phpbb_youtube) WHERE pf_phpbb_youtube '' AND pf_phpbb_youtube NOT LIKE '%youtube.com/%' in file /phpbb/db/driver/driver.php on line 1023
[phpBB Debug] "Trying to access array offset on value of type bool" in file /install/update/new/phpbb/db/migration/data/v33x/profilefield_youtube_update.php on line 33
The link is working, but you need to be logged in at tracker.phpbb.com as alwaysScanialady wrote: ↑Sun Jun 26, 2022 9:07 pmThis url seems to be wrong.by Marc » 26 Jun 2022
...
You can find the key highlights of this release below and a list of all issues fixed on our tracker at https://tracker.phpbb.com/issues/?filter=16091
I actually fixed the visibility just this morning.
The recommended way of handling this is via a small extension that employs our events system. If you need a more detailed help with that, we'll be happy to support you. Please open a topic in the appropriate section.Frank Rizzo wrote: ↑Sun Jun 26, 2022 10:43 pm With reference to the deprecation of <!-- PHP -->
I use this in order to process session information from another part of my website; namely subscriptions and to show / limit various parts of the forum. How can I now do this if I can't run my own PHP code?
simplified example
Code: Select all
<!-- PHP --> if($_SESSION['valid_subscription'] == 1) { // display forum here } else { echo '<div class="alert alert-warning"><h4>This section is for subscribers only</h4></div>'; } </-- ENDPHP -->
Can you open a bug report for that? Will have to check how we end up here, as I didn't run into any issues when updating boards from various versions to 3.3.8 on multiple DB systems (incl. MySQL).KillBill. wrote: ↑Sun Jun 26, 2022 11:20 pm phpBB 3.3.8 update error
If there are no custom profile fields, the next error will stop the update at 17%.
Code: Select all
General Error:SQL ERROR [ mysqli ]Unknown column 'pf_phpbb_youtube' in 'where clause' [1054]SQLUPDATE phpbb_profile_fields_data SET pf_phpbb_youtube = CONCAT('https://youtube.com/user/', pf_phpbb_youtube) WHERE pf_phpbb_youtube '' AND pf_phpbb_youtube NOT LIKE '%youtube.com/%' in file /phpbb/db/driver/driver.php on line 1023 [phpBB Debug] "Trying to access array offset on value of type bool" in file /install/update/new/phpbb/db/migration/data/v33x/profilefield_youtube_update.php on line 33
NOT confirmed:KillBill. wrote: ↑Sun Jun 26, 2022 11:20 pm phpBB 3.3.8 update error
If there are no custom profile fields, the next error will stop the update at 17%.
Code: Select all
General Error:SQL ERROR [ mysqli ]Unknown column 'pf_phpbb_youtube' in 'where clause' [1054]SQLUPDATE phpbb_profile_fields_data SET pf_phpbb_youtube = CONCAT('https://youtube.com/user/', pf_phpbb_youtube) WHERE pf_phpbb_youtube '' AND pf_phpbb_youtube NOT LIKE '%youtube.com/%' in file /phpbb/db/driver/driver.php on line 1023 [phpBB Debug] "Trying to access array offset on value of type bool" in file /install/update/new/phpbb/db/migration/data/v33x/profilefield_youtube_update.php on line 33
OK, that probably explains it.
I think if there is already an option to delete, then it is up to the users to decide if they want to deactivate or delete it.
Yes, there is no check for the existence of the column.
Why skype?
I also checked localhost with a new phpBB 3.3.7 installation.SpIdErPiGgY wrote: ↑Mon Jun 27, 2022 10:34 am I also deleted 3 custom profile fields, and update went perfect...
Code: Select all
General Error:SQL ERROR [ mysqli ]Unknown column 'pf_phpbb_youtube' in 'where clause' [1054]SQLUPDATE phpbb_profile_fields_data SET pf_phpbb_youtube = CONCAT('https://youtube.com/user/', pf_phpbb_youtube) WHERE pf_phpbb_youtube '' AND pf_phpbb_youtube NOT LIKE '%youtube.com/%' in file \phpbb\db\driver\driver.php on line 1023
[phpBB Debug] "Trying to access array offset on value of type bool" in file install\update\new\phpbb\db\migration\data\v33x\profilefield_youtube_update.php on line 33
I tested with the skype field only to investigate whether this would be a general custom field problem. It isn't.
Oke just tried it, and yes, there is an error when you deleted the youtube profile field.KillBill. wrote: ↑Sun Jun 26, 2022 11:20 pm phpBB 3.3.8 update error
If there are no custom profile fields, the next error will stop the update at 17%.
Code: Select all
General Error:SQL ERROR [ mysqli ]Unknown column 'pf_phpbb_youtube' in 'where clause' [1054]SQLUPDATE phpbb_profile_fields_data SET pf_phpbb_youtube = CONCAT('https://youtube.com/user/', pf_phpbb_youtube) WHERE pf_phpbb_youtube '' AND pf_phpbb_youtube NOT LIKE '%youtube.com/%' in file /phpbb/db/driver/driver.php on line 1023 [phpBB Debug] "Trying to access array offset on value of type bool" in file /install/update/new/phpbb/db/migration/data/v33x/profilefield_youtube_update.php on line 33
Code: Select all
General Error:SQL ERROR [ mysqli ]Unknown column 'pf_phpbb_youtube' in 'where clause' [1054]SQLUPDATE phpbb_profile_fields_data SET pf_phpbb_youtube = CONCAT('https://youtube.com/user/', pf_phpbb_youtube) WHERE pf_phpbb_youtube '' AND pf_phpbb_youtube NOT LIKE '%youtube.com/%' in file /var/www/vhosts/muziekpromo.online/httpdocs/scripts/phpbbtest3.3/phpbb/db/driver/driver.php on line 1023
Code: Select all
[phpBB Debug] "Trying to access array offset on value of type bool" in file /var/www/vhosts/muziekpromo.online/httpdocs/scripts/phpbbtest3.3/phpbb/db/migration/data/v33x/profilefield_youtube_update.php on line 33