No courses created

After installing on OSX I got errors about the data but fixed them by changing the code as show below:

File - online.inc.php

// $login_date = date("Y-m-d H:i:s",$reallyNow);
date_default_timezone_set('America/New_York');
$login_date = date_default_timezone_get();

 

File - local.inc.php
// if ($uData['expiration_date']>date('Y-m-d H:i:s') OR $uData['expiration_date']=='0000-00-00 00:00:00') {
 if ($uData['expiration_date']>$login_date OR $uData['expiration_date']=='0000-00-00 00:00:00') {
 
Everything worked after this but when I try to create a new course I get a blank screen. I don't think my fixes are related but I am not sure what the issue is. Any ideas?
 
I was able to get everything working without changing the code under PHP Version 5.2.15 but not under PHP Version 5.3.6
 
Thank you
afbeelding van Noel

error log posts

With only that information, it is very difficult to help you.

 

Can you post the lines of error.log file the course creation generates.

To do that : 

1. find your error.log file (on linux it is here : /var/log/apache2/error.log file)

2. open a terminal and type :

# tail -f <path to your error log file>

This last command will keep the error_log file open and display new line as they appear.

3. Create a course and have a look.

If you have a blank screen you should have some errors in error.log file

Same Issues

Hi. I have the same issues. I installed dokeos on my local webserver under f:\wamp\www\dokoes

I tried creating a course , but it would display a blank page and if i try to refresh the page there is not course in the course list. 

 

apache error log:

[Mon Feb 27 21:29:53 2012] [error] [client 127.0.0.1] Could not find config file in F:\\Wamp\\www\\dokeos\\main\\install/ in get_config_param(), referer: http://localhost:83/
[Mon Feb 27 21:29:53 2012] [error] [client 127.0.0.1] File does not exist: F:/Wamp/www/dokeos/main/img/screen-options-right.gif);, referer: http://localhost:83/main/install/index.php
[Mon Feb 27 21:30:10 2012] [error] [client 127.0.0.1] Could not find config file in F:\\Wamp\\www\\dokeos\\main\\install/ in get_config_param(), referer: http://localhost:83/documentation/changelog.html
[Mon Feb 27 21:30:10 2012] [error] [client 127.0.0.1] File does not exist: F:/Wamp/www/dokeos/main/img/screen-options-right.gif);, referer: http://localhost:83/main/install/index.php
[Mon Feb 27 21:30:13 2012] [error] [client 127.0.0.1] Could not find config file in F:\\Wamp\\www\\dokeos\\main\\install/ in get_config_param(), referer: http://localhost:83/main/install/index.php
[Mon Feb 27 21:30:13 2012] [error] [client 127.0.0.1] File does not exist: F:/Wamp/www/dokeos/main/img/screen-options-right.gif);, referer: http://localhost:83/main/install/index.php?running=1&installType=&update...
[Mon Feb 27 21:30:15 2012] [error] [client 127.0.0.1] Could not find config file in F:\\Wamp\\www\\dokeos\\main\\install/ in get_config_param(), referer: http://localhost:83/main/install/index.php?running=1&installType=&update...
[Mon Feb 27 21:30:15 2012] [error] [client 127.0.0.1] File does not exist: F:/Wamp/www/dokeos/main/img/screen-options-right.gif);, referer: http://localhost:83/main/install/index.php?running=1&installType=&update...
[Mon Feb 27 21:30:17 2012] [error] [client 127.0.0.1] Could not find config file in F:\\Wamp\\www\\dokeos\\main\\install/ in get_config_param(), referer: http://localhost:83/main/install/index.php?running=1&installType=&update...
[Mon Feb 27 21:30:17 2012] [error] [client 127.0.0.1] File does not exist: F:/Wamp/www/dokeos/main/img/screen-options-right.gif);, referer: http://localhost:83/main/install/index.php?running=1&installType=new&upd...
[Mon Feb 27 21:30:25 2012] [error] [client 127.0.0.1] Could not find config file in F:\\Wamp\\www\\dokeos\\main\\install/ in get_config_param(), referer: http://localhost:83/main/install/index.php?running=1&installType=new&upd...
[Mon Feb 27 21:30:25 2012] [error] [client 127.0.0.1] File does not exist: F:/Wamp/www/dokeos/main/img/screen-options-right.gif);, referer: http://localhost:83/main/install/index.php?running=1&installType=new&upd...
[Mon Feb 27 21:30:30 2012] [error] [client 127.0.0.1] Could not find config file in F:\\Wamp\\www\\dokeos\\main\\install/ in get_config_param(), referer: http://localhost:83/main/install/index.php?running=1&installType=new&upd...
[Mon Feb 27 21:30:30 2012] [error] [client 127.0.0.1] File does not exist: F:/Wamp/www/dokeos/main/img/screen-options-right.gif);, referer: http://localhost:83/main/install/index.php?running=1&installType=new&upd...
[Mon Feb 27 21:30:34 2012] [error] [client 127.0.0.1] Could not find config file in F:\\Wamp\\www\\dokeos\\main\\install/ in get_config_param(), referer: http://localhost:83/main/install/index.php?running=1&installType=new&upd...
[Mon Feb 27 21:30:47 2012] [error] [client 127.0.0.1] File does not exist: F:/Wamp/www/dokeos/main/img/screen-options-right.gif);, referer: http://localhost:83/main/install/index.php?running=1&installType=new&upd...
[Mon Feb 27 21:31:28 2012] [error] [client 127.0.0.1] File does not exist: F:/Wamp/www/dokeos/img, referer: http://localhost:83/index.php
[Mon Feb 27 21:31:46 2012] [error] [client 127.0.0.1] File does not exist: F:/Wamp/www/dokeos/img, referer: http://localhost:83/index.php

creating a course problem

I installed dokeos on my local webserver under f:\wamp\www\dokoes 

I tried creating a course , but it would display a blank page and if i try to refresh the page there is not course in the course list.

afbeelding van mohan

Creating a course problem

 

Hi,
 
Can you please try creating new course after setting Example material on course creation set to No in admin -> configuration settings. After setting this to No check by creating new course.
 
Thanking you,