3.9 Site down after changing to PHP 7.0.32 Topic is solved

Need help upgrading your Joomla! website or converting to Joomla! 3.x?

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
mike_r
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Nov 13, 2018 1:19 am

3.9 Site down after changing to PHP 7.0.32

Post by mike_r » Tue Nov 13, 2018 2:02 am

After changing PHP version from 5.6 to 7.0.32 (the most recent version available from the hosting service) through cPanel on a recently upgraded 3.9 site, the site becomes inaccessible. Both the frontend and the administration backend pages are blank with no error messages. Apparently a db connection issue? If the PHP version is returned to version 5.6 everything works normally.

An older site (Joomla version 3.6) on the same server controlled by the same PHP settings works fine. This site was an old development site that uses the same template and extensions as the 3.9 version.

Any ideas on what might be the issue?

annahersh
Joomla! Guru
Joomla! Guru
Posts: 734
Joined: Wed Aug 15, 2018 8:23 pm

Re: 3.9 Site down after changing to PHP 7.0.32

Post by annahersh » Tue Nov 13, 2018 3:40 am

Set error reporting to maximum in the global settings and enable debug then check to see if there are error messages. If your host allows php 7.2, use that version.

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28202
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: 3.9 Site down after changing to PHP 7.0.32

Post by imanickam » Tue Nov 13, 2018 3:49 am

The sites I maintain are using PHP 7.0.32 and have not encountered any errors of this kind. All the sites are running fine.

As annahersh specifies, setting the Error Reporting maximum would give some clue as to where things fail.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

mike_r
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Nov 13, 2018 1:19 am

Re: 3.9 Site down after changing to PHP 7.0.32

Post by mike_r » Tue Nov 13, 2018 4:52 am

Thanks annahersh, error reporting had been set to maximum and debugging enabled - but no error messages.

Unfortunately the host is not yet able to offer php 7.2.

It it is curious that the older site works fine.

User avatar
JAVesey
Joomla! Hero
Joomla! Hero
Posts: 2636
Joined: Tue May 14, 2013 1:21 pm
Location: Cardiff, Wales, UK
Contact:

Re: 3.9 Site down after changing to PHP 7.0.32

Post by JAVesey » Tue Nov 13, 2018 7:11 am

When problems off this type are reported it is always a 3rd-party extension (component, module, plugin or template) that is incompatible with the PHP version in use. It is never Joomla's core issue.

Make sure that all your extensions are updated, including those (and there are still many) that do no not use the update notification system in /administrator.
John V
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28

mike_r
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Nov 13, 2018 1:19 am

Re: 3.9 Site down after changing to PHP 7.0.32

Post by mike_r » Tue Nov 13, 2018 8:21 am

Thanks John, but all extensions have been updated and are identical to the ones used on the development site that works fine with php 7.0.32. The only difference being that the working site hasn't had Joomla updated and is currently on version 3.6.0

User avatar
pmleconte
Joomla! Guru
Joomla! Guru
Posts: 591
Joined: Fri Mar 17, 2017 12:55 pm
Location: France

Re: 3.9 Site down after changing to PHP 7.0.32

Post by pmleconte » Tue Nov 13, 2018 8:33 am

Hi,

You've updated all your extensions : ok, but, are they Joomla 3.9 compatible ?

To help us help you : viewtopic.php?f=714&t=793531

Pascal
If anything can go wrong, it will.
https://www.conseilgouz.com/en

mike_r
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Nov 13, 2018 1:19 am

Re: 3.9 Site down after changing to PHP 7.0.32

Post by mike_r » Tue Nov 13, 2018 9:45 pm

Thanks Pascal, yes I'm sure all extensions are 3.9 compatible. The site runs fine with 3.9 and php 5.6 (no errors), but when php is switched to 7.0.32 Joomla doesn't start at all - including the administrator backend. Switch back to php 5.6 and then all is well.

On the separate original development site running on the same server and php settings with the same templates and extensions, but running 3.6.5 and php 7.0.32 everything works fine. So it seems everything is compatible with 3.9 and 7.0.32 except when they are running concurrently. To test this further I upgraded the 3.6.5 site to 3.9 and sure enough it doesn't work when switched to php 7.0.32.

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

Re: 3.9 Site down after changing to PHP 7.0.32

Post by toivo » Tue Nov 13, 2018 10:37 pm

As requested by @pmleconte, please post the results from the Forum Post Assistant (FPA), which may offer clues to why the combination of some third party extension(s) and your template fails in Joomla 3.9.0 and PHP 7.
Toivo Talikka, Global Moderator

mike_r
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Nov 13, 2018 1:19 am

Re: 3.9 Site down after changing to PHP 7.0.32

Post by mike_r » Wed Nov 14, 2018 1:22 am

FPA results as requested:
Forum Post Assistant (v1.4.5 (Ganymede)) : 14th November 2018 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.9.0-Stable (Amani) 30-October-2018
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) | Owner: --protected-- . (uid: 1/gid: 1) | Group: --protected-- (gid: 1) | Valid For: 3.9
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 122 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: maximum | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.9.0: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 2.6.32-673.26.1.lve1.4.15.el6.x86_64 | Technology: x86_64 | Web Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 | Encoding: gzip, deflate, br | Doc Root: --protected-- | System TMP Writable: Yes | Free Disk Space : 141.55 GiB |

PHP Configuration :: Version: 7.0.32 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 1 | Error Reporting: 32767 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 64M | Max. POST Size: 128M | Max. Input Time: -1 | Max. Execution Time: 30 | Memory Limit: 256M

Database Configuration :: Version: 5.5.61-cll (Client:5.5.61) | Host: --protected-- (--protected--) | Localhost: Yes | Collation: utf8_general_ci (Character Set: utf8) | Database Size: 12.47 MiB | #of Tables: 115
Detailed Environment :: wrote:PHP Extensions :: Core (7.0.32) | date (7.0.32) | libxml (7.0.32) | openssl (7.0.32) | pcre (7.0.32) | sqlite3 (7.0.32) | zlib (7.0.32) | bz2 (7.0.32) | calendar (7.0.32) | ctype (7.0.32) | curl (7.0.32) | hash (1.0) | filter (7.0.32) | ftp (7.0.32) | gettext (7.0.32) | gmp (7.0.32) | SPL (7.0.32) | iconv (7.0.32) | pcntl (7.0.32) | readline (7.0.32) | Reflection (7.0.32) | session (7.0.32) | standard (7.0.32) | shmop (7.0.32) | SimpleXML (7.0.32) | mbstring (7.0.32) | tokenizer (7.0.32) | xml (7.0.32) | cgi-fcgi () | bcmath (7.0.32) | posix (7.0.32) | imap (7.0.32) | tidy (7.0.32) | pspell (7.0.32) | dom (20031129) | json (1.4.0) | PDO (7.0.32) | soap (7.0.32) | wddx (7.0.32) | sockets (7.0.32) | gd (7.0.32) | xmlreader (7.0.32) | pdo_mysql (7.0.32) | xmlrpc (7.0.32) | exif (7.0.32) | xmlwriter (7.0.32) | mcrypt (7.0.32) | xsl (7.0.32) | pdo_sqlite (7.0.32) | suhosin7 (0.10.0dev) | mysqli (7.0.32) | zip (1.13.5) | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $) | ionCube Loader () | Zend Engine (3.0.0) |
Potential Missing Extensions ::

Switch User Environment (Experimental) :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Custom SU (LiteSpeed/Cloud/Grid): 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) :: zzznew/images/stories/ (777) |
Database Information :: wrote:Database statistics :: Uptime: 3472020 | Threads: 3 | Questions: 126707815 | Slow queries: 2229 | Opens: 1200198 | Flush tables: 1 | Open tables: 400 | Queries per second avg: 36.493 |
Extensions Discovered :: wrote:Components :: SITE ::
Core :: com_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
3rd Party:: WF_SEARCHREPLACE_TITLE (2.6.33) 1 | WF_LAYER_TITLE (2.6.33) 1 | WF_VISUALCHARS_TITLE (2.6.33) 1 | WF_TEXTCASE_TITLE (2.6.33) 1 | WF_IMGMANAGER_TITLE (2.6.33) 1 | WF_HR_TITLE (2.6.33) 1 | WF_FORMATSELECT_TITLE (2.6.33) 1 | WF_FONTCOLOR_TITLE (2.6.33) 1 | WF_STYLE_TITLE (2.6.33) 1 | WF_PREVIEW_TITLE (2.6.33) 1 | WF_BROWSER_TITLE (2.6.33) 1 | WF_VISUALBLOCKS_TITLE (2.6.33) 1 | WF_LISTS_TITLE (2.6.33) 1 | WF_FONTSIZESELECT_TITLE (2.6.33) 1 | WF_LINK_TITLE (2.6.33) 1 | WF_FULLSCREEN_TITLE (2.6.33) 1 | WF_XHTMLXTRAS_TITLE (2.6.33) 1 | WF_STYLESELECT_TITLE (2.6.33) 1 | WF_AUTOSAVE_TITLE (2.6.33) 1 | WF_MEDIA_TITLE (2.6.33) 1 | WF_SPELLCHECKER_TITLE (2.6.33) 1 | WF_INLINEPOPUPS_TITLE (2.6.33) 1 | WF_SOURCE_TITLE (2.6.33) 1 | WF_KITCHENSINK_TITLE (2.6.33) 1 | WF_NONBREAKING_TITLE (2.6.33) 1 | WF_CLEANUP_TITLE (2.6.33) 1 | WF_ANCHOR_TITLE (2.6.33) 1 | WF_CONTEXTMENU_TITLE (2.6.33) 1 | WF_PRINT_TITLE (2.6.33) 1 | WF_EMOTIONS_TITLE (2.6.33) 1 | WF_CHARMAP_TITLE (2.6.33) 1 | WF_CLIPBOARD_TITLE (2.6.33) 1 | WF_ARTICLE_TITLE (2.6.33) 1 | WF_TABLE_TITLE (2.6.33) 1 | WF_DIRECTIONALITY_TITLE (2.6.33) 1 | WF_FONTSELECT_TITLE (2.6.33) 1 | WF_AGGREGATOR_VIMEO_TITLE (2.6.33) 1 | WF_AGGREGATOR_DAILYMOTION_TITL (2.6.33) 1 | WF_AGGREGATOR_[youtube]_TITLE (2.6.33) 1 | WF_AGGREGATOR_VINE_TITLE (2.6.33) 1 | WF_POPUPS_WINDOW_TITLE (2.6.33) 1 | WF_POPUPS_JCEMEDIABOX_TITLE (2.6.33) 1 | WF_LINK_SEARCH_TITLE (2.6.33) 1 | WF_FILESYSTEM_JOOMLA_TITLE (2.6.33) 1 | WF_LINKS_JOOMLALINKS_TITLE (2.6.33) 1 |

Components :: ADMIN ::
Core :: com_banners (3.0.0) 1 | com_users (3.0.0) 1 | com_templates (3.0.0) 1 | com_tags (3.1.0) 1 | com_languages (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_redirect (3.0.0) 1 | com_content (3.0.0) 1 | com_config (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_installer (3.0.0) 1 | com_menus (3.0.0) 1 | com_associations (3.7.0) 1 | com_login (3.0.0) 1 | com_cpanel (3.0.0) 1 | com_ajax (3.2.0) 1 | com_media (3.0.0) 1 | com_categories (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_cache (3.0.0) 1 | com_search (3.0.0) 1 | com_admin (3.0.0) 1 | com_messages (3.0.0) 1 | com_fields (3.7.0) 1 | com_joomlaupdate (3.6.2) 1 | com_finder (3.0.0) 1 | com_plugins (3.0.0) 1 | com_privacy (3.9.0) 1 | com_checkin (3.0.0) 1 | com_modules (3.0.0) 1 | com_newsfeeds (3.0.0) 1 |
3rd Party:: com_proforms (1.6.0) 1 | COM_JCE (2.6.33) 1 | Akeeba (6.2.1) 1 | BookLibrary (4.0.7 Pro) 1 | com_widgetkit (2.9.20) 1 |

Modules :: SITE ::
Core :: mod_articles_archive (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_search (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_tags_similar (3.1.0) 1 | mod_wrapper (3.0.0) 0 | mod_random_image (3.0.0) 1 | mod_login (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_articles_latest (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_articles_news (3.0.0) 1 |
3rd Party:: Widgetkit (2.9.20) 1 |

Modules :: ADMIN ::
Core :: mod_stats_admin (3.0.0) 1 | mod_status (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_title (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_version (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_login (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_latestactions (3.9.0) 1 | mod_quickicon (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_sampledata (3.8.0) 1 |
3rd Party:: Reset Hits module (3.3.0) 1 |

Plugins :: SITE ::
Core :: plg_extension_joomla (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_captcha_recaptcha_invisibl (3.8) 1 | plg_captcha_recaptcha (3.4.0) 0 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_content_finder (3.0.0) 0 | plg_content_vote (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_fields (3.7.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_privacy_content (3.9.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_search_tags (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_user_profile (3.0.0) 0 | plg_user_contactcreator (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_terms (3.9.0) 0 | plg_system_stats (3.5.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_log (3.0.0) 1 | plg_system_updatenotification (3.5.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_highlight (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 0 | plg_system_sef (3.0.0) 1 | plg_system_p3p (3.0.0) 0 | plg_system_sessiongc (3.8.6) 1 | plg_system_debug (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_redirect (3.0.0) 0 | plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 |
3rd Party:: plg_extension_jce (2.6.33) 1 | plg_quickicon_akeebabackup (1.0) 1 | plg_quickicon_jce (2.6.33) 1 | Proforms - Form in Content (4.0) 1 | plg_content_jce (2.6.33) 1 | Content - Widgetkit (2.9.20) 1 | plg_fields_mediajce (2.6.33) 1 | Installer - YOOtheme (1.0.2) 1 | plg_installer_jce (2.6.33) 1 | plg_editors_codemirror (5.40.0) 1 | plg_editors_tinymce (4.5.8) 1 | plg_editors_jce (2.6.33) 1 | Editors-XTD - Widgetkit (2.9.20) 1 | PLG_SYSTEM_BACKUPONUPDATE_TITL (3.7) 1 | System - Widgetkit ZOO (2.9.20) 1 | plg_system_jce (2.6.33) 1 | PLG_SYSTEM_AKEEBAUPDATECHECK_T (1.1) 1 | System - Widgetkit K2 (2.9.20) 1 | System - Widgetkit (2.9.20) 1 |
Templates Discovered :: wrote:Templates :: SITE :: yoo_luna (1.0.1) 1 | beez3 (3.1.0) 0 | protostar (1.0) 1 |
Templates :: ADMIN :: isis (1.0) 1 | hathor (3.0.0) 1 |
Last edited by toivo on Wed Nov 14, 2018 7:20 am, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

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

Re: 3.9 Site down after changing to PHP 7.0.32

Post by Per Yngve Berg » Wed Nov 14, 2018 1:01 pm

Are you using the "mysqli" database driver? The old "mysql" driver is no longer present in php 7.x

mike_r
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Nov 13, 2018 1:19 am

Re: 3.9 Site down after changing to PHP 7.0.32

Post by mike_r » Thu Nov 15, 2018 9:29 am

Yes Per, the mysqli driver is in use. I have used a php script to check that it is activated. Also I believe it to be the correct driver as the site was working with Joomla 3.6.5.

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

Re: 3.9 Site down after changing to PHP 7.0.32

Post by toivo » Thu Nov 15, 2018 1:49 pm

mike_r wrote:I'm sure all extensions are 3.9 compatible.
That is not certain, until proven otherwise.

Both your template and the form extension must have been released over two years ago, when the latest version of Joomla was 3.6.0. Many updates have been published since then.

Suggest that you first disable all third party plugins by editing the extensions table in the database, then check if the site works without them and enable the plugins one at a time to locate the root cause.

Even if you do not see any errors being reported, it is possible that older third party plugins hide them. If you still have the install zip files of those plugins, you can upload them to the JED Checker and get a report, which highlights an error, if the extension turns off PHP error reporting. Download the JED Checker extension from JED, of course: https://extensions.joomla.org/extension/jedchecker/. You can run the JED Checker on a Joomla site, even on a localhost test site.
Toivo Talikka, Global Moderator

mike_r
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Nov 13, 2018 1:19 am

Re: 3.9 Site down after changing to PHP 7.0.32

Post by mike_r » Fri Nov 16, 2018 7:10 am

Thanks Toivo, in desperation have installed a 3.9 site using the host’s installation wizard. No 3rd party extensions or template just the stock standard Joomla site with demo data. Same result - site doesn’t load.
I strongly suspect a problem with the host’s php and/or deployment of MySqli setup. The problem has now escalated with their tech team. Will wait in anticipation.

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

Re: 3.9 Site down after changing to PHP 7.0.32

Post by toivo » Fri Nov 16, 2018 7:26 am

Your suspicion could be right. Your host may not have had much experience in supporting Joomla.

In addition, please note that people have had issues with the Joomla versions packaged and installed by hosts. Therefore this forum normally recommends users to download the latest version of Joomla from https://downloads.joomla.org and follow the installation instructions at https://docs.joomla.org/J3.x:Installing_Joomla
Toivo Talikka, Global Moderator

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: 3.9 Site down after changing to PHP 7.0.32

Post by leolam » Mon Nov 19, 2018 5:36 pm

Per Yngve Berg wrote:
Wed Nov 14, 2018 1:01 pm
Are you using the "mysqli" database driver? The old "mysql" driver is no longer present in php 7.x
FPA | mysqli (7.0.32)

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

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

Re: 3.9 Site down after changing to PHP 7.0.32

Post by Webdongle » Mon Nov 19, 2018 5:49 pm

mike_r wrote:
Tue Nov 13, 2018 9:45 pm
... yes I'm sure all extensions are 3.9 compatible. The site runs fine with 3.9 and php 5.6 (no errors), but when php is switched to 7.0.32 Joomla doesn't start at all - including the administrator backend. Switch back to php 5.6 and then all is well....
That doesn't mean the extensions are compatible. Make a backup then disable all 3rd party extensions (including the Template) then switch php versions.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: 3.9 Site down after changing to PHP 7.0.32

Post by leolam » Mon Nov 19, 2018 6:37 pm

@mike_r Check with Yootheme that Luna (Warp7) is fully compatible with Joomla 3.9.0 and (!) PHP 7

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: 3.9 Site down after changing to PHP 7.0.32

Post by sozzled » Mon Nov 19, 2018 6:52 pm

mike_r wrote:
Tue Nov 13, 2018 2:02 am
After changing PHP version from 5.6 to 7.0.32 (the most recent version available from the hosting service) ...
Both these versions of PHP have been pronounced as EOL; see https://haydenjames.io/php-5-6-eol-end- ... ity-check/. If these are the only versions of PHP available from your webhosting provider it's probably time to find a new webhosting provider.

mike_r wrote:
Tue Nov 13, 2018 2:02 am
... the site becomes inaccessible. Both the frontend and the administration backend pages are blank with no error messages [but] ... if the PHP version is returned to version 5.6 everything works normally. An older site (Joomla version 3.6) on the same server controlled by the same PHP settings works fine. This site was an old development site that uses the same template and extensions as the 3.9 version.
Unfortunately for us, we only have your word that the problem sites are using the same mix of software as the "older" site that was used (once upon a time) for development purposes.

The consistent message given by several commentators in this discussion (@JAVesey, @pmleconte, @toivo, @leolam and @Webdongle) has been that there are one or more third-party extensions installed on the problem website(s) that are incompatible with PHP 7. From my own [very superficial] look at the FPA report, I couldn't say which one or more of those extensions are incompatible with PHP 7 because I don't have any familiarity with those extensions. It's not our job to research into every third-party extension that's available on the market that people may choose to use as they may or may not do. Our role here—in this self-help forum—is to offer our opinions and advice as to what might be the issue(s).

@Per (who knows a lot more about different webserver platforms than I do) has also suggested that there may be conditions in the hosting department that you should take on board; as I wrote at the outset, I would want to consider a change of webhosting provider as an option you should look at going forward.

For the time being, as a stop-gap to allow your website business to continue while you're searching for an alternative and more reliable webhosting partner, I suspect you're either stuck with PHP 5.6 or you'll need to isolate which extension(s) is/are incompatible with PHP 7.0. Good luck. :)

mike_r
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Nov 13, 2018 1:19 am

Re: 3.9 Site down after changing to PHP 7.0.32

Post by mike_r » Thu Nov 22, 2018 4:49 am

Thanks all. The issue has now been resolved. After pointing out to my host that php 5.6 & 7.032 are past/at EOL they consequently updated their servers and have now made php 7.1 and 7.2 available. The site works well with no updates to 3rd party extensions or templates necessary.

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

Re: 3.9 Site down after changing to PHP 7.0.32

Post by Webdongle » Thu Nov 22, 2018 6:58 am

mike_r wrote:
Thu Nov 22, 2018 4:49 am
... The site works well with no updates to 3rd party extensions or templates necessary.
If they are out of date they need updating.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Locked

Return to “Migrating and Upgrading to Joomla! 3.x”