|
Joined: Aug 2024
Posts: 16 Likes: 2
Stranger
|
Stranger
Joined: Aug 2024
Posts: 16 Likes: 2 |
I'm under the impression that a PHP update can be done on the fly. I'm able to switch between PHP versions in Cpanel but when I go from 7.4 to 8.1 our UBB 8.0 forum seems to break - all we see is the footer.
What are my next troubleshooting steps?
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
|
|
|
|
Joined: Aug 2024
Posts: 16 Likes: 2
Stranger
|
Stranger
Joined: Aug 2024
Posts: 16 Likes: 2 |
I should point out that these PHP extensions are installed per https://www.ubbcentral.com/doc_install.php : php81-php-common php81-php-gd php81-php-mbstring php81-php-mysqlnd There doesn't seem to be a php81-php-mysqi package available, and I don't see it on our PHP 7.4 installation either.
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
UBB.threads assumes a fully functioning production ready web server exists; it's just a simple web script... For what it's worth, my test site on PHP83 has these installed: root@home:~# sudo yum list installed | grep php83
php83-php-bcmath.x86_64 8.3.11-1.el9.remi @remi-safe
php83-php-cli.x86_64 8.3.11-1.el9.remi @remi-safe
php83-php-common.x86_64 8.3.11-1.el9.remi @remi-safe
php83-php-devel.x86_64 8.3.11-1.el9.remi @remi-safe
php83-php-fpm.x86_64 8.3.11-1.el9.remi @remi-safe
php83-php-gd.x86_64 8.3.11-1.el9.remi @remi-safe
php83-php-mbstring.x86_64 8.3.11-1.el9.remi @remi-safe
php83-php-mysqlnd.x86_64 8.3.11-1.el9.remi @remi-safe
php83-php-opcache.x86_64 8.3.11-1.el9.remi @remi-safe
php83-php-pdo.x86_64 8.3.11-1.el9.remi @remi-safe
php83-php-pear.noarch 1:1.10.15-3.el9.remi @remi-safe
php83-php-pecl-igbinary.x86_64 3.2.16-1.el9.remi @remi-safe
php83-php-pecl-memcache.x86_64 8.2-3.el9.remi @remi-safe
php83-php-pecl-msgpack.x86_64 2.2.0-2.el9.remi @remi-safe
php83-php-pecl-redis6.x86_64 6.0.2-1.el9.remi @remi-safe
php83-php-pecl-zip.x86_64 1.22.3-1.el9.remi @remi-safe
php83-php-process.x86_64 8.3.11-1.el9.remi @remi-safe
php83-php-xml.x86_64 8.3.11-1.el9.remi @remi-safe
php83-runtime.x86_64 8.3-1.el9.remi @remi-safe
|
|
|
|
Joined: Aug 2024
Posts: 16 Likes: 2
Stranger
|
Stranger
Joined: Aug 2024
Posts: 16 Likes: 2 |
Hmm, my list is much longer. The other two Wordpress sites hosted on this server are running fine under PHP 8.1. yum list installed | grep php81
cpanel-php81.x86_64 8.1.29-1.cp110~el7 installed
cpanel-php81-auth-sasl2.noarch 0.2.0-1.cp110~el7 installed
cpanel-php81-cache.noarch 1.5.6-1.cp110~el7 installed
cpanel-php81-console-color.noarch 1.0.3-1.cp110~el7 installed
cpanel-php81-console-table.noarch 1.3.1-1.cp110~el7 installed
cpanel-php81-date.noarch 1.4.7-1.cp110~el7 installed
cpanel-php81-date-holidays.noarch 0.21.8-1.cp110~el7 installed
cpanel-php81-date-holidays-australia.noarch
cpanel-php81-date-holidays-austria.noarch 0.1.6-1.cp110~el7 installed
cpanel-php81-date-holidays-brazil.noarch 0.1.2-1.cp110~el7 installed
cpanel-php81-date-holidays-croatia.noarch 0.1.1-1.cp110~el7 installed
cpanel-php81-date-holidays-czech.noarch 0.1.0-1.cp110~el7 installed
cpanel-php81-date-holidays-denmark.noarch 0.1.3-1.cp110~el7 installed
cpanel-php81-date-holidays-englandwales.noarch
cpanel-php81-date-holidays-finland.noarch 0.1.2-1.cp110~el7 installed
cpanel-php81-date-holidays-germany.noarch 0.1.2-1.cp110~el7 installed
cpanel-php81-date-holidays-iceland.noarch 0.1.2-1.cp110~el7 installed
cpanel-php81-date-holidays-ireland.noarch 0.1.3-1.cp110~el7 installed
cpanel-php81-date-holidays-italy.noarch 0.1.1-1.cp110~el7 installed
cpanel-php81-date-holidays-japan.noarch 0.1.3-1.cp110~el7 installed
cpanel-php81-date-holidays-netherlands.noarch
cpanel-php81-date-holidays-norway.noarch 0.1.2-1.cp110~el7 installed
cpanel-php81-date-holidays-phpdotnet.noarch
cpanel-php81-date-holidays-portugal.noarch 0.1.1-1.cp110~el7 installed
cpanel-php81-date-holidays-romania.noarch 0.1.2-1.cp110~el7 installed
cpanel-php81-date-holidays-russia.noarch 0.1.0-1.cp110~el7 installed
cpanel-php81-date-holidays-sanmarino.noarch
cpanel-php81-date-holidays-serbia.noarch 0.1.0-1.cp110~el7 installed
cpanel-php81-date-holidays-slovenia.noarch 0.1.2-1.cp110~el7 installed
cpanel-php81-date-holidays-spain.noarch 0.1.4-1.cp110~el7 installed
cpanel-php81-date-holidays-sweden.noarch 0.1.3-1.cp110~el7 installed
cpanel-php81-date-holidays-turkey.noarch 0.1.1-1.cp110~el7 installed
cpanel-php81-date-holidays-ukraine.noarch 0.1.2-1.cp110~el7 installed
cpanel-php81-date-holidays-uno.noarch 0.1.3-1.cp110~el7 installed
cpanel-php81-date-holidays-usa.noarch 0.1.1-1.cp110~el7 installed
cpanel-php81-date-holidays-venezuela.noarch
cpanel-php81-file.noarch 1.4.1-1.cp110~el7 installed
cpanel-php81-file-find.noarch 1.3.3-1.cp110~el7 installed
cpanel-php81-file-fstab.noarch 2.0.3-1.cp110~el7 installed
cpanel-php81-html-template-it.noarch 1.3.1-1.cp110~el7 installed
cpanel-php81-http.noarch 1.4.1-1.cp110~el7 installed
cpanel-php81-http-request.noarch 1.4.4-1.cp110~el7 installed
cpanel-php81-http-webdav-server.noarch 1.0.0-1.cp110~el7 installed
cpanel-php81-less.noarch 0.5.0-1.cp110~el7 installed
cpanel-php81-log.noarch 1.13.3-1.cp110~el7 installed
cpanel-php81-mail.noarch 1.4.1-1.cp110~el7 installed
cpanel-php81-mail-mime.noarch 1.10.11-1.cp110~el7 installed
cpanel-php81-mdb2.noarch 2.4.1-1.cp110~el7 installed
cpanel-php81-net-dns2.noarch 1.5.0-1.cp110~el7 installed
cpanel-php81-net-ftp.noarch 1.4.1-1.cp110~el7 installed
cpanel-php81-net-imap.noarch 1.1.3-1.cp110~el7 installed
cpanel-php81-net-smtp.noarch 1.10.0-1.cp110~el7 installed
cpanel-php81-net-socket.noarch 1.2.2-1.cp110~el7 installed
cpanel-php81-net-url.noarch 1.0.15-1.cp110~el7 installed
cpanel-php81-net-useragent-detect.noarch 2.5.2-1.cp110~el7 installed
cpanel-php81-pear-command-packaging.noarch 0.3.0-1.cp110~el7 installed
cpanel-php81-services-weather.noarch 1.4.7-1.cp110~el7 installed
cpanel-php81-text-figlet.noarch 1.0.2-1.cp110~el7 installed
cpanel-php81-xml-parser.noarch 1.3.8-1.cp110~el7 installed
cpanel-php81-xml-rpc.noarch 1.5.5-1.cp110~el7 installed
cpanel-php81-xml-serializer.noarch 0.21.0-1.cp110~el7 installed
cpanel-php81-xml-svg.noarch 1.1.0-1.cp110~el7 installed
ea-php81.x86_64 8.1.29-1.1.2.cpanel @EA4-c7
ea-php81-build.x86_64 8.1.29-1.1.2.cpanel @EA4-c7
ea-php81-libc-client.x86_64 2007f-27.27.9.cpanel @EA4-c7
ea-php81-libc-client-devel.x86_64 2007f-27.27.9.cpanel @EA4-c7
ea-php81-libc-client-static.x86_64 2007f-27.27.9.cpanel @EA4-c7
ea-php81-pear.noarch 1.10.13-6.6.19.cpanel @EA4-c7
ea-php81-php-bcmath.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-calendar.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-cli.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-common.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-curl.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-dba.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-devel.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-enchant.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-exif.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-fileinfo.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-fpm.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-ftp.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-gd.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-gettext.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-gmp.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-iconv.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-intl.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-ldap.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-litespeed.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-mbstring.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-mysqlnd.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-opcache.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-pdo.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-pgsql.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-posix.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-process.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-pspell.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-snmp.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-soap.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-sockets.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-xml.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-php-zip.x86_64 8.1.29-1.2.5.cpanel @EA4-c7
ea-php81-runtime.x86_64 8.1.29-1.1.2.cpanel @EA4-c7
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
|
|
|
|
Joined: Aug 2024
Posts: 16 Likes: 2
Stranger
|
Stranger
Joined: Aug 2024
Posts: 16 Likes: 2 |
The 7.4 list is a bit shorter and doesn't show all those cpanel packages: yum list installed | grep php74
ea-php74.x86_64 7.4.33-3.4.2.cpanel @EA4-c7
ea-php74-build.x86_64 7.4.33-3.4.2.cpanel @EA4-c7
ea-php74-libc-client.x86_64 2007f-27.27.9.cpanel @EA4-c7
ea-php74-libc-client-devel.x86_64 2007f-27.27.9.cpanel @EA4-c7
ea-php74-libc-client-static.x86_64 2007f-27.27.9.cpanel @EA4-c7
ea-php74-pear.noarch 1.10.13-6.6.21.cpanel @EA4-c7
ea-php74-php-bcmath.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-calendar.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-cli.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-common.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-curl.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-dba.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-devel.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-enchant.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-exif.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-fileinfo.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-fpm.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-ftp.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-gd.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-gettext.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-gmp.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-iconv.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-intl.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-ioncube10.x86_64 10.4.5-6.7.42.cpanel @EA4-c7
ea-php74-php-ldap.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-litespeed.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-mbstring.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-mysqlnd.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-opcache.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-pdo.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-pgsql.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-posix.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-process.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-pspell.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-snmp.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-soap.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-sockets.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-xml.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-xmlrpc.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-php-zip.x86_64 7.4.33-9.9.17.cpanel @EA4-c7
ea-php74-runtime.x86_64 7.4.33-3.4.2.cpanel @EA4-c7
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
What are your PHP logs looking like?
If there are no errors have you tried clearing the header and footer includes to see exactly where it's breaking?
|
|
|
|
Joined: Aug 2024
Posts: 16 Likes: 2
Stranger
|
Stranger
Joined: Aug 2024
Posts: 16 Likes: 2 |
D'oh - I should have started there, thanks Gizmo! Cleared headers/footers, switched to PHP 8.1 (the highest version my host currently provides), and things came up as expected. I'll re-add the header/footer items one at a time to see where it broke.
EDIT: spoke a bit too soon, Control Panel wouldn't open. Will do some troubleshooting on that front.
Last edited by toner; 08/31/2024 2:18 PM.
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
|
|
|
|
Joined: Aug 2024
Posts: 16 Likes: 2
Stranger
|
Stranger
Joined: Aug 2024
Posts: 16 Likes: 2 |
Ok, /forum/admin/dashboard.php errored at line 173. Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /public_html/forum/admin/dashboard.php:173\nStack trace:\n#0 {main}\n thrown in /public_html/forum/admin/dashboard.php on line 173' $ubbt_admin['newmembers1'] = $newmembers1; I commented that section out and the next line that failed was 227. if ($ubbt_admin['timestamp'] < ($rightnow - 1800)) {
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
It sounds like it's trying to load cached data, try clearing your cookies out of your browser.
|
|
|
|
Joined: Aug 2024
Posts: 16 Likes: 2
Stranger
|
Stranger
Joined: Aug 2024
Posts: 16 Likes: 2 |
Bingo again - Incognito Windows worked perfectly. Many thanks for lending your expertise! Would love to send some $$ as thanks - will check out the Donate link on your VNC website.
Last edited by toner; 08/31/2024 3:26 PM.
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
|
1 member likes this:
Gizmo |
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
I'm glad that you were able to get it working; the CP issue we had in testing so we had a pretty good idea on what was happening with the cached data (which was funny because Isaac had the issue and I did not, so we just kept back and forth testing things lol). And thank you for your contribution, will probably make the first day of school night on Tuesday a pizza night for the kiddos
|
1 member likes this:
toner |
|
|
|
Joined: Aug 2024
Posts: 16 Likes: 2
Stranger
|
Stranger
Joined: Aug 2024
Posts: 16 Likes: 2 |
Good spend ;-) My kiddos start Tuesday as well!
For those following this, we also had an issue where changes couldn't be applied in CP, the following error was showing up in the logs. Turned out there were duplicate EOF; lines in a Custom Island that wasn't even in use.
Got error 'PHP message: PHP Fatalerror: Uncaught Error: Undefined constant "EOF" in /public_html/forum/cache_builders/custom/portal_box_67.php:10\nStack trace:\n#0
Last edited by toner; 09/01/2024 12:42 AM.
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
|
|
|
|
Joined: Aug 2024
Posts: 16 Likes: 2
Stranger
|
Stranger
Joined: Aug 2024
Posts: 16 Likes: 2 |
In Mr. Jobs fashion, "just one more thing":
Our footer had a copyright reference to the current date where
<? echo date(Y);?> had to be changed to
<? echo date('Y', time()); ?>
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
|
|
|
|
Joined: Aug 2024
Posts: 16 Likes: 2
Stranger
|
Stranger
Joined: Aug 2024
Posts: 16 Likes: 2 |
And this might be a bug:
Got error 'PHP message: PHP Parse error: syntax error, unexpected string content "", expecting "-" or identifier or variable or number in /home/sundan21/public_html/forum/scripts/stickpost.inc.php on line 83'
Had to change line 83 from:
$config['TABLE_PREFIX']}ANNOUNCEMENTS to:
{$config['TABLE_PREFIX']}ANNOUNCEMENTS
Looking for a VoIP Phone Canada provider? Put Atcom's valuable VoIP expertise to work for your business today!
|
1 member likes this:
isaac |
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
Definitely a bug, thanks for the quick fix, there will be an 8.0.1 before too long with some changes including this.
|
|
|
0 members (),
1,448
guests, and
60
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|