webman Posted March 27, 2019 Posted March 27, 2019 That would be really helpful for other people, thanks! Nice to hear that you're getting everything you need from it as well
J_Parton Posted March 28, 2019 Posted March 28, 2019 Got most of how I got it set up documented now https://drive.google.com/file/d/1C36JIYnadb9m5tcwyD4iJWMv25DltRsW/view 1
J_Parton Posted March 28, 2019 Posted March 28, 2019 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
webman Posted March 28, 2019 Posted March 28, 2019 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
J_Parton Posted March 28, 2019 Posted March 28, 2019 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!
lewisreid01 Posted June 11, 2020 Posted June 11, 2020 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
webman Posted June 11, 2020 Posted June 11, 2020 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
lewisreid01 Posted June 11, 2020 Posted June 11, 2020 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
webman Posted June 11, 2020 Posted June 11, 2020 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now