Error failed to start application failed to start the session joomla



The Joomla! Forum™

Error: Failed to start application: Failed to start the session because headers have already been sent by /public_html/l Topic is solved

Re: Failed to start the session because headers have already been sent by «/home/sites/4b/3/30112786da/public_html/index

Post by jonBuckner1 » Tue Jun 04, 2019 4:38 pm

Are there any more tips for this.

This drama is mine now

I have changed from uikit to astroid and altered stuff in db (only tables relating to seblod)
I was on php v7.1.29, read that it was near end of life, so thought cool, I will go to 7.3 (after asking on Forum if was ok to do so), and now can only use 7.0

Warning: array_key_exists() expects parameter 2 to be array, null given in
/public_html/libraries/cms.php on line 74
Error: Failed to start application: Failed to start the session because headers have already been sent by /public_html/libraries/cms.php» at line 74.

Hopefully someone could suggest a few places to look

Re: Failed to start the session because headers have already been sent by «/home/sites/4b/3/30112786da/public_html/index

Post by Webdongle » Tue Jun 04, 2019 5:11 pm

Re: Failed to start the session because headers have already been sent by «/home/sites/4b/3/30112786da/public_html/index

Post by Per Yngve Berg » Tue Jun 04, 2019 5:17 pm

Re: Failed to start the session because headers have already been sent by «/home/sites/4b/3/30112786da/public_html/index

Post by jonBuckner1 » Tue Jun 04, 2019 5:35 pm

wow, quick response. Thanks folks.

I edited the css classes within the db in the table:
#__cck_core_fields
#__cck_core_search
#__cck_sore_type

I am very comfortable editing these, in fact do it all the time (for years) as a shortcut

Re: Failed to start the session because headers have already been sent by «/home/sites/4b/3/30112786da/public_html/index

Post by jonBuckner1 » Tue Jun 04, 2019 5:44 pm

Re: Failed to start the session because headers have already been sent by «/home/sites/4b/3/30112786da/public_html/index

Post by jonBuckner1 » Tue Jun 04, 2019 5:47 pm

Error: Failed to start application: Failed to start the session because headers have already been sent by /public_html/l

Post by jonBuckner1 » Tue Jun 04, 2019 5:51 pm

My error message was:
Warning: array_key_exists() expects parameter 2 to be array, null given in
/public_html/libraries/cms.php on line 74
Error: Failed to start application: Failed to start the session because headers have already been sent by /public_html/libraries/cms.php» at line 74.

I had increased max_input_vars from 1000 to 3000 using php.ini file
I had upgraded php from 7.1 to 7.3.
System threw up errors.
I went back to 7.1 and saw some errors, but Siteground suggested I use 5.6 and as a result I only receive a few errors.

I must have done something.

Basic Environment :: wrote: Joomla! Instance :: Joomla! 3.9.6-Stable (Amani) 7-May-2019
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Writable ( 644 ) | 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: true | .htaccess/web.config: Yes | GZip: true | Cache: false | CacheTime: 2000 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: none | Shared sessions: false | SSL: 2 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.9.6: Yes | Database Supports J! 3.9.6: Yes | Database Credentials Present: Yes |

Читайте также:  Error net err cert authority invalid

Host Configuration :: OS: Linux | OS Version: 3.12.18-clouder0 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | Doc Root: —protected— | System TMP Writable: Yes | Free Disk Space : 649.28 GiB |

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

Database Configuration :: Version: 5.6.40-84.0-log (Client:5.5.32) | Host: —protected— ( —protected— ) | default Collation: utf8_general_ci ( default Character Set: utf8) | Database Size: 116.14 MiB | #of Tables: 144

Detailed Environment :: wrote: PHP Extensions :: Core (7.0.33) | date (7.0.33) | libxml (7.0.33) | openssl (7.0.33) | pcre (7.0.33) | sqlite3 (7.0.33) | zlib (7.0.33) | bcmath (7.0.33) | bz2 (7.0.33) | calendar (7.0.33) | ctype (7.0.33) | curl (7.0.33) | dba (7.0.33) | dom (20031129) | enchant (7.0.33) | hash (1.0) | fileinfo (1.0.5) | filter (7.0.33) | ftp (7.0.33) | gd (7.0.33) | gettext (7.0.33) | gmp (7.0.33) | SPL (7.0.33) | iconv (7.0.33) | session (7.0.33) | intl (1.1.0) | json (1.4.0) | ldap (7.0.33) | mbstring (7.0.33) | mcrypt (7.0.33) | standard (7.0.33) | mysqli (7.0.33) | pcntl (7.0.33) | mysqlnd (mysqlnd 5.0.12-dev — 20150407 — $Id: b5c5906d452ec590732a93b051f3827e02749b83 $) | PDO (7.0.33) | pdo_mysql (7.0.33) | pdo_pgsql (7.0.33) | pdo_sqlite (7.0.33) | pgsql (7.0.33) | Phar (2.0.2) | posix (7.0.33) | pspell (7.0.33) | readline (7.0.33) | Reflection (7.0.33) | imap (7.0.33) | shmop (7.0.33) | SimpleXML (7.0.33) | soap (7.0.33) | sockets (7.0.33) | exif (7.0.33) | sysvmsg (7.0.33) | sysvsem (7.0.33) | tidy (7.0.33) | tokenizer (7.0.33) | wddx (7.0.33) | xml (7.0.33) | xmlreader (7.0.33) | xmlrpc (7.0.33) | xmlwriter (7.0.33) | xsl (7.0.33) | zip (1.13.5) | cgi-fcgi () | memcached (3.0.4) | Zend OPcache (7.0.33) | 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) |

Extensions Discovered :: wrote: Components :: SITE ::
Core :: com_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
3rd Party::

Components :: ADMIN ::
Core :: com_cache (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_media (3.0.0) 1 | com_config (3.0.0) 1 | com_messages (3.0.0) 1 | com_redirect (3.0.0) 1 | com_templates (3.0.0) 1 | com_languages (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_postinstall (3.2.0) 1 | com_joomlaupdate (3.6.2) 1 | com_associations (3.7.0) 1 | com_installer (3.0.0) 1 | com_menus (3.0.0) 1 | com_checkin (3.0.0) 1 | com_tags (3.1.0) 1 | com_categories (3.0.0) 1 | com_finder (3.0.0) 1 | com_login (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_fields (3.7.0) 1 | com_users (3.0.0) 1 | com_banners (3.0.0) 1 | com_ajax (3.2.0) 1 | com_content (3.0.0) 1 | com_search (3.0.0) 1 | com_privacy (3.9.0) 1 | com_modules (3.0.0) 1 | com_plugins (3.0.0) 1 | com_cpanel (3.0.0) 1 | com_admin (3.0.0) 1 |
3rd Party:: JCH Optimize (5.2.3) 1 | Akeeba (6.5.1) 1 | plg_cck_storage_location_%name% (%version%) ? | plg_cck_field_restriction_%name% (%version%) ? | plg_cck_ecommerce_payment_%name% (%version%) ? | plg_cck_ecommerce_shipping_%name% (%version%) ? | plg_cck_field_validation_%name% (%version%) ? | plg_cck_field_%name% (%version%) ? | plg_cck_field_live_%name% (%version%) ? | plg_cck_field_link_%name% (%version%) ? | plg_cck_field_typo_%name% (%version%) ? | com_cck_developer (1.4.1) 1 | JMap (4.3.5) 1 | com_cck_importer (1.11.2) 1 | com_cck_updater (1.4.3) 1 | Dump (2012-10-31) 1 | mod_cck_menu (3.0.0) 1 | com_cck (3.17.4) 1 | com_cck_exporter (1.9.4) 1 | COM_LOGINASUSER (3.3.2) 1 |

Читайте также:  Active directory an internal error occurred

Modules :: SITE ::
Core :: mod_languages (3.5.0) 1 | mod_whosonline (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_login (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_finder (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_search (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 |
3rd Party:: mod_cck_form (3.17.4) 1 | mod_cck_search (3.17.4) 1 | mod_cck_list (3.17.4) 1 | JSitemap module (4.3.5) 1 | mod_cck_breadcrumbs (3.17.4) 1 |

Modules :: ADMIN ::
Core :: mod_stats_admin (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_login (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_quickicon (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_version (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_logged (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_title (3.0.0) 1 | mod_status (3.0.0) 1 | mod_latest (3.0.0) 1 |
3rd Party:: mod_cck_menu (3.17.4) 1 | JSitemap Quickicons (4.3.5) 1 | mod_cck_quickicon (3.17.4) 1 | mod_cck_quickadd (3.17.4) 1 |

Libraries :: SITE ::
Core ::
3rd Party:: Astroid Plugin (2.2.0) 1 | file_fof30 (3.4.1) ? |

Источник

The Joomla! Forum™

PHP 7.4: ‘Error: Failed to start application: Failed to start the session’

PHP 7.4: ‘Error: Failed to start application: Failed to start the session’

Post by chtrede » Mon Nov 29, 2021 11:39 am

Hi there,
I moved my Joomla installation 3.10.3 to a new server. On that machine the installation does not run anymore under PHP 7.4, but only under PHP 7.3.
As an error message I get

[code]Warning: session_start(): Failed to read session data: user (path: /var/cpanel/php/sessions/ea-php74) in /home/yyyyyy/public_html/libraries/joomla/session/handler/native.php on line 260
Error: Failed to start application: Failed to start the session[/code]

Re: Server moved — Joomla not workind anymore under PHP 7.4

Post by pe7er » Mon Nov 29, 2021 3:36 pm

How did you move your website to another server?
Did you use Akeeba Backup to backup and kickstart to restore it?

It seems that your website is not able to get the session data from the database.
Are your database settings correct (in configuration.php) ?

btw: Using PHP7.3 is not a good idea because on 6 Dec 2021 the support for PHP 7.3 security patches ends, see:
https://www.php.net/supported-versions.php

Re: Server moved — Joomla not workind anymore under PHP 7.4

Post by abernyte » Mon Nov 29, 2021 4:30 pm

Re: Server moved — Joomla not workind anymore under PHP 7.4

Post by Per Yngve Berg » Mon Nov 29, 2021 5:33 pm

Читайте также:  Кингдом кам деливеранс ошибка fatal error

Re: PHP 7.4: ‘Error: Failed to start application: Failed to start the session’

Post by sozzled » Mon Nov 29, 2021 5:54 pm

See viewtopic.php?t=982009. The problem can be caused by any number of a dozen reasons. As @abernyte says, it could be caused by not enabling the MySQLi PHP extension (if the file configuration.php specifies mysqli as the database connection method); as @Per says, it could be caused if save.session.path is not defined; as @pe7er says, it could be caused if the configuration.php file settings are misconfigured.

The problem can also be caused if some of the «optional» technical requirements for J! 3. x are not met; errors will result if you are using the database to save sessions and the _sessions table is full.

I have been researching this «‘Error: Failed to start application: Failed to start the session» problem over the past three to four weeks in preparing an article. I can’t tell you where to find this article—that would be self-promotion and that’s against the forum rules—but I’ve summarised the various common (and some not-so-common) reasons. I am following this topic to see if we’ve found another cause for the error and, if we have, I will add it to my list.

Re: PHP 7.4: ‘Error: Failed to start application: Failed to start the session’

Post by dorsa » Sun Aug 28, 2022 4:52 am

I have hosted web application develop using joomla in ubuntu 20 and use mysql as database. one i hosted and viewed in the web browser it show me Error: Failed to start application: Failed to start the session

i have used php 7.4, mysql Ver 8.0.27, apache Apache/2.4.41 (Ubuntu)

Re: PHP 7.4: ‘Error: Failed to start application: Failed to start the session’

Post by sozzled » Sun Aug 28, 2022 5:05 am

Re: PHP 7.4: ‘Error: Failed to start application: Failed to start the session’

Post by Per Yngve Berg » Sun Aug 28, 2022 6:23 am

If set to ‘database’, then change it. This is the preffered method with php 7 and above.

If still show Session error, the save.session_path on the server is not writable.
If you get a database connect error, the you have a problem connecting to the database.

save.session_path is set in php.ini

Re: PHP 7.4: ‘Error: Failed to start application: Failed to start the session’

Post by sozzled » Sun Aug 28, 2022 6:31 am

Re: PHP 7.4: ‘Error: Failed to start application: Failed to start the session’

Post by Per Yngve Berg » Sun Aug 28, 2022 6:53 am

Corrected. It’s now ‘none’ for J3 instead of ‘filesystem’

Источник

Оцените статью
toolgir.ru
Adblock
detector