-
Notifications
You must be signed in to change notification settings - Fork 184
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
Http error 500 when logging in user #3226
Comments
Hello again, I have followed this thread #3168 with the same error "HTTP ERROR 500", I have given permissions to apache (www-data) on the files: The problem remains, can someone tell me what permissions are needed on the /matecat directory and other subdirectories and files? PHP 7.4 / NODEJS > 14 / Matecat 2.20.165 thanks |
fatal_errors.txt {"log":{"token_hash":"7i151obh4iafb","context":{"ip":"::1","line":null},"time":1711366475,"date":"2024-03-25T12:34:35+01:00","content":"#0 Bootstrap::shutdownFunctionHandler()\n \n[ E_ERROR ]\n\tUncaught Error: Cannot use object of type Users_UserStruct as array in /home/matecat/matecat/lib/Controller/AbstractControllers/viewController.php:308\nStack trace:\n#0 /home/matecat/matecat/lib/Controller/newProjectController.php(69): viewController->removeMMTFromEngines()\n#1 /home/matecat/matecat/index.php(12): newProjectController->doAction()\n#2 {main}\n thrown\n\tNot Recoverable Error on line 308 in file /home/matecat/matecat/lib/Controller/AbstractControllers/viewController.php - PHP 7.4.33 (Linux)\n - REQUEST URI: '/'\n - REQUEST Message: array (\n 'action' => 'newProject',\n)\n\n\tAborting...\n</pre>"}} |
php_errors.txt Stack trace: |
/var/log/apache2/matecat/access.log ::1 - - [27/Mar/2024:14:17:30 +0100] "GET /api/app/user/login/token HTTP/1.1" 200 3709 "https://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" |
/var/log/apache2/matecat/error.log [Wed Mar 27 12:18:05.327627 2024] [ssl:warn] [pid 945] AH01906: localhost:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) |
The http error 500 error continues and no one is able to give even a hint, the logs are already completely checked. All nodejs versions have been tested, php 7.4 and php 5.6. Different operating systems and versions have been tested:
All kind of permissions have been tested according to the guide and according to github comments. Could someone help here? |
Same problem here, and also tested several (recent) releases of MateCat, in combination of debian 12/ubuntu 22.04 php5.6/7.4/8.1, none of these helped. (current mysql version is v8.0.36) Edit: as a temporary workaround, change the lines in |
Hello,
I need help logging in with users.
I create the local users correctly, the token is confirmed in the database, but when logging in the browser returns a HTTP ERROR 500.
I have successfully configured the login oauth google api, but the same thing happens, when you log in it gives an HTTP ERROR 500 error.
Can someone help me, please
The text was updated successfully, but these errors were encountered: