error 500 after migrating to live server Topic is solved

Need help installing Joomla! 4.x? For all Joomla! 4.x installation issues please use this forum.

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
Post Reply
Ridoku
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Oct 23, 2023 9:43 pm

error 500 after migrating to live server

Post by Ridoku » Mon Oct 23, 2023 10:26 pm

I moved from localhost to a live server and I get mysqli object is not fully initialized error
Forum Post Assistant (v1.6.6) : 24-Oct-2023 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.3.1-Stable (Bora) 2-May-2023
Joomla! Configured :: Yes | Writable (644) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: No | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: N/A | Proxy: N/A | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: maximum | Site Debug: true | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 4.3.1: Yes | Database Supports J! 4.3.1: Unknown | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 5.4.0-150-generic | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 2608.11 GiB |

PHP Configuration :: Version: 8.2.10 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 22527 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: No | Open Base: | Uploads: 1 | Max. Upload Size: 128M | Max. POST Size: 128M | Max. Input Time: 60 | Max. Execution Time: 300 | Memory Limit: 256M

Database Configuration :: Connection Error: 2002:No such file or directoryUser Privileges : Unknown
Detailed Environment :: wrote:PHP Extensions :: Core (8.2.10) | date (8.2.10) | libxml (8.2.10) | openssl (8.2.10) | pcre (8.2.10) | sqlite3 (8.2.10) | zlib (8.2.10) | bcmath (8.2.10) | bz2 (8.2.10) | calendar (8.2.10) | ctype (8.2.10) | curl (8.2.10) | dba (8.2.10) | dom (20031129) | hash (8.2.10) | fileinfo (8.2.10) | filter (8.2.10) | ftp (8.2.10) | gd (8.2.10) | gettext (8.2.10) | json (8.2.10) | iconv (8.2.10) | SPL (8.2.10) | intl (8.2.10) | session (8.2.10) | ldap (8.2.10) | mbstring (8.2.10) | standard (8.2.10) | mysqlnd (mysqlnd 8.2.10) | exif (8.2.10) | mysqli (8.2.10) | PDO (8.2.10) | pdo_mysql (8.2.10) | pdo_sqlite (8.2.10) | Phar (8.2.10) | posix (8.2.10) | random (8.2.10) | readline (8.2.10) | Reflection (8.2.10) | imap (8.2.10) | SimpleXML (8.2.10) | soap (8.2.10) | sockets (8.2.10) | sodium (8.2.10) | tidy (8.2.10) | tokenizer (8.2.10) | xml (8.2.10) | xmlreader (8.2.10) | xmlwriter (8.2.10) | xsl (8.2.10) | zip (1.21.1) | cgi-fcgi (8.2.10) | imagick (3.7.0) | raphf (2.0.1) | SourceGuardian (14.0.2) | mcrypt (1.0.6) | apcu (5.1.22) | xmlrpc (1.0.0RC3) | brotli (0.13.1) | mailparse (3.1.6) | Zend OPcache (8.2.10) | Zend Engine (4.2.10) |
Potential Missing Extensions ::
Disabled Functions :: popen | exec | passthru | pcntl_exec | proc_close | proc_get_status | proc_nice | proc_open | proc_terminate | show_source | shell_exec | system | posix_getpwuid | dl |

Switch User Environment :: PHP CGI: Yes | Server SU: No | 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/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) | api/ (755) |

Elevated Permissions (First 10) ::
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::

Components :: Admin ::
Core :: com_actionlogs (3.9.0) ? | com_admin (4.0.0) ? | com_ajax (4.0.0) ? | com_associations (4.0.0) ? | com_banners (4.0.0) ? | com_cache (4.0.0) ? | com_categories (4.0.0) ? | com_checkin (4.0.0) ? | com_config (4.0.0) ? | com_content (4.0.0) ? | com_contenthistory (4.0.0) ? | com_cpanel (4.0.0) ? | com_fields (4.0.0) ? | com_finder (4.0.0) ? | com_guidedtours (4.3.0) ? | com_installer (4.0.0) ? | com_joomlaupdate (4.0.3) ? | com_languages (4.0.0) ? | com_login (4.0.0) ? | com_mails (4.0.0) ? | com_media (3.0.0) ? | com_menus (4.0.0) ? | com_messages (4.0.0) ? | com_modules (4.0.0) ? | com_newsfeeds (4.0.0) ? | com_plugins (4.0.0) ? | com_postinstall (4.0.0) ? | com_privacy (3.9.0) ? | com_redirect (4.0.0) ? | com_scheduler (4.1.0) ? | com_tags (4.0.0) ? | com_templates (4.0.0) ? | com_users (4.0.0) ? | com_workflow (4.0.0) ? | com_wrapper (4.0.0) ? |
3rd Party:: COM_CREATIVEIMAGESLIDER (3.2.0) ? | com_djimageslider (4.5.1) ? | com_jaextmanager (2.7.5) ? | com_jaextmanager (2.5.3) ? | com_sliderck (2.3.1) ? | mod_sliderck (2.3.1) ? | System - Slider CK (2.3.0) ? | Slider CK - Folder (2.0.0) ? | com_slideshowck (2.4.1) ? | Slideshow CK (2.4.1) ? |

Modules :: Site ::
Core :: mod_articles_archive (3.0.0) ? | mod_articles_categories (3.0.0) ? | mod_articles_category (3.0.0) ? | mod_articles_latest (3.0.0) ? | mod_articles_news (3.0.0) ? | mod_articles_popular (3.0.0) ? | mod_banners (3.0.0) ? | mod_breadcrumbs (3.0.0) ? | mod_custom (3.0.0) ? | mod_feed (3.0.0) ? | mod_finder (3.0.0) ? | mod_footer (3.0.0) ? | mod_languages (3.5.0) ? | mod_login (3.0.0) ? | mod_menu (3.0.0) ? | mod_random_image (3.0.0) ? | mod_related_items (3.0.0) ? | mod_stats (3.0.0) ? | mod_syndicate (3.0.0) ? | mod_tags_popular (3.1.0) ? | mod_tags_similar (3.1.0) ? | mod_users_latest (3.0.0) ? | mod_whosonline (3.0.0) ? | mod_wrapper (3.0.0) ? |
3rd Party:: Creative Image Slider (3.2.0) ? | DJ-ImageSlider (4.4) ? | itcs open hours (2.1.0) ? | MOD_JA_ACM (2.3.5) ? | Opening Hours module (4.1.0) ? | mod_sliderck (2.3.1) ? | Slideshow CK (2.4.1) ? |

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

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_actionlog_joomla (3.9.0) ? | plg_api-authentication_basic (4.0.0) ? | plg_api-authentication_token (4.0.0) ? | plg_authentication_cookie (3.0.0) ? | plg_authentication_joomla (3.0.0) ? | plg_authentication_ldap (3.0.0) ? | plg_behaviour_taggable (4.0.0) ? | plg_behaviour_versionable (4.0.0) ? | plg_captcha_recaptcha (3.4.0) ? | plg_captcha_recaptcha_invisible (3.8) ? | plg_content_confirmconsent (3.9.0) ? | plg_content_emailcloak (3.0.0) ? | plg_content_fields (3.7.0) ? | plg_content_finder (3.0.0) ? | plg_content_joomla (3.0.0) ? | plg_content_loadmodule (3.0.0) ? | plg_content_pagebreak (3.0.0) ? | plg_content_pagenavigation (3.0.0) ? | plg_content_vote (3.0.0) ? | plg_editors-xtd_article (3.0.0) ? | plg_editors-xtd_image (3.0.0) ? | plg_editors-xtd_fields (3.7.0) ? | plg_editors-xtd_menu (3.7.0) ? | plg_editors-xtd_module (3.5.0) ? | plg_editors-xtd_pagebreak (3.0.0) ? | plg_editors-xtd_readmore (3.0.0) ? | plg_extension_finder (4.0.0) ? | plg_extension_joomla (3.0.0) ? | plg_extension_namespacemap (4.0.0) ? | plg_fields_calendar (3.7.0) ? | plg_fields_checkboxes (3.7.0) ? | plg_fields_color (3.7.0) ? | plg_fields_editor (3.7.0) ? | plg_fields_imagelist (3.7.0) ? | plg_fields_integer (3.7.0) ? | plg_fields_list (3.7.0) ? | plg_fields_media (3.7.0) ? | plg_fields_radio (3.7.0) ? | plg_fields_sql (3.7.0) ? | plg_fields_subform (4.0.0) ? | plg_fields_text (3.7.0) ? | plg_fields_textarea (3.7.0) ? | plg_fields_url (3.7.0) ? | plg_fields_user (3.7.0) ? | plg_fields_usergrouplist (3.7.0) ? | plg_filesystem_local (4.0.0) ? | plg_finder_categories (3.0.0) ? | plg_finder_contacts (3.0.0) ? | plg_finder_content (3.0.0) ? | plg_finder_newsfeeds (3.0.0) ? | plg_finder_tags (3.0.0) ? | plg_installer_folderinstaller (3.6.0) ? | plg_installer_override (4.0.0) ? | plg_installer_packageinstaller (3.6.0) ? | plg_installer_urlinstaller (3.6.0) ? | plg_installer_webinstaller (4.0.0) ? | plg_media-action_crop (4.0.0) ? | plg_media-action_resize (4.0.0) ? | plg_media-action_rotate (4.0.0) ? | plg_multifactorauth_email (4.2.0) ? | plg_multifactorauth_fixed (4.2.0) ? | plg_multifactorauth_totp (3.2.0) ? | plg_multifactorauth_webauthn (4.2.0) ? | plg_multifactorauth_yubikey (3.2.0) ? | plg_privacy_actionlogs (3.9.0) ? | plg_privacy_consents (3.9.0) ? | plg_privacy_content (3.9.0) ? | plg_privacy_message (3.9.0) ? | plg_privacy_user (3.9.0) ? | plg_quickicon_downloadkey (4.0.0) ? | plg_quickicon_extensionupdate (3.0.0) ? | plg_quickicon_joomlaupdate (3.0.0) ? | plg_quickicon_overridecheck (4.0.0) ? | plg_quickicon_phpversioncheck (3.7.0) ? | plg_quickicon_privacycheck (3.9.0) ? | plg_sampledata_multilang (4.0.0) ? | plg_system_accessibility (4.0.0) ? | plg_system_actionlogs (3.9.0) ? | plg_system_cache (3.0.0) ? | plg_system_debug (3.0.0) ? | plg_system_fields (3.7.0) ? | plg_system_guidedtours (4.3.0) ? | plg_system_highlight (3.0.0) ? | plg_system_httpheaders (4.0.0) ? | plg_system_jooa11y (4.2.0) ? | plg_system_languagecode (3.0.0) ? | plg_system_languagefilter (3.0.0) ? | plg_system_log (3.0.0) ? | plg_system_logout (3.0.0) ? | plg_system_logrotation (3.9.0) ? | plg_system_privacyconsent (3.9.0) ? | plg_system_redirect (3.0.0) ? | plg_system_remember (3.0.0) ? | plg_system_schedulerunner (4.1) ? | plg_system_sef (3.0.0) ? | plg_system_sessiongc (3.8.6) ? | plg_system_shortcut (4.2.0) ? | plg_system_skipto (4.0.0) ? | plg_system_stats (3.5.0) ? | plg_system_task_notification (4.1) ? | plg_system_updatenotification (3.5.0) ? | plg_system_webauthn (4.0.0) ? | plg_task_check_files (4.1) ? | plg_task_demo_tasks (4.1) ? | plg_task_requests (4.1) ? | plg_task_site_status (4.1) ? | plg_user_contactcreator (3.0.0) ? | plg_user_joomla (3.0.0) ? | plg_user_profile (3.0.0) ? | plg_user_terms (3.9.0) ? | plg_user_token (3.9.0) ? | plg_webservices_banners (4.0.0) ? | plg_webservices_config (4.0.0) ? | plg_webservices_content (4.0.0) ? | plg_webservices_installer (4.0.0) ? | plg_webservices_languages (4.0.0) ? | plg_webservices_media (4.1.0) ? | plg_webservices_menus (4.0.0) ? | plg_webservices_messages (4.0.0) ? | plg_webservices_modules (4.0.0) ? | plg_webservices_newsfeeds (4.0.0) ? | plg_webservices_plugins (4.0.0) ? | plg_webservices_privacy (4.0.0) ? | plg_webservices_redirect (4.0.0) ? | plg_webservices_tags (4.0.0) ? | plg_webservices_templates (4.0.0) ? | plg_webservices_users (4.0.0) ? | plg_workflow_featuring (4.0.0) ? | plg_workflow_notification (4.0.0) ? | plg_workflow_publishing (4.0.0) ? |
3rd Party:: plg_editors_codemirror (5.65.12) ? | plg_editors_tinymce (5.10.7) ? | Creative Image Slider (3.2.0) ? | System - JA Google Map (2.7.5) ? | plg_system_t4 (2.2.9) ? |
Templates Discovered :: wrote:Templates :: Site :: cassiopeia (1.0) ? | ja_purity_iv (1.1.2) ? |
Templates :: Admin :: atum (1.0) ? |

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

Re: error 500 after migrating to live server

Post by toivo » Mon Oct 23, 2023 11:18 pm

Welcome to the Joomla forum!

Is Joomla trying to connect to the database server using an incorrect port or is the database server not running?

Ridoku wrote:
Mon Oct 23, 2023 10:26 pm
Allow url fopen: No
This option should be enabled in the php.ini file. Get your host to change this setting. If you have access to cPanel provided by your host, enable this setting in MultiPHP INI Editor.

Ref. PHP Runtime Configuration: allow_url_fopen

Other tips from the FPA results: the website could use turn on 'Use URL Rewriting' and use the latest .htaccess file.
Toivo Talikka, Global Moderator

Ridoku
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Oct 23, 2023 9:43 pm

Re: error 500 after migrating to live server

Post by Ridoku » Mon Oct 23, 2023 11:51 pm

I resolved, I forgot to change the host from localhost to the database IP

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

Re: error 500 after migrating to live server

Post by toivo » Tue Oct 24, 2023 12:22 am

Thank you for the update! If you have any other questions or issues, feel free to create a new topic!
Toivo Talikka, Global Moderator


Post Reply

Return to “Installation Joomla! 4.x”