OCS error preventing creation of conference

Hi,

I have just done a fresh OCS install on an IIS platform. When I login and then try to create what would be the first conference, even though it is just a sandbox, I get the following error

- NOTICE: Undefined variable: conference (C:\inetpub\wwwroot\OCS\classes\admin\form\ConferenceSiteSettingsForm.inc.php:79)

Any help would be appreciated.

Thanks

A PHP Notice is generally a non-critical development warning; display of warnings to the web browser is controlled by the display_errors configuration.

Do things work normally aside from this notice?

Hi,

This is a new installation, so while other things seem to be ok, I can’t be certain yet. The problem is that it throws up this message on an otherwise empty page and I cannot create a conference.

Hilary

There should be another message, probably prefixed with “PHP FATAL”, which points to the actual problem. Can you find any additional information in the webserver error log?

Nothing in the log.

#Software: Microsoft Internet Information Services 8.5
#Version: 1.0
#Date: 2016-09-16 02:52:54
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2016-09-16 02:52:54 146.230.128.189 GET / - 80 - 128.232.110.28 Mozilla/5.0+zgrab/0.x - 200 0 0 952
#Software: Microsoft Internet Information Services 8.5
#Version: 1.0
#Date: 2016-09-16 05:43:16
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2016-09-16 05:43:16 146.230.128.189 GET / - 80 - 211.153.85.244 Mozilla/4.0+(compatible;+MSIE+4.01;+Windows+98) - 200 0 0 1499
#Software: Microsoft Internet Information Services 8.5
#Version: 1.0
#Date: 2016-09-16 06:23:38
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2016-09-16 06:23:38 127.0.0.1 GET /OCS/index.php/ - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:48.0)+Gecko/20100101+Firefox/48.0 - 200 0 0 2998
2016-09-16 06:23:38 127.0.0.1 GET /favicon.ico - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:48.0)+Gecko/20100101+Firefox/48.0 - 404 0 2 15
2016-09-16 06:23:49 127.0.0.1 POST /OCS/index.php/index/index/login/signIn - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:48.0)+Gecko/20100101+Firefox/48.0 http://127.0.0.1/OCS/index.php/ 200 0 0 702
2016-09-16 06:23:49 127.0.0.1 GET /OCS/index.php/index/index/admin - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:48.0)+Gecko/20100101+Firefox/48.0 - 200 0 0 813
2016-09-16 06:23:53 127.0.0.1 GET /OCS/index.php/index/index/admin/conferences - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:48.0)+Gecko/20100101+Firefox/48.0 http://127.0.0.1/OCS/index.php/index/index/admin 200 0 0 734
2016-09-16 06:23:57 127.0.0.1 GET /OCS/index.php/index/index/admin/createConference - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:48.0)+Gecko/20100101+Firefox/48.0 http://127.0.0.1/OCS/index.php/index/index/admin/conferences 500 0 0 671
2016-09-16 06:23:57 127.0.0.1 GET /OCS/index.php/index/index/admin/createConference - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:48.0)+Gecko/20100101+Firefox/48.0 http://127.0.0.1/OCS/index.php/index/index/admin/conferences 500 0 0 562
2016-09-16 06:26:05 127.0.0.1 GET /OCS/index.php/index/index/admin/conferences - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:48.0)+Gecko/20100101+Firefox/48.0 http://127.0.0.1/OCS/index.php/index/index/admin 200 0 0 828
2016-09-16 06:26:09 127.0.0.1 GET /OCS/index.php/index/index/about - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:48.0)+Gecko/20100101+Firefox/48.0 http://127.0.0.1/OCS/index.php/index/index/admin/conferences 200 0 0 1000
2016-09-16 06:26:16 127.0.0.1 GET /OCS/index.php/index/index/user - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:48.0)+Gecko/20100101+Firefox/48.0 http://127.0.0.1/OCS/index.php/index/index/about 200 0 0 906
2016-09-16 06:26:20 127.0.0.1 GET /OCS/index.php/index/index/admin - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:48.0)+Gecko/20100101+Firefox/48.0 http://127.0.0.1/OCS/index.php/index/index/user 200 0 0 592
2016-09-16 06:26:24 127.0.0.1 GET /OCS/index.php/index/index/admin/conferences - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:48.0)+Gecko/20100101+Firefox/48.0 http://127.0.0.1/OCS/index.php/index/index/admin 200 0 0 890
2016-09-16 06:26:28 127.0.0.1 GET /OCS/index.php/index/index/admin/createConference - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:48.0)+Gecko/20100101+Firefox/48.0 http://127.0.0.1/OCS/index.php/index/index/admin/conferences 500 0 0 1031

This looks like the access log. There will be another log for PHP errors. The last line has a 500 status:

This 500 status indicates an “internal server error” which would have been logged in the webserver’s error log.

Perhaps this thread might be helpful?
http://stackoverflow.com/questions/6426375/where-can-i-find-the-iis-logs

Thanks for the help. I found the problem which was that PHP was set to a dev environment with errors set to all. Changing it to a prod environment resolved the issue.