Unable to update/install any extensions in Joomla on PHP 8

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
Ardwyad
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Tue Nov 07, 2006 10:43 pm

Unable to update/install any extensions in Joomla on PHP 8

Post by Ardwyad » Fri Jan 27, 2023 12:38 pm

Hello,

I have recently updated PHP to version 8. Ever since, I find that I am unable to update or install any extensions in Joomla (regardless of which extension it is).

When trying to update, I get no specific error (not even when error reporting is set to maximum) other than this:

Code: Select all

An error has occurred.
0 Illegal offset type
When trying to install an extension, I get this error:

Code: Select all

fwrite(): Argument #1 ($stream) must be of type resource, bool given
This occurs in any version of PHP 8 I try (8.0.27, 8.1.14 and 8.2.1). When switching back to PHP 7.4 everything works normally again.

I am running the latest Joomla version 3.10.11.

Can anyone please help resolve this issue? Thanks!

gws
Joomla! Champion
Joomla! Champion
Posts: 5938
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by gws » Fri Jan 27, 2023 1:13 pm

You have extensions or templates that are not php 8.x.x compliant. 3.10.11 will run on php 8.0 but not 8.1 or 8.2.

Ardwyad
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Tue Nov 07, 2006 10:43 pm

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by Ardwyad » Fri Jan 27, 2023 2:26 pm

The problem also occurs with PHP version 8.0.27 though.

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

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by Per Yngve Berg » Fri Jan 27, 2023 2:37 pm

Please post your FPA. See the red frame above.

Ardwyad
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Tue Nov 07, 2006 10:43 pm

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by Ardwyad » Wed Feb 01, 2023 3:53 pm

Here is the information:

Forum Post Assistant (v1.6.6) : 1-Feb-2023 wrote:
Basic Environment :: wrote:Joomla! Instance :: Not Found
Joomla! Configured :: Not Found

Host Configuration :: OS: Linux | OS Version: 3.10.0-862.11.6.el7.centos.plus.1.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 5.97 GiB |

PHP Configuration :: Version: 8.0.27 | PHP API: fpm-fcgi | Session Path Writable: No | Display Errors: 0 | Error Reporting: 22519 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: /var/www/vhosts/druidcircle.org/:/tmp/ | Uploads: 1 | Max. Upload Size: 32M | Max. POST Size: 64M | Max. Input Time: 600 | Max. Execution Time: 600 | Memory Limit: 128M

Database Configuration :: Database Credentials incomplete or not available Nothing to display.
User Privileges : Unknown
Detailed Environment :: wrote:PHP Extensions :: Core (8.0.27) | date (8.0.27) | libxml (8.0.27) | openssl (8.0.27) | pcre (8.0.27) | zlib (8.0.27) | bz2 (8.0.27) | calendar (8.0.27) | ctype (8.0.27) | hash (8.0.27) | filter (8.0.27) | ftp (8.0.27) | gettext (8.0.27) | gmp (8.0.27) | SPL (8.0.27) | iconv (8.0.27) | json (8.0.27) | Reflection (8.0.27) | session (8.0.27) | standard (8.0.27) | SimpleXML (8.0.27) | sockets (8.0.27) | mbstring (8.0.27) | tokenizer (8.0.27) | xml (8.0.27) | cgi-fcgi (8.0.27) | mysqlnd (mysqlnd 8.0.27) | bcmath (8.0.27) | curl (8.0.27) | dba (8.0.27) | dom (20031129) | enchant (8.0.27) | fileinfo (8.0.27) | gd (8.0.27) | imagick (3.7.0) | imap (8.0.27) | intl (8.0.27) | ldap (8.0.27) | exif (8.0.27) | mysqli (8.0.27) | odbc (8.0.27) | PDO (8.0.27) | pdo_mysql (8.0.27) | PDO_ODBC (8.0.27) | pdo_pgsql (8.0.27) | pdo_sqlite (8.0.27) | pgsql (8.0.27) | Phar (8.0.27) | posix (8.0.27) | pspell (8.0.27) | redis (5.3.7) | soap (8.0.27) | sodium (8.0.27) | sqlite3 (8.0.27) | sysvmsg (8.0.27) | sysvsem (8.0.27) | sysvshm (8.0.27) | tidy (8.0.27) | xmlreader (8.0.27) | xmlwriter (8.0.27) | xsl (8.0.27) | zip (1.19.5) | Zend OPcache (8.0.27) | Zend Engine (4.0.27) |
Potential Missing Extensions :: mysql | mcrypt |
Disabled Functions :: opcache_get_status |

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Potential Ownership Issues: Unknown

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

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by Per Yngve Berg » Wed Feb 01, 2023 4:05 pm

You don't have Joomla or you have not put the FPA in the folder where you find configuration.php

Session Path Writable: No

Must be Yes. Contact your host.
Open Base is set. That may contribute to the problem.

Ardwyad
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Tue Nov 07, 2006 10:43 pm

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by Ardwyad » Wed Feb 01, 2023 4:38 pm

I see now that I had misread, and thought I had to upload it in the /administrator/ folder instead of the main folder. My apologies. I moved it now and generated a new report.

Part 1:

Forum Post Assistant (v1.6.6) : 1-Feb-2023 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.10.11-Stable (Daraja) 14-August-2022
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: Yes | GZip: false | Cache: true | CacheTime: 20 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: none | Shared sessions: false | SSL: 2 | Error Reporting: none | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.10.11: Yes | Database Supports J! 3.10.11: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-862.11.6.el7.centos.plus.1.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 5.97 GiB |

PHP Configuration :: Version: 8.0.27 | PHP API: fpm-fcgi | Session Path Writable: No | Display Errors: 0 | Error Reporting: 22519 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: /var/www/vhosts/druidcircle.org/:/tmp/ | Uploads: 1 | Max. Upload Size: 32M | Max. POST Size: 64M | Max. Input Time: 600 | Max. Execution Time: 600 | Memory Limit: 128M

Database Configuration :: Version: 10.5.9-MariaDB (Client:mysqlnd 8.0.27) | Database Size: 884.79 MiB | #of Tables with config prefix:  456 | #of other Tables:  206 | 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.27) | date (8.0.27) | libxml (8.0.27) | openssl (8.0.27) | pcre (8.0.27) | zlib (8.0.27) | bz2 (8.0.27) | calendar (8.0.27) | ctype (8.0.27) | hash (8.0.27) | filter (8.0.27) | ftp (8.0.27) | gettext (8.0.27) | gmp (8.0.27) | SPL (8.0.27) | iconv (8.0.27) | json (8.0.27) | Reflection (8.0.27) | session (8.0.27) | standard (8.0.27) | SimpleXML (8.0.27) | sockets (8.0.27) | mbstring (8.0.27) | tokenizer (8.0.27) | xml (8.0.27) | cgi-fcgi (8.0.27) | mysqlnd (mysqlnd 8.0.27) | bcmath (8.0.27) | curl (8.0.27) | dba (8.0.27) | dom (20031129) | enchant (8.0.27) | fileinfo (8.0.27) | gd (8.0.27) | imagick (3.7.0) | imap (8.0.27) | intl (8.0.27) | ldap (8.0.27) | exif (8.0.27) | mysqli (8.0.27) | odbc (8.0.27) | PDO (8.0.27) | pdo_mysql (8.0.27) | PDO_ODBC (8.0.27) | pdo_pgsql (8.0.27) | pdo_sqlite (8.0.27) | pgsql (8.0.27) | Phar (8.0.27) | posix (8.0.27) | pspell (8.0.27) | redis (5.3.7) | soap (8.0.27) | sodium (8.0.27) | sqlite3 (8.0.27) | sysvmsg (8.0.27) | sysvsem (8.0.27) | sysvshm (8.0.27) | tidy (8.0.27) | xmlreader (8.0.27) | xmlwriter (8.0.27) | xsl (8.0.27) | zip (1.19.5) | Zend OPcache (8.0.27) | Zend Engine (4.0.27) |
Potential Missing Extensions ::
Disabled Functions :: opcache_get_status |

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) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 1526296 | Threads: 9 | Questions: 17871512 | Slow queries: 39 | Opens: 87206 | Open tables: 2000 | Queries per second avg: 11.709 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_mailto (3.0.0) 1 | com_wrapper (3.0.0) 1 |
3rd Party:: WF_AGGREGATOR_DAILYMOTION_TITLE (2.9.33) ? | WF_AGGREGATOR_AUDIO_TITLE (2.9.33) ? | WF_AGGREGATOR_[youtube]_TITLE (2.9.33) ? | WF_AGGREGATOR_VIMEO_TITLE (2.9.33) ? | WF_AGGREGATOR_VIDEO_TITLE (2.9.33) ? | WF_LINK_SEARCH_TITLE (2.9.33) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.9.33) ? | WF_LINKS_JOOMLALINKS_TITLE (2.9.33) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.9.33) ? | WF_IMGMANAGER_TITLE (2.9.33) ? | WF_MEDIA_TITLE (2.9.33) ? | WF_HR_TITLE (2.9.33) ? | WF_LANGCODE_TITLE (2.9.33) ? | WF_SPELLCHECKER_TITLE (2.9.33) ? | WF_ATTRIBUTES_TITLE (2.9.33) ? | WF_STYLESELECT_TITLE (2.9.33) ? | WF_PREVIEW_TITLE (2.9.33) ? | WF_LINK_TITLE (2.9.33) ? | WF_BROWSER_TITLE (2.9.33) ? | WF_CHARMAP_TITLE (2.9.33) ? | WF_PRINT_TITLE (2.9.33) ? | WF_VISUALCHARS_TITLE (2.9.33) ? | WF_FONTCOLOR_TITLE (2.9.33) ? | WF_LISTS_TITLE (2.9.33) ? | WF_HELP_TITLE (2.9.33) ? | WF_SOURCE_TITLE (2.9.33) ? | WF_VISUALBLOCKS_TITLE (2.9.33) ? | WF_STYLE_TITLE (2.9.33) ? | WF_AUTOSAVE_TITLE (2.9.33) ? | WF_FULLSCREEN_TITLE (2.9.33) ? | WF_SEARCHREPLACE_TITLE (2.9.33) ? | WF_CLIPBOARD_TITLE (2.9.33) ? | WF_CONTEXTMENU_TITLE (2.9.33) ? | WF_ANCHOR_TITLE (2.9.33) ? | WF_CLEANUP_TITLE (2.9.33) ? | WF_REFERENCE_TITLE (2.9.33) ? | WF_TEXTCASE_TITLE (2.9.33) ? | WF_FONTSIZESELECT_TITLE (2.9.33) ? | JCE - Noneditable (1.0.0) ? | WF_ARTICLE_TITLE (2.9.33) ? | WF_FORMATSELECT_TITLE (2.9.33) ? | WF_XHTMLXTRAS_TITLE (2.9.30) ? | WF_KITCHENSINK_TITLE (2.9.33) ? | WF_TABLE_TITLE (2.9.33) ? | WF_LAYER_TITLE (2.8.3) ? | WF_DIRECTIONALITY_TITLE (2.9.33) ? | WF_EMOTIONS_TITLE (2.9.33) ? | WF_NONBREAKING_TITLE (2.9.33) ? | WF_WORDCOUNT_TITLE (2.9.33) ? | WF_FONTSELECT_TITLE (2.9.33) ? | kunena_tmpl_crypsis (5.2.3) ? | kunena_tmpl_crypsisb4 (5.2.3) ? | kunena_tmpl_crypsisb3 (5.2.3) ? | CBSubs GoogleAnalytics (2.7.2) ? | CBSubs GroupJive (2.7.2) ? | CBSubs Email (2.7.2) ? | CBSubs CB Field (2.7.2) ? | CBSubs Content (2.7.2) ? | CBSubs IDevAf (2.7.2) ? | CBSubs AcyMailing (2.7.2) ? | TwoCheckout (2.7.2) ? | CB Paid Subscriptions (2.7.2) ? | AcyMailing CB Plugin (2.1.4) ? | CBSubs Fields Tabs Protect (2.7.2) ? | CB GroupJive Video (2.7.4) ? | CB GroupJive File (2.7.4) ? | CB GroupJive Forums (2.7.4) ? | CB GroupJive Events (2.7.4) ? | CB GroupJive Photo (2.7.4) ? | CB GroupJive Wall (2.7.4) ? | CB GroupJive About (2.7.4) ? | CB GroupJive (2.7.4) 1 | CB Auto Actions (2.7.3) ? | CBSubs Folder Access (2.7.2) ? | Geommunity Locator (2.0.0) ? | CB Privacy (2.5.0) ? | CB Gallery (2.7.2) 1 | Joomdlehooks Communty Builder (2.0.2) ? | CB Activity (2.4.2) 1 | CB AntiSpam (2.7.2) ? | CB Auto Welcome (2.0.13) ? | CB JEvents (2.0) ? | JBolo (2.0) ? | Tickets History (2.0.0) ? |

Components :: Admin ::
Core :: com_contenthistory (3.2.0) 1 | com_newsfeeds (3.0.0) 1 | com_categories (3.0.0) 1 | com_login (3.0.0) 1 | com_search (3.0.0) 1 | com_banners (3.0.0) 1 | com_admin (3.0.0) 1 | com_users (3.0.0) 1 | com_menus (3.0.0) 1 | com_fields (3.7.0) 1 | com_languages (3.0.0) 1 | com_cache (3.0.0) 1 | com_messages (3.0.0) 1 | com_redirect (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_tags (3.1.0) 1 | com_templates (3.0.0) 1 | com_cpanel (3.0.0) 1 | com_ajax (3.2.0) 1 | com_installer (3.0.0) 1 | com_config (3.0.0) 1 | com_joomlaupdate (3.10.1) 1 | com_media (3.0.0) 1 | com_content (3.0.0) 1 | com_associations (3.7.0) 1 | com_weblinks (3.9.0) 1 | com_privacy (3.9.0) 1 | com_modules (3.0.0) 1 | com_finder (3.0.0) 1 | com_plugins (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_checkin (3.0.0) 1 |
3rd Party:: Akeeba (8.2.6) 1 | COM_JCE (2.9.33) 1 | spambotcheck (3.0.1) 1 | mobilejoomla (2.1.51.pro) 1 | RSFirewall! (3.0.10) 1 | com_osmeta (2.0.4) 1 | Maximenu CK (9.1.27) 1 | com_maximenuck (9.1.27) 1 | SeoBoss (2.0.19) 1 | AcyMailing - Search emails in Jooml (8.0.0) ? | AcyMailing - JCE integration (8.0.0) 1 | AcyMailing - Joomla integration (8.0.0) 1 | AcyMailing - Override Joomla emails (8.0.0) 1 | AcyMailing subscription form (8.0.0) 1 | Acym (8.0.0) 1 | JAGDPR (1.0.4) 1 | FAQ Book Pro (3.9.8) 1 | com_profiles (1.5.0) 1 | [youtube] Gallery (4.3.8) 1 | JLike (1.2.1) 1 | COM_CONTENTMAP (1.3.11) 1 | com_docman (4.0.16) 1 | Helpdesk Pro (5.1.2) 1 | COM_JCHOPTIMIZE (7.3.4) 1 | visforms (3.14.10) 1 | Geommunity3CB - Map (1.2.5) 1 | com_geommunity3cb (1.5.8) 1 | plg_kunena_comprofiler (5.2.3) 1 | plg_kunena_community (5.2.3) 0 | plg_kunena_alphauserpoints (5.0.13) ? | plg_kunena_altauserpoints (5.2.3) 0 | plg_kunena_finder (5.2.3) 0 | plg_kunena_joomla (5.2.3) 1 | PLG_KUNENA_EASYBLOG (0.0.1) ? | PLG_KUNENA_EASYPROFILE (5.2.3) 0 | plg_kunena_uddeim (5.2.3) 1 | plg_finder_kunena (5.2.3) 1 | plg_kunena_kunena (5.2.3) 1 | plg_kunena_easysocial (5.2.3) 0 | plg_kunena_gravatar (5.2.3) 0 | mod_kunenamenu (3.0.4) ? | com_kunena (5.2.3) 1 | Minitek Live Search (3.5.7) 1 | com_joomdle (2.0.4) 1 | com_jbolo (3.2.12) 1 | com_attachments (3.2.6) 1 | COM_JEVENTS (3.6.47) 1 | uddeIM (4.0) 1 | COM_ADVANCEDMODULES (9.5.6) 1 | comprofiler (2.7.4+build.2) 1 | COM_MIGRATEMEPLUS (3.9.24) 1 |

Modules :: Site ::
Core :: mod_stats (3.0.0) 1 | mod_search (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_articles_popular (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_weblinks (3.9.0) 1 | mod_users_latest (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_articles_news_adv (1.4.5) 1 | mod_banners (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_login (3.0.0) 1 |
3rd Party:: CB Activity (5.0.0+build.2) 1 | uddeIM Notifier (4.0) 1 | CB ProfileBook Latest (3.2.0+build.2) 1 | Community Builder Workflows module (2.7.4+build.2) 1 | CB Gallery (2.5.0+build.2) 1 | CB GroupJive (3.5.1) 1 | MOD_JEV_LATEST_EVENTS_TITLE (3.6.47) 1 | CG Popup (1.2.0) 1 | AcyMailing Module (3.7.0) 1 | mod_jmb_tree_pro (1.0.1) 1 | mod_kunenalogin (5.2.1) 1 | Mobile - Proxy Position (2.1.51.pro) 1 | Joomdle My Courses (1.2.0) 1 | mod_kunenalatest (5.2.1) 1 | Header (1.2.13) 1 | JBolo - Chat (3.2.12) 1 | uddeIM Mailbox (4.0) 1 | BM Cool Menu (1.0.0) 1 | JBolo - One Click Group Chat for Gr (3.2.12) ? | WS-Menublocks (1.1.0) 1 | MOD_JEV_SWITCH_VIEW_TITLE (3.6.47) 1 | [youtube] Gallery Module (4.3.8) 1 | DJ-Menu (2.0.2) 1 | Beautiful CK (1.1.1) 1 | mod_jt_custom (1.7) 1 | mod_contentmap (1.3.10) 1 | mod_pro_complete (2.5) 1 | uddeIM Statistics (4.0) 1 | mod_article (2.5.2.7) 1 | CB Subscriptions (4.6.1+build.2) 1 | MOD_JEV_CALENDAR_TITLE (3.6.47) 1 | JBolo - Chat Theme (3.2.12) 1 | MOD_JEV_FILTER_MODULE_TITLE (3.6.47) 1 | Mobile - Mobile Switcher (2.1.51.pro) 1 | Mobile - Proxy Module (2.1.51.pro) 1 | Mobile Menu (1.2.13) 1 | AcyMailing subscription form (7.9.8) 1 | Maximenu CK (9.1.27) 1 | Cinch Menu (2.0) 1 | ARI Ext Menu (2.2.12) 1 | mod_jbcookies (3.1.9) 1 | mod_jmb_tree (1.0.3) 1 | Phoca - GAE (3.0.3) 1 | Visforms (3.17.5) 1 | Geommunity (2.6.26) 1 | Geommunity3CB - Map (1.2.5) 1 | HTML5 Media Player (1.0) 1 | mod_jlike_most_likes (1.2.1) 1 | Recently liked Content (1.2.1) 1 | KISS GooSence (2.5.05) 1 | MOD_JEV_LEGEND_TITLE (3.6.47) 1 | Minitek Live Search (3.4.5) 1 | Community Builder Login module (2.7.4+build.2) 1 | ARI YUI Menu (2.1.2) 1 | mod_docman_documents (4.0.16) 1 | MOD_JEV_CUSTOM_MODULE_TITLE (3.6.47) 1 | Joomdle courses (1.2.0) 1 | Community Builder Online module (2.7.4+build.2) 1 | Easy Pricing Table (1.8) 1 | mod_docman_categories (4.0.16) 1 |

Modules :: Admin ::
Core :: mod_title (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_latest (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_menu (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_version (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_status (3.0.0) 1 | mod_login (3.0.0) 1 |
3rd Party:: KC Admin QuickIcons (3.2.0) 1 | MOD_JEV_DASHBOARD_MODULE_TITLE (3.6.47) 1 | Community Builder Admin module (2.7.4+build.2) 1 | RSFirewall! Control Panel Module (1.4.0) 1 |

Libraries ::
Core ::
3rd Party:: Community Builder Library (2.7.4+build.2) 1 | file_fof40 (4.1.0) ? | Regular Labs Library (23.1.9739) 1 | file_fof30 (3.6.2) ? | jsocial (1.2.1) ? | Techjoomla (1.0.4) 1 |

Templates Discovered :: wrote:Templates :: Site :: mobile_iphone_orig (1.2.13) 1 | mobile_smartphone (1.2.13) 1 | mobile_imode (1.2.13) 1 | beez5 (2.5.0) 1 | mobile_iphone (1.2.13) 1 | beez3 (3.1.0) 1 | mobile_default (1.2.13) 1 | atomic (2.5.0) 1 | Mobile_Basic (2.1.48.pro) 1 | mobile_wap (1.2.13) 1 | protostar (1.0) 1 | beez_20 (2.5.0) 1 | eco (3.0.1) 1 |
Templates :: Admin :: bluestork (2.5.0) 1 | isis (1.0) 1 | isis (1.0) 1 | hathor (3.0.0) 1 |

Ardwyad
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Tue Nov 07, 2006 10:43 pm

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by Ardwyad » Wed Feb 01, 2023 4:43 pm

Part 2:

Forum Post Assistant (v1.6.6) : 1-Feb-2023 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.10.11-Stable (Daraja) 14-August-2022
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: Yes | GZip: false | Cache: true | CacheTime: 20 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: none | Shared sessions: false | SSL: 2 | Error Reporting: none | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.10.11: Yes | Database Supports J! 3.10.11: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-862.11.6.el7.centos.plus.1.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 5.97 GiB |

PHP Configuration :: Version: 8.0.27 | PHP API: fpm-fcgi | Session Path Writable: No | Display Errors: 0 | Error Reporting: 22519 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: /var/www/vhosts/druidcircle.org/:/tmp/ | Uploads: 1 | Max. Upload Size: 32M | Max. POST Size: 64M | Max. Input Time: 600 | Max. Execution Time: 600 | Memory Limit: 128M

Database Configuration :: Version: 10.5.9-MariaDB (Client:mysqlnd 8.0.27) | Database Size: 884.79 MiB | #of Tables with config prefix:  456 | #of other Tables:  206 | 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.27) | date (8.0.27) | libxml (8.0.27) | openssl (8.0.27) | pcre (8.0.27) | zlib (8.0.27) | bz2 (8.0.27) | calendar (8.0.27) | ctype (8.0.27) | hash (8.0.27) | filter (8.0.27) | ftp (8.0.27) | gettext (8.0.27) | gmp (8.0.27) | SPL (8.0.27) | iconv (8.0.27) | json (8.0.27) | Reflection (8.0.27) | session (8.0.27) | standard (8.0.27) | SimpleXML (8.0.27) | sockets (8.0.27) | mbstring (8.0.27) | tokenizer (8.0.27) | xml (8.0.27) | cgi-fcgi (8.0.27) | mysqlnd (mysqlnd 8.0.27) | bcmath (8.0.27) | curl (8.0.27) | dba (8.0.27) | dom (20031129) | enchant (8.0.27) | fileinfo (8.0.27) | gd (8.0.27) | imagick (3.7.0) | imap (8.0.27) | intl (8.0.27) | ldap (8.0.27) | exif (8.0.27) | mysqli (8.0.27) | odbc (8.0.27) | PDO (8.0.27) | pdo_mysql (8.0.27) | PDO_ODBC (8.0.27) | pdo_pgsql (8.0.27) | pdo_sqlite (8.0.27) | pgsql (8.0.27) | Phar (8.0.27) | posix (8.0.27) | pspell (8.0.27) | redis (5.3.7) | soap (8.0.27) | sodium (8.0.27) | sqlite3 (8.0.27) | sysvmsg (8.0.27) | sysvsem (8.0.27) | sysvshm (8.0.27) | tidy (8.0.27) | xmlreader (8.0.27) | xmlwriter (8.0.27) | xsl (8.0.27) | zip (1.19.5) | Zend OPcache (8.0.27) | Zend Engine (4.0.27) |
Potential Missing Extensions ::
Disabled Functions :: opcache_get_status |

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) |
Extensions Discovered :: wrote:





Plugins ::
3rd Party:: plg_finder_visforms (3.0.2) 0 | plg_finder_kunena (5.2.3) 1 | plg_finder_docman (4.0.16) 1 | PLG_FINDER_JEVENTS (3.6.47) 0 | Smart Search - Minitek FAQ Book Pro (1.0.1) 1 | Joomdleprofile - Joomdle Community (1.0.3) ? | JBolo - Text Processing (3.2.12) 1 | plg_attachments_plugin_framework (3.2.6) 1 | plg_attachments_for_content (3.2.6) 1 | AcyMailing Tag : Subscriber informa (5.10.4) ? | AcyMailing Template Class Replacer (5.10.4) 1 | AcyMailing : share on social networ (1.0.0) ? | AcyMailing Manage text (1.0.0) 1 | AcyMailing table of contents genera (1.0.0) ? | AcyMailing : Statistics Plugin (3.7.0) 1 | AcyMailing Tag and filter : Communi (3.7.2) ? | AcyMailing Tag and filter : Communi (3.7.2) ? | AcyMailing Tag : content insertion (3.7.0) 1 | AcyMailing Tag : Date / Time (5.10.4) 1 | AcyMailing Tag : Manage the Subscri (5.10.4) ? | AcyMailing Tag : Website links (3.7.0) 1 | AcyMailing : trigger Joomla Content (3.7.0) ? | AcyMailing Tag : Joomla User Inform (5.10.4) ? | plg_content_visforms_data (1.11.7) 1 | JLike Phoca Gallery Plugin (1.2.1) 0 | uddeIM Content Link (4.0) 0 | plg_content_attachments (3.2.6) 1 | JLike jTicketing Plugin (1.2.1) 0 | JLike Quick2cart Plugin (1.2.1) 0 | JLike Easydiscuss Plugin (1.2.1) 0 | Content - SeoBoss Content (2.0.19) 0 | Content - Helpdesk Pro (5.1.2) 1 | JLike VirtueMart Plugin (1.2.1) 0 | Content - CB Gallery (2.5.0+build.2) 1 | JLike Easyblog Plugin (1.2.1) 0 | JLike communitypolls Plugin (1.1.6) 0 | JLike jGive Plugin (1.2.1) 0 | plg_content_doclink (4.0.16) 1 | Content - OSMeta Content (2.0.4) 1 | PLG_JEV_CORE_CONTENT_PLUGIN_TITLE (3.6.47) 1 | JLike Socialads Plugin (1.2.1) 0 | plg_content_contentmap (1.3.5) 1 | JLike Ohanah Plugin (1.2.1) 0 | Content - CB Activity (5.0.0+build.2) 1 | JLike Articles Plugin (1.2.1) 0 | [youtube] Plugin (1.1) 1 | JLike Flexicontent Plugin (1.2.1) 0 | JLike JEvents Plugin (1.2.1) 1 | plg_content_jce (2.9.33) 1 | plg_content_f90filter (1.0.4) 1 | plg_content_visforms_form (3.4.8) 0 | JLike Redshop Plugin (1.2.1) 0 | plg_content_cdaccesstext (3.x.2.0.3) 0 | Content - [youtube] Gallery (4.3.8) 1 | plg_visforms_custom_redirects (2.0.2) 0 | plg_visforms_max_submissions (1.6.5) 0 | plg_visforms_vfdoubleoptin (1.0.2) 0 | plg_visforms_visforms (1.3.3) 1 | plg_visforms_auto_delete_data (1.1.3) 0 | plg_visforms_delay_double_registrat (1.5.4) ? | plg_visforms_mail_attachments (1.6.6) 0 | plg_visforms_custom_mail_address (1.4.9) 0 | plg_visforms_spambotcheck (3.6.2) 1 | plg_system_joomlatoolsupdater (1.1.0) 1 | System - Helpdesk Pro Ticket From C (5.1.2) ? | System - Joomdle License (1.0.0) 1 | PLG_SYSTEM_JCHOPTIMIZEPAGECACHE (7.3.4) 0 | System - Helpdeskpro Auto Close Tic (5.1.2) ? | cbpaidsubsbot (4.6.1+build.2) 1 | System - JBolo (3.2.12) 1 | plg_system_joomlatools (4.0.8) 1 | PLG_SYSTEM_REGULARLABS (23.1.9739) 1 | plg_system_cdscriptegrator (3.x.2.4.5) 0 | AcyMailing - JCE integration (7.9.8) 1 | System - OSMeta Renderer (2.0.4) 1 | plg_system_sl_scrolltotop (2.0.0) 1 | PLG_SYSTEM_ADVANCEDMODULES (9.5.6) 1 | PLG_SYSTEM_BACKUPONUPDATE (8.2.6) 0 | System - Escope Error Handler (1.0.1) 1 | PLG_SYS_SOFTLOG (1.0.6) 1 | JLike API System Plugin (1.2.1) 1 | uddeIM Hooks (4.0) 0 | System - Mobile Core (2.1.51.pro) 1 | AcyMailing - Override Joomla emails (7.9.8) 1 | System - Helpdeskpro Reply Via Emai (5.1.2) ? | System - Mobile Page Optimizer (2.1.51.pro) 1 | plg_system_osmylicensesmanager (2.0.15) 1 | System - CB Auto Actions (9.1.0+build.2) 0 | WS-Menublocks Helper (1.1.0) 1 | System - Techjoomla Assets Loader (1.7.3) 1 | plg_system_kunena (5.2.3) 1 | PLG_SYS_SESSIONKEEPER (3.1.3) 1 | PLG_SYSTEM_BETTERTRASH (1.7.1) 1 | AcyMailing - Joomla integration (7.9.8) 1 | PLG_SYSTEM_EASYCALCCHECKPLUS (3.3.0.0-FREE) 1 | plg_system_joomlatoolsscheduler (1.0.0) 1 | System - Invalid Token Interceptor (1.1.0) 1 | System - SeoBoss Renderer (2.0.19) 0 | AcyMailing JCE integration (5.10.4) 0 | plg_system_show_attachments_in_edit (3.2.6) ? | System - Jlike-Sobipro (1.2.1) 0 | plg_system_jce (2.9.33) 1 | plg_system_tjupdates (1.0.2) 1 | PLG_EASYSESSIONKILLER (3.2.0.0-FREE) 1 | Abivia.net SuperTable Free Plugin (2.0.5) 0 | plg_system_delete_visforms_data (1.2.1) 0 | PLG_SYSTEM_GWEJSON (3.6.47) 1 | PLG_SYSTEM_JCHOPTIMIZE (7.3.4) 1 | System - RSFirewall! Active Scanner (1.4.0) 1 | Community Builder System plugin (2.7.4+build.2) 1 | AcyMailing : (auto)Subscribe during (5.10.4) ? | System - Joomdlesession (1.0) 1 | JLike jcomments Plugin (1.2.1) 0 | Helpdesk Pro - Pre-reply messages (5.1.2) 1 | Helpdesk Pro - Ticket Attachments (5.1.2) 0 | Helpdesk Pro - Ticket History (5.1.2) 1 | Helpdesk Pro - Assign Ticket (5.1.2) 1 | Kunena - CB AntiSpam (5.0.0+build.2) 0 | plg_kunena_finder (5.2.3) 0 | plg_kunena_altauserpoints (5.2.3) 0 | plg_kunena_joomla (5.2.3) 1 | PLG_KUNENA_EASYPROFILE (5.2.3) 0 | plg_kunena_kunena (5.2.3) 1 | plg_kunena_gravatar (5.2.3) 0 | JLike Kunena Plugin (1.2.1) 1 | plg_kunena_comprofiler (5.2.3) 1 | plg_kunena_easysocial (5.2.3) 0 | plg_kunena_community (5.2.3) 0 | plg_kunena_uddeim (5.2.3) 1 | plg_search_attachments (3.2.6) 1 | AcyMailing - Search emails in Jooml (7.9.8) ? | Search - Joomdle Courses (1.0) 1 | PLG_JEV_SEARCH_TITLE (3.6.47) 1 | Search - CB GroupJive (3.5.1) 1 | Search - Joomdle Course Categories (1.0) 1 | uddeIM Searchbot (4.0) 0 | plg_search_docman (4.0.16) 1 | plg_search_faqbookpro (3.0.1) 1 | Search - Community Builder (2.1.0) 1 | Search - Joomdle Course Topics (1.0) 1 | plg_search_visformsdata (1.1.3) 0 | plg_search_mediawiki (1.7.0) 0 | PLG_AJAX_SOFTLOG (1.0.6) 1 | Mobile - Domains (2.1.51.pro) 1 | Mobile - Mobile Pro (2.1.51.pro) 1 | Mobile - Forever (2.1.51.pro) 1 | Mobile - Simple (2.1.51.pro) 1 | Mobile - AMDD (2.1.51.pro) 1 | User hooks - Joomdle (1.0) 1 | User - SpambotCheck (3.0.1) 1 | User - JBolo (3.2.12) 1 | plg_fields_mediajce (2.9.33) 1 | Minitek Updates Authentication (3.0.1) 1 | plg_installer_jeventsinstaller (3.6.47) 1 | Installer - Helpdesk Pro (5.1.2) 1 | plg_installer_jce (2.9.33) 1 | plg_installer_rsfirewall (1.0.0) 1 | plg_privacy_jbolo (3.2.12) 1 | plg_privacy_visforms (1.0.2) 1 | JEV_USERS_TITLE (3.6.0) 1 | JEV_RSVP (3.6.1) 1 | JEvents - Community Builder Avatars (3.1.0) ? | plg_pagecache_visforms (1.0.1) 1 | PLG_ACTIONLOG_JBOLO (3.2.12) 0 | PLG_ACTIONLOG_VISFORMS (1.0.2) 1 | PLG_ACTIONLOG_ADVANCEDMODULES (9.5.6) 1 | JEvents - Action Log (3.6.47) 0 | PLG_ACTIONLOG_AKEEBABACKUP (8.2.6) 0 | plg_extension_jce (2.9.33) 1 | JLike Hikashop Plugin (1.2.1) 0 | JLike Plugin for Jomsocial (1.2.1) 0 | plg_community_plg_js_jbolo_online (3.2.12) 1 | plg_editors-xtd_visformfields (3.6.1) 1 | plg_editors-xtd_add_attachment_btn (3.2.6) 1 | plg_editors-xtd_doclink (4.0.16) 1 | plg_editors-xtd_insert_attachments_ (3.2.6) ? | plg_quickicon_attachments (3.2.6) 1 | Quickicon - Mobile CPanel Icon (2.1.51.pro) 1 | plg_quickicon_kunena (5.2.3) 1 | plg_quickicon_jce (2.9.33) 1 | plg_quickicon_akeebabackup (8.2.6) 1 | Captcha - CB AntiSpam (5.0.0+build.2) 0 | plg_editors_codemirror (5.60.0) 1 | plg_editors_jce (2.9.33) 1 | plg_editors_tinymce (4.5.12) 1 | AcyMailing Editor (5.10.4) ? | JA GDPR AcyMailing Plugin (1.0.2) 1 | JA GDPR Joomla core plugin (1.0.2) 1 | JA GDPR Community Builder Plugin (1.0.1) 1 | JA GDPR Kunena Plugin (1.0.1) 1 | JA GDPR General Plugin (1.0.1) 1 | JA GDPR Custom Plugin (1.0.2) 1 | Jlike K2 Plugin (1.2.1) 0 | JLike komento Plugin (1.2.1) 0 | Authentication - Master User (2.3.0) 0 |
Templates Discovered :: wrote:Templates :: Site :: mobile_iphone_orig (1.2.13) 1 | mobile_smartphone (1.2.13) 1 | mobile_imode (1.2.13) 1 | mobile_iphone (1.2.13) 1 | mobile_default (1.2.13) 1 | Mobile_Basic (2.1.48.pro) 1 | mobile_wap (1.2.13) 1 | eco (3.0.1) 1 |
Templates :: Admin ::

Ardwyad
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Tue Nov 07, 2006 10:43 pm

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by Ardwyad » Wed Feb 01, 2023 6:28 pm

I have just managed to make the session path writable, and at first glance that seems to resolve the issue.

Ardwyad
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Tue Nov 07, 2006 10:43 pm

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by Ardwyad » Tue Feb 07, 2023 6:05 pm

It seems I spoke too soon... The issue is still exactly the same.

I checked again with the FPA and it apparently still says the session folder is not writable. I CHMODded it to various things, even tried 777 but no change whatsoever (I also tried 755 but that breaks the website entirely, only showing a blank screen with the text "error"). I can't figure anything else out to make it writable.

I tested the extension updater on another, smaller Joomla site (also latest version and all, just fewer extensions, plugins, ...) and there updating works fine. The FPA assistant there also says the session folder is not writable (it's on the same server, just a different subdomain). So if updating extensions works there, then the session folder not being writable doesn't actually cause the issue.

I checked the various extensions installed on my Joomla site (the one that is giving the issues), uninstalled a few that no longer seem to function properly in PHP8. I also tried disabling several site & admin plugins to see if that makes a difference. No change at all whatsoever. The only one I can't seem to get uninstalled is uddeIM, so I simply disabled it.

I don't know what else I can try to fix this problem.

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9729
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by AMurray » Tue Feb 07, 2023 9:21 pm

You shouldn't need to (and just shouldn't, period) use 777 permissions.

If you get just the word "Error" then turn on the error reporting, and debug (edit the configuration.php file to change those as you can't do so from Joomla). Report back any errors you see.
Regards - A Murray
General Support Moderator

Ardwyad
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Tue Nov 07, 2006 10:43 pm

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by Ardwyad » Tue Feb 07, 2023 9:35 pm

Thanks for your response. I just tried switching it to 755 again, and now the website keeps working - I swear I tried it a few times before and then it just gave "error" each time until I switched it to something else again.

However, even with the CHMOD 755 for the session folder, the FPA still says it is not writable.
And all that aside, I am still unable to update or install any extensions while on PHP8.

Ardwyad
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Tue Nov 07, 2006 10:43 pm

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by Ardwyad » Wed Feb 08, 2023 8:20 am

So chmod 755 for the session folder DOES cause the error, but not right away. I changed to it last night and Joomla kept working - and sometime this morning started giving the "error" screen. So changed the CHMOD to 733 again and now everything is back to normal. Very strange.

Ardwyad
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Tue Nov 07, 2006 10:43 pm

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by Ardwyad » Thu Feb 16, 2023 8:28 pm

The problem is still the same, and since it has nothing to do with the sessions path being writable or not, can anyone please help me out with what the cause might be?

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

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by Per Yngve Berg » Thu Feb 16, 2023 8:49 pm

Open Base: /var/www/vhosts/druidcircle.org/:/tmp/

Make it empty. It blocks access to some folders.

Ardwyad
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Tue Nov 07, 2006 10:43 pm

Re: Unable to update/install any extensions in Joomla on PHP 8

Post by Ardwyad » Mon Feb 20, 2023 12:42 pm

That map is already empty, so I have nothing to delete there...


Locked

Return to “Administration Joomla! 3.x”