Chamilo 1.9 をインストールすると、次のようになります。
Remote server or file not found
domain.com/chamilo/index.php で
domain.com/chamilo/version.php (これは .
私はそれが私の .htaccess ファイルだと思っていましたが、邪魔なものは何も含まれていません:
# Use PHP 5.3
AddType application/x-httpd-php53 .php
# Check that your Apache virtualhost have this settings:
#<Directory "/var/www/chamilo-classic">
# AllowOverride All
# Order allow,deny
# Allow from all
#</Directory>
RewriteEngine on
RewriteCond %{QUERY_STRING} ^id=(.*)$
RewriteRule ^certificates/$ certificates/index.php?id=%1 [L]
RewriteRule ^([^/.]+)/?$ user.php?$1 [L]
# This will transform
# http://my.chamilo.net/certificates/?id=123 to http://my.chamilo.net/ certificates/index.php?id=123
# http://my.chamilo.net/juliomontoya to http:// my.chamilo.net/user.php?juliomontoya
しかし、ホスティング プロバイダーが php エラーをオフにして、代わりにログに記録していることがわかります。
[02-Oct-2012 19:59:20 UTC] PHP Warning: PHP Startup: magickwand: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match in Unknown on line 0
[02-Oct-2012 19:59:20 UTC] PHP Warning: PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match in Unknown on line 0
[02-Oct-2012 19:59:20 UTC] PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match in Unknown on line 0
[02-Oct-2012 19:59:20 UTC] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match in Unknown on line 0
[02-Oct-2012 19:59:20 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: undefined symbol: third_arg_force_ref in Unknown on line 0
[02-Oct-2012 19:59:20 UTC] PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match in Unknown on line 0
[02-Oct-2012 19:59:20 UTC] PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match in Unknown on line 0
[02-Oct-2012 19:59:20 UTC] PHP Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead' in /home/domain/chamilo/main/inc/lib/symfony/Twig/Extension/Core.php:420
Stack trace:
#0 /home/domain/chamilo/main/inc/lib/symfony/Twig/Extension/Core.php(420): DateTime->__construct('now')
#1 /home/domain/chamilo/main/inc/lib/symfony/Twig/Extension/Core.php(390): twig_date_converter(Object(Twig_Environment), 'now', NULL)
#2 /home/domain/chamilo/archive/twig/89/5c/c0f0daf45dd618c8ea2e2bbaf856.php(121): twig_date_format_filter(Object(Twig_Environment), 'now', 'Y')
#3 /home/domain/chamilo/main/inc/lib/symfony/Twig/Template.php(278): __TwigTemplate_8 in /home/domain/chamilo/main/inc/lib/symfony/Twig/Template.php on line 282
これを修正するにはどうすればよいですか?