cicool icon indicating copy to clipboard operation
cicool copied to clipboard

A problem with headers

Open jadolyo opened this issue 4 years ago • 6 comments

I am using PHP v7.4.10

This error occurs when I access this link http://localhost/cicool/administrator/access

A PHP Error was encountered Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at D:\xampp74\htdocs\cicool\modules\access\controllers\backend\Access.php:134)

Filename: DebugBar/PhpHttpDriver.php

Line Number: 24

Backtrace:

File: D:\xampp74\htdocs\cicool\vendor\maximebf\debugbar\src\DebugBar\PhpHttpDriver.php Line: 24 Function: header

File: D:\xampp74\htdocs\cicool\vendor\maximebf\debugbar\src\DebugBar\DebugBar.php Line: 327 Function: setHeaders

File: D:\xampp74\htdocs\cicool\application\libraries\Profiler.php Line: 386 Function: sendDataInHeaders

File: D:\xampp74\htdocs\cicool\application\libraries\Profiler.php Line: 374 Function: _render

File: D:\xampp74\htdocs\cicool\index.php Line: 339 Function: require_once

jadolyo avatar Oct 04 '20 02:10 jadolyo

Hi.

Make sure you use php7.1 - 7.3

Stable version is php 7.2 for this Application

Thanks

Pada tanggal Min, 4 Okt 2020 09.25, Ahmed Abdelrahim M. Jadelrab < [email protected]> menulis:

I am using PHP v7.4.10

This error occurs when I access this link http://localhost/cicool/administrator/access

A PHP Error was encountered Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at D:\xampp74\htdocs\cicool\modules\access\controllers\backend\Access.php:134)

Filename: DebugBar/PhpHttpDriver.php

Line Number: 24

Backtrace:

File: D:\xampp74\htdocs\cicool\vendor\maximebf\debugbar\src\DebugBar\PhpHttpDriver.php Line: 24 Function: header

File: D:\xampp74\htdocs\cicool\vendor\maximebf\debugbar\src\DebugBar\DebugBar.php Line: 327 Function: setHeaders

File: D:\xampp74\htdocs\cicool\application\libraries\Profiler.php Line: 386 Function: sendDataInHeaders

File: D:\xampp74\htdocs\cicool\application\libraries\Profiler.php Line: 374 Function: _render

File: D:\xampp74\htdocs\cicool\index.php Line: 339 Function: require_once

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ridwanskaterock/cicool/issues/423, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACGXJLJZWNU4Y2QL6YZIUX3SI7MITANCNFSM4SDMXUQQ .

ridwanskaterock avatar Oct 04 '20 06:10 ridwanskaterock

Okay thanks, I will try it using PHP v 7.2.33

jadolyo avatar Oct 04 '20 23:10 jadolyo

Same problem with PHP v7.2.33 Untitled

jadolyo avatar Oct 04 '20 23:10 jadolyo

Hi you are installed on server ? if yes i will investigate your problem you can share FTP access and web access for me to [email protected]

or if you need i will make schedule for remote your computer

Thanks

On Mon, Oct 5, 2020 at 6:48 AM Ahmed Abdelrahim M. Jadelrab < [email protected]> wrote:

Same problem with PHP v7.2.33 [image: Untitled] https://user-images.githubusercontent.com/5902217/95030034-d86b8a00-06ac-11eb-934f-a3761c2f67ff.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ridwanskaterock/cicool/issues/423#issuecomment-703333616, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACGXJLLYYF2MKKRFUONRPYLSJECVJANCNFSM4SDMXUQQ .

--

Muhamad Ridwan Software Engineer | Cicool Engine m: +62 812 1310 9812 e: [email protected] Bogor West Java - Indonesia www.go-moment.com http://go-moment.com [image: facebook icon] [image: twitter icon] [image: youtube icon] [image: linkedin icon]

ridwanskaterock avatar Oct 05 '20 07:10 ridwanskaterock

Hi,

No, It's on my localhost XAMPP, to be honest with you I didn't buy it but I was playing around with your cool configuration of Codeigniter and to improve my skills in coding.

I think the problem with the debugger.

Thanks for your efforts, I found it on some website.

jadolyo avatar Oct 08 '20 07:10 jadolyo

Place an @ to hide the error in the file PhpHttpDriver.php, function setHeaders,

        foreach ($headers as $name => $value) {
            @header("$name: $value");
        }

PATH: /public_html/vendor/maximebf/debugbar/src/DebugBar/

carlosanpardo avatar Jul 11 '22 23:07 carlosanpardo