Advertisement

Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2 Topic is solved

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
elPipoViajes
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sat Aug 19, 2017 10:47 pm

Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by elPipoViajes » Tue Oct 24, 2023 9:43 am

Hi,

I've my Joomla website updated to 4.4.0 and using the Cassiopea template. All the extensions and plugins are updated, and I've only one issue to solve:

Your PHP version, 8.0.30, is only receiving security fixes from the PHP project at this time. This means your PHP version will soon no longer be supported. We recommend planning to upgrade to a newer PHP version before it reaches end of support on 2023-11-26. Joomla will be faster and more secure if you upgrade to a newer PHP version. Please contact your host for upgrade instructions.

I tried to change the PHP to 8.1. or 8.2 version, but the website crashs:

The server returned a "500 - Whoops, looks like something went wrong.

Where can I found more detall about the crash ?

Thank in advanced !

Carles

Advertisement
User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 18246
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by toivo » Tue Oct 24, 2023 11:45 am

It sounds like a third party extension, most likely a plugin, is not compatible with PHP 8.1 and above. While still using PHP 8.0 to the Global Configuration and set 'Error Reporting' to 'Maximum' and turn on the option 'System Debug' and also select 'Log Almost Everything' in the Logging tab. The additional details will now allow us to identify the culprit.

Select PHP 8.1 or 8.2 and access the front end and then the back end. Copy and paste the error messages and post them with the PHP call stack into your reply. The messages are also written to the log file administrator/logs/everything.php.
Toivo Talikka, Global Moderator

elPipoViajes
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sat Aug 19, 2017 10:47 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by elPipoViajes » Fri Oct 27, 2023 5:51 am

Thank you, your tips to find out what's is the problem were very usefull: the problem is with the MySQLi extension (I must enabled it).

I've some work to do, but I'll try to apply this property soon, and I'll tell if it works (I'm sure it will).

Regards,

Carles

elPipoViajes
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sat Aug 19, 2017 10:47 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by elPipoViajes » Fri Oct 27, 2023 10:40 am

I made a quick configuration test, activating the mysql check on my PHP configuration, but the error is still there :(

How should I assure the mysqli extension is available ?

Regards,

Carles

User avatar
ceford
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3278
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by ceford » Fri Oct 27, 2023 10:55 am

Run the Forum Post Assistant and post the public results here. It should indicate any deficiencies in your hosting service.

vicn1222
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 128
Joined: Fri Jul 02, 2021 10:34 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by vicn1222 » Fri Oct 27, 2023 4:07 pm

Don’t install any unnecessary plugins or extensions other than the joomla default ones.

You will have a lot of headaches when updating joomla versions. You will have to be certain those plugins or extensions works in the newer version of joomla.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 45309
Joined: Sat Apr 05, 2008 9:58 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by Webdongle » Sat Oct 28, 2023 4:50 am

Akeeba and JCE are two extensions that can be trusted with updates, even if the update check suggests otherwise. There may also be others.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/migrat ... oomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

elPipoViajes
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sat Aug 19, 2017 10:47 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by elPipoViajes » Sat Oct 28, 2023 10:36 am

Hi,

I can run the FPA only with PHP 8.0 with this result (see above), but with PHP 8.1 or PHP 8.2 I obtain only a blank page with no results :(
Forum Post Assistant (v1.6.6) : 28-Oct-2023 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.4.0-Stable (Pamoja) 17-October-2023
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: Is Not Empty | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: maximum | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 4.4.0: Yes | Database Supports J! 4.4.0: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-962.3.2.lve1.5.77.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 142.08 GiB |

PHP Configuration :: Version: 8.0.30 | PHP API: litespeed | Session Path Writable: No | Display Errors: 0 | Error Reporting: | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 64M | Max. POST Size: 256M | Max. Input Time: -1 | Max. Execution Time: 30 | Memory Limit: 368M

Database Configuration :: Version: 10.6.15-MariaDB-cll-lve (Client:3.3.6) | Database Size: 116.34 MiB | #of Tables with config prefix:  307 | #of other Tables:  0 | User Privileges : GRANT SELECTUser Privileges : INSERTUser Privileges : UPDATEUser Privileges : DELETEUser Privileges : CREATEUser Privileges : DROPUser Privileges : REFERENCESUser Privileges : INDEXUser Privileges : ALTERUser Privileges : CREATE TEMPORARY TABLESUser Privileges : LOCK TABLESUser Privileges : EXECUTEUser Privileges : CREATE VIEWUser Privileges : SHOW VIEWUser Privileges : CREATE ROUTINEUser Privileges : ALTER ROUTINEUser Privileges : EVENTUser Privileges : TRIGGER
Detailed Environment :: wrote:PHP Extensions :: Core (8.0.30) | date (8.0.30) | libxml (8.0.30) | openssl (8.0.30) | pcre (8.0.30) | sqlite3 (8.0.30) | zlib (8.0.30) | bz2 (8.0.30) | calendar (8.0.30) | ctype (8.0.30) | curl (8.0.30) | hash (8.0.30) | filter (8.0.30) | ftp (8.0.30) | gettext (8.0.30) | gmp (8.0.30) | SPL (8.0.30) | iconv (8.0.30) | json (8.0.30) | pcntl (8.0.30) | readline (8.0.30) | Reflection (8.0.30) | session (8.0.30) | standard (8.0.30) | shmop (8.0.30) | SimpleXML (8.0.30) | mbstring (8.0.30) | tokenizer (8.0.30) | xml (8.0.30) | litespeed () | bcmath (8.0.30) | dom (20031129) | gd (8.0.30) | imap (8.0.30) | intl (8.0.30) | exif (8.0.30) | mysqli (8.0.30) | mysqlnd (mysqlnd 8.0.30) | PDO (8.0.30) | pdo_mysql (8.0.30) | pdo_sqlite (8.0.30) | pgsql (8.0.30) | Phar (8.0.30) | posix (8.0.30) | soap (8.0.30) | sockets (8.0.30) | tidy (8.0.30) | xmlreader (8.0.30) | xmlwriter (8.0.30) | xsl (8.0.30) | zip (1.19.5) | Zend Engine (4.0.30) |
Potential Missing Extensions :: fileinfo |

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) | api/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 222030 | Threads: 10 | Questions: 91778088 | Slow queries: 2504 | Opens: 1090736 | Open tables: 10000 | Queries per second avg: 413.358 |
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::

Components :: Admin ::
Core :: com_mails (4.0.0) 1 | com_finder (4.0.0) 1 | com_login (4.0.0) 1 | com_categories (4.0.0) 1 | com_users (4.0.0) 1 | com_workflow (4.0.0) 1 | com_installer (4.0.0) 1 | com_ajax (4.0.0) 1 | com_associations (4.0.0) 1 | com_plugins (4.0.0) 1 | com_guidedtours (4.3.0) 1 | com_banners (4.0.0) 1 | com_wrapper (4.0.0) 1 | com_modules (4.0.0) 1 | com_scheduler (4.1.0) 1 | com_cache (4.0.0) 1 | com_menus (4.0.0) 1 | com_redirect (4.0.0) 1 | com_templates (4.0.0) 1 | com_privacy (3.9.0) 1 | com_config (4.0.0) 1 | com_contenthistory (4.0.0) 1 | com_search (4.0.0-dev) 1 | com_fields (4.0.0) 1 | com_postinstall (4.0.0) 1 | com_content (4.0.0) 1 | com_checkin (4.0.0) 1 | com_media (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_messages (4.0.0) 1 | com_admin (4.0.0) 1 | com_tags (4.0.0) 1 | com_newsfeeds (4.0.0) 1 | com_languages (4.0.0) 1 | com_cpanel (4.0.0) 1 | com_joomlaupdate (4.0.3) 1 |
3rd Party:: com_profiles (1.5.0) 0 | com_comment (6.1.7) 1 | jshopping (5.2.1) 1 | Cookies CK (3.3.5) 1 | com_cookiesck (3.3.5) 1 | COM_OSMAP (5.0.10) 1 | com_akeebabackup (9.8.1) 1 | AcyMailing - Joomla integration (8.7.4) 1 | AcyMailing - Search emails in Jooml (8.7.4) ? | AcyMailing subscription form (8.7.4) 1 | AcyMailing - JCE integration (8.7.4) 1 | AcyMailing - Override Joomla emails (8.7.4) 0 | Acym (8.7.4) 1 |

Modules :: Site ::
Core :: mod_languages (3.5.0) 1 | mod_whosonline (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_search (4.0.0-dev) 1 | mod_articles_category (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_custom (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_login (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_footer (3.0.0) 1 | mod_weblinks (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_articles_popular (3.0.0) 1 |
3rd Party:: sigplus (1.5.0.298) 1 | UT Joomstagram (3.1.0) 1 | FavSlider Responsive Slideshow (1.5) 1 | AcyMailing subscription form (7.9.5) 1 | mod_phocagae (4.0.3) 1 |

Modules :: Admin ::
Core :: mod_user (4.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_multilangstatus (3.0.0) 0 | mod_post_installation_messages (4.0.0) 1 | mod_title (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_loginsupport (4.0.0) 1 | mod_frontend (4.0.0) 1 | mod_popular (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_guidedtours (4.3.0) 1 | mod_privacy_status (4.0.0) 1 | mod_version (3.0.0) 1 | mod_messages (4.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_stats_admin (3.0.0) 1 | mod_login (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_latestactions (3.9.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party:: Library - compojoom (5.3.3) 1 | file_fof30 (3.6.2) ? |

Plugins ::
Core :: plg_webservices_languages (4.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_webservices_media (4.1.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_captcha_recaptcha (3.4.0) 1 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_search_tags (4.0.0-dev) 1 | plg_search_newsfeeds (4.0.0-dev) 1 | plg_search_categories (4.0.0-dev) 1 | plg_search_weblinks (3.0.0) 1 | plg_search_contacts (4.0.0-dev) 1 | plg_search_content (4.0.0-dev) 1 | plg_filesystem_local (4.0.0) 1 | plg_media-action_rotate (4.0.0) 1 | plg_media-action_crop (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_fields_calendar (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_behaviour_compat (4.4.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_behaviour_taggable (4.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_downloadkey (4.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_eos (4.4.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_actionlog_joomla (3.9.0) 1 | plg_sampledata_multilang (4.0.0) 1 | plg_task_site_status (4.1) 1 | plg_task_check_files (4.1) 1 | plg_task_requests (4.1) 1 | plg_task_demo_tasks (4.1) 1 | plg_user_joomla (3.0.0) 1 | plg_user_token (3.9.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_terms (3.9.0) 0 | plg_user_profile (3.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_extension_namespacemap (4.0.0) 1 | plg_extension_finder (4.0.0) 1 | plg_multifactorauth_totp (3.2.0) 1 | plg_multifactorauth_email (4.2.0) 0 | plg_multifactorauth_webauthn (4.2.0) 0 | plg_multifactorauth_yubikey (3.2.0) 1 | plg_multifactorauth_fixed (4.2.0) 0 | plg_api-authentication_token (4.0.0) 1 | plg_api-authentication_basic (4.0.0) 0 | plg_system_logrotation (3.9.0) 1 | plg_system_log (3.0.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_updatenotification (3.5.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_guidedtours (4.3.0) 1 | plg_system_accessibility (4.0.0) 0 | plg_system_sef (3.0.0) 1 | plg_system_skipto (4.0.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_schedulerunner (4.1) 1 | plg_system_redirect (3.0.0) 0 | plg_system_highlight (3.0.0) 1 | plg_system_webauthn (4.0.0) 0 | plg_system_actionlogs (3.9.0) 0 | plg_system_httpheaders (4.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_sessiongc (3.8.6) 1 | plg_system_shortcut (4.2.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_jooa11y (4.2.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_task_notification (4.1) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_remember (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_vote (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_finder (3.0.0) 1 | plg_workflow_publishing (4.0.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_weblinks (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_installer_override (4.0.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 |
3rd Party:: K2 Plugin - CComment (6.1.7) 0 | Search - CComment (6.1.7) 0 | AcyMailing - Search emails in Jooml (7.9.5) ? | plg_search_sigplus (1.5.0.298) 0 | Skrill (2.0.6) ? | Klarna Checkout (2.9.0) ? | Klarna (2.9.0) ? | plg_editors_codemirror (5.65.15) 1 | plg_editors_tinymce (5.10.7) 1 | By weight, ZIP and countries (2.9.0) ? | plg_editors-xtd_sigplus (1.5.0.298) 0 | PLG_QUICKICON_AKEEBABACKUP (9.8.1) 1 | PLG_OSMAP_JOOMLA (5.0.10) 1 | AcyMailing - JCE integration (7.9.5) 1 | AcyMailing - Joomla integration (7.9.5) 1 | plg_system_rsd (2.0.0) 0 | Cookies CK (3.3.5) 1 | plg_system_osmylicensesmanager (2.0.15) 1 | PLG_IWSBY_GANALYTICS (1.2.0) 1 | plg_flickrsuite_chrome (2.1.7) 0 | AcyMailing - Override Joomla emails (7.9.5) 0 | Content - Fast Social Share (3.11) 1 | plg_content_sigplus (1.5.0.298) 1 | Content - CComment (6.1.7) 1 | plg_flickrsuiteplugin (5.1.8) 0 |
Templates Discovered :: wrote:Templates :: Site :: Favourite (3.2) 1 | cassiopeia (1.0) 1 |
Templates :: Admin :: atum (1.0) 1 |
Last edited by toivo on Sat Oct 28, 2023 11:05 am, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

User avatar
ceford
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3278
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by ceford » Sat Oct 28, 2023 11:05 am

My guess is that your PHP 8.1 and 8.2 installations do not have all necessary php extensions enabled. One that is often missing is allow_url_fopen. Ask your hosting service to check that the PHP modules you have enabled for 8.0 are also enabled for 8.1 and 8.2. And enable fileinfo too.

Open your configuration.php with a text editor (first set permissions to 644) and set $live_site to an empty string '',

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 18246
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by toivo » Sat Oct 28, 2023 11:16 am

The session path in PHP should also be writable. Fileinfo is also a useful PHP extension. Ask your host to fix those issues.

It is possible to get details of the 500 internal server error. Write-enable the file configuration.php and make the following changes:

Code: Select all

	public $error_reporting = 'maximum';
	public $debug = true;
	public $log_everything = 1;
Post the error message and the PHP call stack here for advice.
Toivo Talikka, Global Moderator

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 45309
Joined: Sat Apr 05, 2008 9:58 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by Webdongle » Sat Oct 28, 2023 7:27 pm

LiveSite: Is Not Empty ... should have no value
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/migrat ... oomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

nacc
I've been banned!
Posts: 347
Joined: Mon Jul 03, 2023 7:08 pm

Re: LiveSite: Is Not Empty

Post by nacc » Sat Oct 28, 2023 7:45 pm

LiveSite: Is Not Empty : see https://www.google.com/search?q=live+si ... pty+joomla for the solution.

Session path writable: No : see https://www.google.com/search?q=how+to+ ... h+writable

Max. Input Time: -1 : see viewtopic.php?f=810&t=1002174
Last edited by toivo on Sat Oct 28, 2023 9:05 pm, edited 1 time in total.
Reason: mod note: combined subsequent replies

elPipoViajes
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sat Aug 19, 2017 10:47 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by elPipoViajes » Sun Oct 29, 2023 6:09 pm

Hi,

my hosting told me all is OK and I've a problema with my Joomla that I have to solve myself. I've disabled all my plugins, I've changed to PHP 8.1 and suddenly my website started working. So, I started enabling all the plugins, one by one, and the website worked fine with PHP 8.1 (no sense for me).

Next, I tried PHP 8.2 but it still crashes: Joomla\Database\Exception\UnsupportedAdapterException: The MySQLi extension is not available.

Finally, I disabled all the extensions & plugins, but it still crashed. What more should I do to find out what is crashing on PHP 8.2 ?

Let me post the FPA output:
Forum Post Assistant (v1.6.6) : 29-Oct-2023 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.4.0-Stable (Pamoja) 17-October-2023
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: Is Not Empty | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: maximum | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 4.4.0: Yes | Database Supports J! 4.4.0: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-962.3.2.lve1.5.77.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 142.44 GiB |

PHP Configuration :: Version: 8.1.24 | PHP API: litespeed | Session Path Writable: No | Display Errors: 0 | Error Reporting: | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 2M | Max. POST Size: 8M | Max. Input Time: -1 | Max. Execution Time: 30 | Memory Limit: 368M

Database Configuration :: Version: 10.6.15-MariaDB-cll-lve (Client:3.3.6) | Database Size: 116.26 MiB | #of Tables with config prefix:  307 | #of other Tables:  0 | User Privileges : GRANT SELECTUser Privileges : INSERTUser Privileges : UPDATEUser Privileges : DELETEUser Privileges : CREATEUser Privileges : DROPUser Privileges : REFERENCESUser Privileges : INDEXUser Privileges : ALTERUser Privileges : CREATE TEMPORARY TABLESUser Privileges : LOCK TABLESUser Privileges : EXECUTEUser Privileges : CREATE VIEWUser Privileges : SHOW VIEWUser Privileges : CREATE ROUTINEUser Privileges : ALTER ROUTINEUser Privileges : EVENTUser Privileges : TRIGGER
Detailed Environment :: wrote:PHP Extensions :: Core (8.1.24) | date (8.1.24) | libxml (8.1.24) | openssl (8.1.24) | pcre (8.1.24) | sqlite3 (8.1.24) | zlib (8.1.24) | bz2 (8.1.24) | calendar (8.1.24) | ctype (8.1.24) | curl (8.1.24) | hash (8.1.24) | filter (8.1.24) | ftp (8.1.24) | gettext (8.1.24) | json (8.1.24) | iconv (8.1.24) | SPL (8.1.24) | pcntl (8.1.24) | readline (8.1.24) | Reflection (8.1.24) | session (8.1.24) | standard (8.1.24) | exif (8.1.24) | shmop (8.1.24) | SimpleXML (8.1.24) | tokenizer (8.1.24) | xml (8.1.24) | litespeed () | dom (20031129) | mysqli (8.1.24) | mysqlnd (mysqlnd 8.1.24) | Phar (8.1.24) | posix (8.1.24) | xmlreader (8.1.24) | xmlwriter (8.1.24) | xsl (8.1.24) | Zend Engine (4.1.24) |
Potential Missing Extensions :: zip | mbstring | pdo_mysql | fileinfo | gd |

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) | api/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 336625 | Threads: 8 | Questions: 138945515 | Slow queries: 2954 | Opens: 1620027 | Open tables: 10000 | Queries per second avg: 412.760 |
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::

Components :: Admin ::
Core :: com_mails (4.0.0) 1 | com_finder (4.0.0) 1 | com_login (4.0.0) 1 | com_categories (4.0.0) 1 | com_users (4.0.0) 1 | com_workflow (4.0.0) 1 | com_installer (4.0.0) 1 | com_ajax (4.0.0) 1 | com_associations (4.0.0) 1 | com_plugins (4.0.0) 1 | com_guidedtours (4.3.0) 1 | com_banners (4.0.0) 1 | com_wrapper (4.0.0) 1 | com_modules (4.0.0) 1 | com_scheduler (4.1.0) 1 | com_cache (4.0.0) 1 | com_menus (4.0.0) 1 | com_redirect (4.0.0) 1 | com_templates (4.0.0) 1 | com_privacy (3.9.0) 1 | com_config (4.0.0) 1 | com_contenthistory (4.0.0) 1 | com_search (4.0.0-dev) 1 | com_fields (4.0.0) 1 | com_postinstall (4.0.0) 1 | com_content (4.0.0) 1 | com_checkin (4.0.0) 1 | com_media (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_messages (4.0.0) 1 | com_admin (4.0.0) 1 | com_tags (4.0.0) 1 | com_newsfeeds (4.0.0) 1 | com_languages (4.0.0) 1 | com_cpanel (4.0.0) 1 | com_joomlaupdate (4.0.3) 1 |
3rd Party:: com_profiles (1.5.0) 0 | com_comment (6.1.7) 0 | jshopping (5.2.1) 0 | Cookies CK (3.3.5) 0 | com_cookiesck (3.3.5) 0 | COM_OSMAP (5.0.10) 0 | com_akeebabackup (9.8.1) 0 | AcyMailing - Joomla integration (8.8.0) 0 | AcyMailing - Search emails in Jooml (8.8.0) ? | AcyMailing subscription form (8.8.0) 0 | AcyMailing - JCE integration (8.8.0) 0 | AcyMailing - Override Joomla emails (8.8.0) 0 | Acym (8.8.0) 0 |

Modules :: Site ::
Core :: mod_languages (3.5.0) 1 | mod_whosonline (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_search (4.0.0-dev) 1 | mod_articles_category (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_custom (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_login (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_footer (3.0.0) 1 | mod_weblinks (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_articles_popular (3.0.0) 1 |
3rd Party:: sigplus (1.5.0.298) 0 | UT Joomstagram (3.1.0) 0 | FavSlider Responsive Slideshow (1.5) 0 | AcyMailing subscription form (7.9.5) 0 | mod_phocagae (4.0.3) 0 |

Modules :: Admin ::
Core :: mod_user (4.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_multilangstatus (3.0.0) 0 | mod_post_installation_messages (4.0.0) 1 | mod_title (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_loginsupport (4.0.0) 1 | mod_frontend (4.0.0) 1 | mod_popular (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_guidedtours (4.3.0) 1 | mod_privacy_status (4.0.0) 1 | mod_version (3.0.0) 1 | mod_messages (4.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_stats_admin (3.0.0) 1 | mod_login (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_latestactions (3.9.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party:: Library - compojoom (5.3.3) 0 | file_fof30 (3.6.2) ? |

Plugins ::
Core :: plg_webservices_languages (4.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_webservices_media (4.1.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_search_tags (4.0.0-dev) 1 | plg_search_newsfeeds (4.0.0-dev) 1 | plg_search_categories (4.0.0-dev) 1 | plg_search_weblinks (3.0.0) 1 | plg_search_contacts (4.0.0-dev) 1 | plg_search_content (4.0.0-dev) 1 | plg_filesystem_local (4.0.0) 1 | plg_media-action_rotate (4.0.0) 1 | plg_media-action_crop (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_fields_calendar (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_behaviour_compat (4.4.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_behaviour_taggable (4.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_downloadkey (4.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_eos (4.4.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_actionlog_joomla (3.9.0) 1 | plg_sampledata_multilang (4.0.0) 1 | plg_task_site_status (4.1) 1 | plg_task_check_files (4.1) 1 | plg_task_requests (4.1) 1 | plg_task_demo_tasks (4.1) 1 | plg_user_joomla (3.0.0) 1 | plg_user_token (3.9.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_terms (3.9.0) 0 | plg_user_profile (3.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_extension_namespacemap (4.0.0) 1 | plg_extension_finder (4.0.0) 1 | plg_multifactorauth_totp (3.2.0) 1 | plg_multifactorauth_email (4.2.0) 0 | plg_multifactorauth_webauthn (4.2.0) 0 | plg_multifactorauth_yubikey (3.2.0) 1 | plg_multifactorauth_fixed (4.2.0) 0 | plg_api-authentication_token (4.0.0) 1 | plg_api-authentication_basic (4.0.0) 0 | plg_system_logrotation (3.9.0) 1 | plg_system_log (3.0.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_updatenotification (3.5.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_guidedtours (4.3.0) 1 | plg_system_accessibility (4.0.0) 0 | plg_system_sef (3.0.0) 1 | plg_system_skipto (4.0.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_schedulerunner (4.1) 1 | plg_system_redirect (3.0.0) 0 | plg_system_highlight (3.0.0) 1 | plg_system_webauthn (4.0.0) 0 | plg_system_actionlogs (3.9.0) 0 | plg_system_httpheaders (4.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_sessiongc (3.8.6) 1 | plg_system_shortcut (4.2.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_jooa11y (4.2.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_task_notification (4.1) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_remember (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_vote (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_finder (3.0.0) 1 | plg_workflow_publishing (4.0.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_weblinks (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_installer_override (4.0.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 |
3rd Party:: K2 Plugin - CComment (6.1.7) 0 | Search - CComment (6.1.7) 0 | AcyMailing - Search emails in Jooml (7.9.5) ? | plg_search_sigplus (1.5.0.298) 0 | Skrill (2.0.6) ? | Klarna Checkout (2.9.0) ? | Klarna (2.9.0) ? | plg_editors_codemirror (5.65.15) 0 | plg_editors_tinymce (5.10.7) 0 | By weight, ZIP and countries (2.9.0) ? | plg_editors-xtd_sigplus (1.5.0.298) 0 | PLG_QUICKICON_AKEEBABACKUP (9.8.1) 0 | PLG_OSMAP_JOOMLA (5.0.10) 0 | AcyMailing - JCE integration (7.9.5) 0 | AcyMailing - Joomla integration (7.9.5) 0 | plg_system_rsd (2.0.0) 0 | Cookies CK (3.3.5) 0 | plg_system_osmylicensesmanager (2.0.15) 0 | PLG_IWSBY_GANALYTICS (1.2.0) 0 | plg_flickrsuite_chrome (2.1.7) 0 | AcyMailing - Override Joomla emails (7.9.5) 0 | Content - Fast Social Share (3.11) 0 | plg_content_sigplus (1.5.0.298) 0 | Content - CComment (6.1.7) 0 | plg_flickrsuiteplugin (5.1.8) 0 |
Templates Discovered :: wrote:Templates :: Site :: cassiopeia (1.0) 1 |
Templates :: Admin :: atum (1.0) 1 |
Thank in advanced,

Carles
Last edited by toivo on Sun Oct 29, 2023 8:14 pm, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 45309
Joined: Sat Apr 05, 2008 9:58 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by Webdongle » Sun Oct 29, 2023 7:17 pm

LiveSite: Is Not Empty ... remove your url from the live site var
Session Path Writable: No ... tell your Host to fix it (run the fpa on php 8.1 and see the difference)
Potential Missing Extensions :: zip | mbstring | pdo_mysql | fileinfo | gd | ... your Host has not set up php correctly (run the fpa on php 8.1 and see the difference)

Your best option imho is change Host.

You can test using Wamp on your PC
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/migrat ... oomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31840
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by Per Yngve Berg » Sun Oct 29, 2023 7:21 pm

The mysqli connector is missing in php 8.2. That makes Joomla unable to connect to the database. Try to change connector. "mysqlnd" is available in php 8.1.

elPipoViajes
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sat Aug 19, 2017 10:47 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by elPipoViajes » Sun Oct 29, 2023 9:07 pm

Webdongle wrote: Sun Oct 29, 2023 7:17 pm LiveSite: Is Not Empty ... remove your url from the live site var
Session Path Writable: No ... tell your Host to fix it (run the fpa on php 8.1 and see the difference)
Potential Missing Extensions :: zip | mbstring | pdo_mysql | fileinfo | gd | ... your Host has not set up php correctly (run the fpa on php 8.1 and see the difference)

Your best option imho is change Host.

You can test using Wamp on your PC
The last FPA was using PHP 8.1, with 8.2 the FPA is not working (empty page, empty screen).

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 45309
Joined: Sat Apr 05, 2008 9:58 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by Webdongle » Sun Oct 29, 2023 9:09 pm

Highly recommend changing Host's
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/migrat ... oomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

elPipoViajes
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sat Aug 19, 2017 10:47 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by elPipoViajes » Sun Oct 29, 2023 9:13 pm

Per Yngve Berg wrote: Sun Oct 29, 2023 7:21 pm The mysqli connector is missing in php 8.2. That makes Joomla unable to connect to the database. Try to change connector. "mysqlnd" is available in php 8.1.
With PHP 8.1 with MySQLnd enabled, the website works fine.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 18246
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by toivo » Sun Oct 29, 2023 9:43 pm

The same selection should also work in PHP 8.2.
Toivo Talikka, Global Moderator

elPipoViajes
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sat Aug 19, 2017 10:47 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by elPipoViajes » Mon Oct 30, 2023 10:26 am

toivo wrote: Sun Oct 29, 2023 9:43 pm The same selection should also work in PHP 8.2.
I'm insisting again to my hosting provider to check the configuración for PHP 8.2 (I don't hace direct access to php.ini).

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 18246
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by toivo » Mon Oct 30, 2023 10:34 am

Does your cPanel or a similar page, given to you by your host, have the Software section, from where it is possible not only to select PHP but also to enable the necessary PHP extensions? Then it is not necessary to have access to the php.ini file.
Toivo Talikka, Global Moderator

User avatar
Slackervaara
Joomla! Ace
Joomla! Ace
Posts: 1155
Joined: Sat Aug 13, 2011 6:27 am

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by Slackervaara » Mon Oct 30, 2023 12:38 pm

If you have CPanel. Log in. Open PHP Selector. Choose 8.2
At the top click on extensions.
Enable mysqli
Then it will work. Opcache is also good to enable because it speed up a little.

elPipoViajes
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sat Aug 19, 2017 10:47 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by elPipoViajes » Mon Oct 30, 2023 7:32 pm

toivo wrote: Mon Oct 30, 2023 10:34 am Does your cPanel or a similar page, given to you by your host, have the Software section, from where it is possible not only to select PHP but also to enable the necessary PHP extensions? Then it is not necessary to have access to the php.ini file.
Yes, I have the MySQLi enabled on 8.0, 8.1 and 8.2, but it seems it doesn’t work for the last one on my website. For this reason I ask my hosting about if it’s working well.

elPipoViajes
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sat Aug 19, 2017 10:47 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by elPipoViajes » Mon Oct 30, 2023 7:34 pm

Slackervaara wrote: Mon Oct 30, 2023 12:38 pm If you have CPanel. Log in. Open PHP Selector. Choose 8.2
At the top click on extensions.
Enable mysqli
Then it will work. Opcache is also good to enable because it speed up a little.
Did it several time but it doesn’t work for my website on PHP 8.2 (it does on PHP 8.0 and 8.1)

tascani
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Feb 25, 2015 5:36 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by tascani » Mon Oct 30, 2023 7:54 pm

For PHP 8.2 try enabling both: mysqlnd + nd_mysqli.

elPipoViajes
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sat Aug 19, 2017 10:47 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by elPipoViajes » Mon Oct 30, 2023 9:00 pm

tascani wrote: Mon Oct 30, 2023 7:54 pm For PHP 8.2 try enabling both: mysqlnd + nd_mysqli.
When I try to enable nd_mysqli, CPANEL returns: “nd_mysqli skipped as conflicting

tascani
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Feb 25, 2015 5:36 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by tascani » Mon Oct 30, 2023 9:27 pm

Make sure now that the 'mysqli' driver is NOT enabled there.
Use only the 'nd_' drivers.

elPipoViajes
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sat Aug 19, 2017 10:47 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by elPipoViajes » Tue Oct 31, 2023 9:18 am

Hi,

my hosting made some changes and now the problem with mySQLi is solved, but I have problems with JoomShopping component (I've just opened a ticket to the vendor). I think the main topic is solved, thank you for the support ;)

Regards,

Carles

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 45309
Joined: Sat Apr 05, 2008 9:58 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by Webdongle » Tue Oct 31, 2023 2:04 pm

lol first they say it's not their fault then they make changes and things start working, Well done for pushing them.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/migrat ... oomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

elPipoViajes
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sat Aug 19, 2017 10:47 pm

Re: Upgrading Joomla 4.4.0 to PHP 8.1 or PHP 8.2

Post by elPipoViajes » Tue Oct 31, 2023 2:41 pm

Finally, the website is working fine with 8.2 and it's fasther than 8.0.Again, thank you guys !!

Now, I'm doing fine tunning with 3 warning of PHP: temporary path, post_max_size and upload_max_filesize, more parameters that I can see well configurated on my CPANEL but it seems there're wrong on my php.ini (as the mySQLi check).

Carles

Advertisement

Locked

Return to “General Questions/New to Joomla! 4.x”