Error: Error displaying the error page: Application Instantiation Error - Joomla! Forum - community, help and support


hi,

i getting error:

error displaying error page: application instantiation error: failed start session because headers have been sent "/home/fanta66/public_html/acquire-results.php" @ line 11.


i running j! 3.6.2 , php 5.6.17. site seasonal, , upgrades whenever see them. working of last time used site, in april year.

researching problem understand 1 potential cause hack of framework.php. have replaced file fresh one.

i have cleared out xxx_session table on phpmyadmin , run repair in j! admin panel under database.

i found thread on stackoverflow: http://stackoverflow.com/questions/3722 ... -been-sent
based on it, tried helper.php method didn't work. no-cookie directive did, interferes operation of page.

i using sub-page using javascript display search results. can try here:
http://fantasycollegehockey.com/index.p ... statistics

i feel have researched problem , tried several things not sure go here. in advance.

welp, usual, asked figured out problem. here's found, benefit of might happen by.

at top of these sub-pages have standard stuff:

code: select all

<?php

   error_reporting(e_error | e_parse);
    define( '_jexec', 1 );
    define( 'jpath_base', realpath(dirname(__file__).'/' )); 
    require_once ( jpath_base .'/includes/defines.php' );
    require_once ( jpath_base .'/includes/framework.php' );
   
    $mainframe = jfactory::getapplication('site');
   ?>

on these pages, possible page outputting information before above block. once made sure first thing, page rendered.

i'm sure 1 of gurus here has more detailed , thorough understanding of this, figured i'd post understand it.





Comments

Popular posts from this blog

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support