Project

General

Profile

Bug #3836

(Xampp) PHP warnings on 1st page (rev: Changeset: 15525 (de807a719437) tagging 1.8.8.4 code - creating stable

Added by Jan Derriks about 8 years ago. Updated about 8 years ago.

Status:
Bug resolved
Priority:
Low
Assignee:
Category:
-
Target version:
Start date:
28/08/2011
Due date:
% Done:

20%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Checkout the latest chamilo18 and run with xampp and you'll get some php warnings:

------
( ! ) Strict standards: Declaration of SortableTableFromArray::get_table_data() should be compatible with that of SortableTable::get_table_data() in C:\xampp\htdocs\chamilo18\main\inc\lib\sortabletable.class.php on line 847
Call Stack
  1. Time Memory Function Location
    1 0.0030 664784 {main}( ) ..\index.php:0
    2 0.0052 840528 require_once( 'C:\xampp\htdocs\chamilo18\main\inc\global.inc.php' ) ..\index.php:25
    3 0.0543 5657112 require_once( 'C:\xampp\htdocs\chamilo18\main\inc\lib\sortabletable.class.php' ) ..\global.inc.php:106
( ! ) Strict standards: Declaration of SortableTableFromArrayConfig::get_table_data() should be compatible with that of SortableTable::get_table_data() in C:\xampp\htdocs\chamilo18\main\inc\lib\sortabletable.class.php on line 898
Call Stack
  1. Time Memory Function Location
    1 0.0030 664784 {main}( ) ..\index.php:0
    2 0.0052 840528 require_once( 'C:\xampp\htdocs\chamilo18\main\inc\global.inc.php' ) ..\index.php:25
    3 0.0543 5657112 require_once( 'C:\xampp\htdocs\chamilo18\main\inc\lib\sortabletable.class.php' ) ..\global.inc.php:106
( ! ) Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\chamilo18\main\inc\lib\sortabletable.class.php:847) in C:\xampp\htdocs\chamilo18\main\inc\lib\main_api.lib.php on line 1221
Call Stack
  1. Time Memory Function Location
    1 0.0030 664784 {main}( ) ..\index.php:0
    2 0.0052 840528 require_once( 'C:\xampp\htdocs\chamilo18\main\inc\global.inc.php' ) ..\index.php:25
    3 0.1681 15633920 api_session_start( ) ..\global.inc.php:203
    4 0.1681 15634320 session_start ( ) ..\main_api.lib.php:1221
Report a bug

My Organisation - My campus

History

#1

Updated by Yannick Warnier about 8 years ago

  • Status changed from New to Needs more info
  • Assignee set to Jan Derriks
  • Priority changed from Normal to Low
  • % Done changed from 0 to 20

Hi Jan,
It is likely that you have Xampp settings that enable the STRICT-level error reporting. We do not support that level. Please make sure your php.ini says something along the lines of:
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

if this is the case and you still get errors, try

display_errors = off
(you can leave log_errors = on if you want error reporting at all)

if this is the case and you still get errors, let us know.

#2

Updated by Marko Kastelic about 8 years ago

note:
error reporting (if visualised) breaks many things; file manager for eq. - images are not shown, images cannot be inserted, ...
so in pruduction environment should be off. Pitty, if the same platform is used for development ...

#3

Updated by Bryan Fuertes Malca about 8 years ago

  • Status changed from Needs more info to Bug resolved

Also available in: Atom PDF