Project

General

Profile

Bug #4214

Problem in a Local instalation

Added by xoan Prado over 7 years ago. Updated over 7 years ago.

Status:
Bug resolved
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
09/01/2012
Due date:
% Done:

90%

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

Description

Hello!

I wish you for everyone a happy new year.
Last December I have tried to do a local instalation with Chamilo 1.8.8.4 and I had the next problems:

Strict Standards: Declaration of SortableTableFromArray::get_table_data() should be compatible with that of SortableTable::get_table_data() in F:\archivos de programa\CHAMILO\xampp\htdocs\chamilo\main\inc\lib\sortabletable.class.php on line 847

Strict Standards: Declaration of SortableTableFromArrayConfig::get_table_data() should be compatible with that of SortableTable::get_table_data() in F:\archivos de programa\CHAMILO\xampp\htdocs\chamilo\main\inc\lib\sortabletable.class.php on line 898

The local server was doing with XAMPP 1.7.7

PHP Version 5.3.8
MySQL

Servidor: localhost via TCP/IP
Versión del servidor: 5.5.16
Versión del protocolo: 10
Usuario: root@localhost
Juegos de caracteres de MySQL: UTF-8 Unicode (utf8)
Servidor web

Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1
Versión del cliente: mysqlnd 5.0.8-dev - 20102224 - $Revision: 310735 $
extensión PHP: mysql
phpMyAdmin

Acerca de esta versión: 3.4.5, versión estable más reciente: 3.4.9.

My computer has Windows 7.
I have tried another instalation in other computer with Windows XP profesional and I have had the same problem.

Could you help me?. Thanks a lot.


Files

Main_Picture.png (751 KB) Main_Picture.png xoan Prado, 09/01/2012 11:21
XAMPP_Control_Panel_2.png (55 KB) XAMPP_Control_Panel_2.png xoan Prado, 09/01/2012 11:21
XAMPP_Control_Panel.png (51.8 KB) XAMPP_Control_Panel.png xoan Prado, 09/01/2012 11:21

Associated revisions

Revision 9fe08502 (diff)
Added by Laurent Opprecht over 7 years ago

see #4214, remove warnings

History

#1

Updated by Julio Montoya over 7 years ago

  • Status changed from New to Needs more info

You can turn off the notice and warnings in the server modifying an Apache configuration:

display_errors off

That problem was already fixed in the next version of Chamilo 1.9

#2

Updated by xoan Prado over 7 years ago

Hi Julio,

thanks a lot for you information, but how can I change this configuration?. Need I to do a new instalation of XAMPP?. Thank you.

#3

Updated by Julio Montoya over 7 years ago

  • Priority changed from High to Low
  • % Done changed from 0 to 50

in your php.ini change

;display_errors = On

to

display_errors = Off

To find the location of your php.ini create a php file with

<?php
 phpinfo();
?>
#4

Updated by xoan Prado over 7 years ago

I have tried to to your comments:
I change on for off the display_errors in the file F:\archivos de programa\CHAMILO\xampp\php\php.ini but the problem is the same.

I´m looking for this file doing a file caled find.php with de code:
phpinfo();
?>

I´m looking this file with the Chrome (http://localhost/prueba.php) and the results is:

Probando Apache y PHP

Salida del comando phpinfo: phpinfo(); ?>

I haven´t no idea message is the same:

Strict Standards: Declaration of SortableTableFromArray::get_table_data() should be compatible with that of SortableTable::get_table_data() in F:\archivos de programa\CHAMILO\xampp\htdocs\chamilo\main\inc\lib\sortabletable.class.php on line 847

Strict Standards: Declaration of SortableTableFromArrayConfig::get_table_data() should be compatible with that of SortableTable::get_table_data() in F:\archivos de programa\CHAMILO\xampp\htdocs\chamilo\main\inc\lib\sortabletable.class.php on line 898

#5

Updated by Yannick Warnier over 7 years ago

  • Target version set to 1.9 Beta
#6

Updated by Laurent Opprecht over 7 years ago

Just uploaded a patch. Function defininition was a bit different. This should work for 1.9. Not much we can do for 1.8.x.

#7

Updated by Laurent Opprecht over 7 years ago

  • % Done changed from 50 to 90
#8

Updated by Yannick Warnier over 7 years ago

  • Status changed from Needs more info to Bug resolved

Laurent, your commit doesn't seem to be related to this task. Closing anyway because it depends on configuration.

Xoan, puedes cambiar la configuración de PHP y asegurarte que donde dice:

error_reporting = E_ALL & ...

incluya el ~E_STRICT. Por ejemplo:

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

Esto y recargar el apache debería solucionarlo. En todo caso, es problema de configuración, no de Chamilo.

Also available in: Atom PDF