Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.8.5 Error 500 #59

Closed
colly72 opened this issue Sep 19, 2023 · 7 comments
Closed

2.8.5 Error 500 #59

colly72 opened this issue Sep 19, 2023 · 7 comments
Assignees
Labels

Comments

@colly72
Copy link

colly72 commented Sep 19, 2023

I've just upgraded to 2.85 but I get a 500 error when trying to access the bookings page. I've replaced the assets folder, index.php and renamed the application folder and uploaded the crbs-core folder as per the instructions.

@craigrodway
Copy link
Member

Please follow the Troubleshooting steps to help identify where this type of error comes from.

@colly72
Copy link
Author

colly72 commented Sep 19, 2023

I'm getting these errors in the logs:

ERROR - 2023-09-19 15:58:35 --> Severity: Warning --> include(/home/udv6qvky03ay/public_html/crbs-core/vendor/composer/../../crbs-core/application/components/bookings/Context.php): failed to open stream: No such file or directory /home/udv6qvky03ay/public_html/crbs-core/vendor/composer/ClassLoader.php 576
ERROR - 2023-09-19 15:58:35 --> Severity: Warning --> include(): Failed opening '/home/udv6qvky03ay/public_html/crbs-core/vendor/composer/../../crbs-core/application/components/bookings/Context.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') /home/udv6qvky03ay/public_html/crbs-core/vendor/composer/ClassLoader.php 576
ERROR - 2023-09-19 15:58:35 --> Severity: error --> Exception: Class 'app\components\bookings\Context' not found /home/udv6qvky03ay/public_html/crbs-core/application/controllers/Bookings.php 49

@craigrodway
Copy link
Member

Thanks for the extra info - very helpful! Sorry about the errors, my fault!

Please obtain version 2.8.6 from GitHub and replace your crbs-core directory from the downloaded zip file.

@colly72
Copy link
Author

colly72 commented Sep 20, 2023

Thanks for the extra info - very helpful! Sorry about the errors, my fault!

Please obtain version 2.8.6 from GitHub and replace your crbs-core directory from the downloaded zip file.

I've done that. Seems to have resolved the issue but I'm getting css/styling issues:

classroombookings

Looks like it can't find main.css and print.css

@craigrodway
Copy link
Member

Did you add a .env file to help with troubleshooting? If so, please remove this now, or change its contents to production.

@colly72
Copy link
Author

colly72 commented Sep 20, 2023

Did you add a .env file to help with troubleshooting? If so, please remove this now, or change its contents to production.

Aaah, that's done it! Works great now, thanks so much.

@craigrodway
Copy link
Member

Brilliant! Thanks for confirming :) 🙌

@craigrodway craigrodway self-assigned this Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants