Proxy settings can currently not be determined load error 500

Started by maffy, May 14, 2016, 06:39:24 PM

Previous topic - Next topic

maffy

Running home server with Apache 2.4
After upgrade Apache 2.2 to 2.4 an PHP 7, SMF fora are not loading at all.


Installed 2x SMF forums ver 2 months ago, and they are running fine, until i upgrade win7 to windows 10 and find that apache 2.2 has to be upgraded aswell.
Installing Apache Version   Apache/2.4.20 (Win32) mod_h264_streaming/2.2.7 PHP/7.0.6
SQL server is the same and runs fine also.
The server is not to be running any proxy.
Problem proxy detection is temporarily not determined http error 500 in browser. All ohter domains and pages with PHP and SQL are fine.
Something happened with the way the new Apache server is doing this.
A new premade setting in httpd.conf is
# Configure mod_proxy_html to understand HTML4/XHTML1
<IfModule proxy_html_module>
Include conf/extra/proxy-html.conf
</IfModule>

paranormal.mcraft.dk main site working ok
paranormal.mcraft.dk/forum forum error
lthy.dk forum error

Any idea what to change?
regards,
Maffy

LiroyvH

Don't quite follow. Exactly what is the error you get on the screen; and what shows up in your Apache HTTPD "error_log" file?
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

maffy

The link http://paranormal.mcraft.dk/forum shows the error.
I get this in danish:
paranormal.mcraft.dk kan i øjeblikket ikke behandle denne anmodning.
HTTP ERROR 500

Starting error finding tells that proxy settings cannot be determined automaticly.
The last entries in the error log
192.168.31.12 - - [14/May/2016:22:26:48 +0200] "GET /favicon.ico HTTP/1.1" 404 209
14.139.213.183 - - [14/May/2016:22:27:17 +0200] "GET / HTTP/1.0" 200 46
192.168.31.12 - - [14/May/2016:22:29:00 +0200] "GET / HTTP/1.1" 304 -
192.168.31.12 - - [14/May/2016:22:30:03 +0200] "GET / HTTP/1.1" 304 -
157.55.39.138 - - [14/May/2016:22:30:29 +0200] "GET / HTTP/1.1" 200 46
185.114.136.61 - - [14/May/2016:22:31:34 +0200] "GET / HTTP/1.1" 200 46
36.229.80.156 - - [14/May/2016:23:59:26 +0200] "CONNECT 163mx00.mxmail.netease.com:25 HTTP/1.0" 404 -
115.239.228.8 - - [15/May/2016:00:06:28 +0200] "GET http://zc.qq.com/cgi-bin/common/attr?id=260714&r=0.4148152325401596 HTTP/1.1" 404 -
115.239.228.8 - - [15/May/2016:02:04:15 +0200] "GET http://zc.qq.com/cgi-bin/common/attr?id=260714&r=0.4642274303774101 HTTP/1.1" 404 -
regards,
Maffy

LiroyvH

Do you have a proxy configured on your computer or the router...?
It just shows a blank page here (no 500 error) and those errors in the error_log are unrelated.
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

maffy

Quote from: CoreISP on May 14, 2016, 08:15:41 PM
Do you have a proxy configured on your computer or the router...?
It just shows a blank page here (no 500 error) and those errors in the error_log are unrelated.

The blank page has been shown to people with mobile devices.
I get a little more as i typed here, when from a PC.
I also tell, that i dont want to run proxy. i really don't think i have proxy, but windows 10 starts with IIS which i had
to exterminate and uninstall to get the port 10 free again.
regards,
Maffy

maffy

Starting at the main page same domain http://paranormal.mcraft.dk there is the wanted page shown fine.
regards,
Maffy

LiroyvH

I'm not on a cell phone. On other browsers I can get a problematic response, but I'm not sure what you mean about the proxy...?

Unfortunately, without any meaningful errors its a bit hard to troubleshoot what problem you may have.
I do recall there might be some issues with SMF + PHP7, but someone from support/dev will probably know that better than me if there indeed are issues.
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

maffy

When i configured PHP.ini, i recall, that there was no MySQL but an MySQLI section. Perhaps i am running MySQLI instead, which is much smaller requirements for PHP
regards,
Maffy

LiroyvH

((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

qc

These are the response headers I get from visiting http://paranormal.mcraft.dk/forum/:
Connection:close
Content-Length:0
Content-Type:text/html; charset=UTF-8
Date:Sun, 15 May 2016 00:31:50 GMT
Server:Apache/2.4.20 (Win32) mod_h264_streaming/2.2.7 PHP/7.0.6
X-Powered-By:PHP/7.0.6


Could the error be caused by PHP 7?

Edit: The topic @CoreISP linked indeed confirms that this issue is caused by PHP 7.
Playing quizduell? Having quizduell questions? Our german quizduell forum quizcommunity.de is looking for quiz freaks to come and play quizduell with us :)

maffy

Its possible this PHP 7 version does not run MySQL but only MySQLI?
regards,
Maffy

LiroyvH

((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

maffy

The suggestion points at changing the settings to expect mysqli instead of mysql.
Changing this
$db_type = mysql';
and reloading cache has no effect here.
regards,
Maffy

LiroyvH

Those are instructions for *after* you have installed that mod. ;)
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

maffy

regards,
Maffy

LiroyvH

((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

maffy

Thanks.
New problem showed up. I forgot admins password (or it is not working).
When providing user nick name for email option, i get:
An Error Has Occurred!
Your session timed out while posting. Please go back and try again.
People can not register either http://paranormal.mcraft.dk/forum

I see more of this kind of posting but none with this issue of password after migrating to mysqli.
regards,
Maffy

Advertisement: