Jump to content

Recommended Posts

Posted
I see the options for personal details such as department, email address and phone number, however no actual use for them, it would be cool if users could click a teachers name and see these details
Posted

Thanks @J_Parton :) Happy for me to add that to the documentation? What name would you like it crediting as (if any)?

 

That's right, they aren't used at the moment. I intended to use the departments for reports, and the email address for notifications, and phone number for display purposes for other staff to get in touch.

 

These will become more useful and used in other places in the future :)

Posted

Yes of course! Just use my username on here that will be really cool :)

 

Ah that makes sense! I figured there would be something being developed towards those!

  • 1 year later...
Posted

Hi,

 

I'm having a similar issue. I'm getting HTTP ERROR 500 when trying to launch for the first time to run the install. This is on Ubuntu 18.04.4, MariadDB 10.1.44, PHP 7.2.24 and Apache 2.4.29 if anyone can offer any advice?

 

Thanks a lot

Lewis

Posted

Hi Lewis!

 

There's a mode where you can enable the errors to be displayed. Presuming this is with version 2 - create a new plain text file called '.env' in the same place as index.php. Put the word 'development' in it (no quotes), save it, and reload the page. That should give some more details as to what's happening to cause the 500. You can (and should) delete the file once it's all installed and you no longer need to see them.

 

Put the output of the error message here and I'll try and help :)

Posted

Hi,

 

This is the error I received from that. I'm guessing some permissions not set correctly somewhere. I have ran the chmod for both local and uploads though...

 

 

 

 

Warning: mkdir(): Permission denied in /var/www/html/crbs-2.2.0/application/vendor/codeigniter/framework/system/core/Log.php on line 131

[h=4]A PHP Error was encountered[/h]Severity: Warning

Message: mkdir(): Permission denied

Filename: core/Log.php

Line Number: 131

Backtrace:

File: /var/www/html/crbs-2.2.0/index.php

Line: 323

Function: require_once

 

[h=4]A PHP Error was encountered[/h]Severity: Warning

Message: mkdir(): Permission denied

Filename: drivers/Session_files_driver.php

Line Number: 136

Backtrace:

File: /var/www/html/crbs-2.2.0/application/core/MY_Controller.php

Line: 23

Function: library

File: /var/www/html/crbs-2.2.0/application/controllers/School.php

Line: 10

Function: __construct

File: /var/www/html/crbs-2.2.0/index.php

Line: 323

Function: require_once

 

[h=4]An uncaught Exception was encountered[/h]Type: Exception

Message: Session: Configured save path '/var/www/html/crbs-2.2.0/local/sessions' is not a directory, doesn't exist or cannot be created.

Filename: /var/www/html/crbs-2.2.0/application/vendor/codeigniter/framework/system/libraries/Session/drivers/Session_files_driver.php

Line Number: 138

Backtrace:

File: /var/www/html/crbs-2.2.0/application/core/MY_Controller.php

Line: 23

Function: library

File: /var/www/html/crbs-2.2.0/application/controllers/School.php

Line: 10

Function: __construct

File: /var/www/html/crbs-2.2.0/index.php

Line: 323

Function: require_once

 

Posted

Hi Lewis, definitely looks like permission problem on the local/sessions folder.

 

Make sure it exists (it should do) - if not, create it.

If it does exist, it needs read/write permissions by the web server user account and/or group.

 

This varies depending on configuration, but a common user account is 'www-data'.

 

If you need to set the user ownership, you could run 'chown -R www-data:www-data /var/www/html/crbs-2.2.0/' to recursively change the owner + group to www-data.

If it's already the correct user, you will need to set or reset the permissions. 'chmod -R 755 /var/www/html/crbs-2.2.0/local' should work.

 

The whole 'local' folder actually needs read/write, so it's worth checking that too.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...