lonnieezell / Bonfire

Jumpstart your CodeIgniter web applications with a modular, HMVC-ready, backend.
http://cibonfire.com
1.39k stars 524 forks source link

A PHP Error was encountered Severity: 8192 error i got after installing the bonfire #1273

Open ilemonajames opened 7 years ago

ilemonajames commented 7 years ago

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; MarkdownExtraExtended_Parser has a deprecated constructor

Filename: helpers/markdown_extended_helper.php

Line Number: 10

Backtrace:

File: C:\xampp\htdocs\bonfire\application\third_party\MX\Loader.php Line: 123 Function: helper

File: C:\xampp\htdocs\bonfire\bonfire\core\BF_Loader.php Line: 57 Function: helper

File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\drivers\CommonMark_MarkdownExtended.php Line: 41 Function: helper

File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\CommonMarkDriver.php Line: 98 Function: init

File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\CommonMarkDriver.php Line: 79 Function: loadLibrary

File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark.php Line: 128 Function: convert

File: C:\xampp\htdocs\bonfire\bonfire\modules\docs\controllers\Docs.php Line: 373 Function: convert

File: C:\xampp\htdocs\bonfire\bonfire\modules\docs\controllers\Docs.php Line: 111 Function: read_page

File: C:\xampp\htdocs\bonfire\index.php Line: 314 Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor

Filename: helpers/markdown_helper.php

Line Number: 223

Backtrace:

File: C:\xampp\htdocs\bonfire\bonfire\helpers\markdown_extended_helper.php Line: 2 Function: _error_handler

File: C:\xampp\htdocs\bonfire\bonfire\helpers\markdown_extended_helper.php Line: 2 Function: require_once

File: C:\xampp\htdocs\bonfire\application\third_party\MX\Loader.php Line: 123 Function: helper

File: C:\xampp\htdocs\bonfire\bonfire\core\BF_Loader.php Line: 57 Function: helper

File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\drivers\CommonMark_MarkdownExtended.php Line: 41 Function: helper

File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\CommonMarkDriver.php Line: 98 Function: init

File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\CommonMarkDriver.php Line: 79 Function: loadLibrary

File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark.php Line: 128 Function: convert

File: C:\xampp\htdocs\bonfire\bonfire\modules\docs\controllers\Docs.php Line: 373 Function: convert

File: C:\xampp\htdocs\bonfire\bonfire\modules\docs\controllers\Docs.php Line: 111 Function: read_page

File: C:\xampp\htdocs\bonfire\index.php Line: 314 Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; MarkdownExtra_Parser has a deprecated constructor

Filename: helpers/markdown_helper.php

Line Number: 1696

Backtrace:

File: C:\xampp\htdocs\bonfire\bonfire\helpers\markdown_extended_helper.php Line: 2 Function: _error_handler

File: C:\xampp\htdocs\bonfire\bonfire\helpers\markdown_extended_helper.php Line: 2 Function: require_once

File: C:\xampp\htdocs\bonfire\application\third_party\MX\Loader.php Line: 123 Function: helper

File: C:\xampp\htdocs\bonfire\bonfire\core\BF_Loader.php Line: 57 Function: helper

File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\drivers\CommonMark_MarkdownExtended.php Line: 41 Function: helper

File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\CommonMarkDriver.php Line: 98 Function: init

File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\CommonMarkDriver.php Line: 79 Function: loadLibrary

File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark.php Line: 128 Function: convert

File: C:\xampp\htdocs\bonfire\bonfire\modules\docs\controllers\Docs.php Line: 373 Function: convert

File: C:\xampp\htdocs\bonfire\bonfire\modules\docs\controllers\Docs.php Line: 111 Function: read_page

File: C:\xampp\htdocs\bonfire\index.php Line: 314 Function: require_once

ilemonajames commented 7 years ago

How do I resolve the error am using the traditional file structure... Not pointin to it by xampp apache virtual host

lonnieezell commented 7 years ago

That error doesn't have anything to do with file structure. The markdown converter that was used had an old version of the lib. I think this got fixed in a recent PR, so try pulling down the latest code from the develop branch and that should fix that error.

pankajvaghela commented 6 years ago

just Replace parent class constructors with __construct and call them as parent::__construct in extended classes

ilemonajames commented 6 years ago

I think Bonfire is no longer been supported

On Sat, Nov 24, 2018 at 10:36 AM Pankaj Vaghela notifications@github.com wrote:

Did anyone solve this issue [image: image] https://user-images.githubusercontent.com/24723708/48966588-7a72b380-effa-11e8-9a80-916b5eb583f3.png

This is getting on nerves

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ci-bonfire/Bonfire/issues/1273#issuecomment-441355229, or mute the thread https://github.com/notifications/unsubscribe-auth/AT8Mj1RKl3GRgeyJ4vn5NTwmcPZzwEfIks5uyRMugaJpZM4N3FBi .

Reconix commented 5 years ago

@ilemonajames it is.