-
Notifications
You must be signed in to change notification settings - Fork 984
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
Save initial config fails with message, "Sorry! Unknow error!" (that's the exact message/spelling) #441
Comments
If it is during the installation try to look apache error log |
No errors in any of the apache logs (error.log, ssl_request_log, ssl_access_log or access_log). |
there is a database created? |
There is NO activity in the logs, other than the expected SSL log entries: ssl_access_log No database is created. |
Is possible for you do debug the code to know in what the ajax request returning? check this: https://github.com/DanielnetoDotCom/YouPHPTube/wiki/Check-Ajax-answer |
In Chrome & Firefox (just tried Firefox with this), the only entry under XHR is the POST, status code: Request headers Response headers: |
Apache was compiled with the following options:
|
PHP was compiled with the following options:
|
If you got error 500 must be an log information otherwise is impossible to fix |
Full Appache access log, with a fresh attempt/session:
|
This looks like access log. |
I said that it is the access log. The return code 500 is the last line in the log posted above. There are no entries in the error log for that time frame. Is it possible something in my PHP or Apache version are missing some feature/option (see above compiled in options)? Thanks. |
you suppose to have an error log. check your apache configuration to enable it |
I do have an error log. There are no errors in the time of my testing. Here are the error log entries around the time of the test (18/Mar/2018:11:06:10). I restarted Apache at 11:16.
|
@nicholfd this error does not help much. sorry |
@nasmacs check your apache error log |
@nasmacs please update and try again |
The update did not help me. However - I think I have the solution! On some PHP/Apache/Linux implementations, using localhost to connect the MySQL is not the same as using 127.0.0.1 - 127.0.0.1 works, when localhost may not. This is true, even if "localhost" works from the command line. I installed on a clean, latest, Ubuntu Server LTS. All worked. I backed up the website directory & SQL database. I copied it to my Gentoo installation described above. It still failed. However, I had logs in the videos directory. Troubleshooting told me it had trouble connecting to the SQL server. While trying to install PHPMyAdmin, I had trouble connecting to the SQL server. Researching found a suggestion to change "localhost" to "127.0.0.1". I did, and this resolved the issue! Thanks, |
very cool! :D that is true, it confused me also some times.. (127.0.0.1 instead of localhost with other software) ok then, update was anyway unbreak some stuff, so was not bad the issue brought me to have a look there :) if you want, you can close the issue then. |
I'm experiencing this issue as well . . . |
The fix was the make sure the default php modules were installed when I switch the 5.6 |
@cbranje is it fixed for you? |
Yes fixed for me! The fix was to make sure the default PHP modules were installed when I switched to version 5.6 |
Great :) thanks |
YouPHPTube version - latest from GitHub, 4.8
Kernel 4.9.76-gentoo-r1 #2 SMP
PHP 5.6.33-pl0-gentoo
apache-2.4.27-r1:2::gentoo
mariadb-10.1.29:0/18::gentoo
Site home directory: /var/www/localhost/YouPHPTube
Verified database server is reachable & database user has full permissions to the database server
All files & directories are owned by apache:apache
Site is using SSL with a valid certificate
All items are green on the left side
Workstation I'm browsing from is running macOS 10.13.2
Tried Chrome Version 62.0.3202.94
Tried Safari 11.0.3
The YouPHPTube system is running another production web site with the same LAMP stack.
The configuration/install screen loads ok (https://xxx.xxx.xxx.xxx/youphptube/install/index.php). I complete the fields. They look good. I click "Submit". A progress bar appears at the top for less than one second. A pop-up dialog says "Sorry! Unknow error!"
Are there any logs or information written anywhere? I looked around and could find no new/changed files in /var.
Thanks in advance!
The text was updated successfully, but these errors were encountered: