bwilber Posted May 14, 2020 Report Share Posted May 14, 2020 phpVMS version 2.1.936 PHP version 7.133 MySQL version 5.5.60 Nginx Server When submitting the registration form it just takes me back to the form, no errors shown or anything, and the user isn't created. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted May 14, 2020 Administrators Report Share Posted May 14, 2020 I am pretty sure that phpVMS 2.1.936 isn't going to work with PHP 7.1.33 Is this your original install of phpVMS 2.1.936 or a new install? 1 Quote Link to comment Share on other sites More sharing options...
bwilber Posted May 14, 2020 Author Report Share Posted May 14, 2020 Original install from a few years ago. I think it started with PHP 5.4 or so, and has been upgraded once or twice. I thought it had been working as no one had complained until now. Maybe not, though. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted May 14, 2020 Administrators Report Share Posted May 14, 2020 What other PHP versions are available from your host? Quote Link to comment Share on other sites More sharing options...
bwilber Posted May 16, 2020 Author Report Share Posted May 16, 2020 I finally got it switched to PHP 5.4.45, but still have the same problem. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted May 16, 2020 Administrators Report Share Posted May 16, 2020 Switch back to the crystal skin and see if it works from there. If so, the issue is somewhere in your skin. Quote Link to comment Share on other sites More sharing options...
bwilber Posted May 16, 2020 Author Report Share Posted May 16, 2020 It does the same thing with Crystal. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted May 16, 2020 Administrators Report Share Posted May 16, 2020 Are there any errors listed in the error_log file? Any errors shown in the console in Chrome? Any chance your site relies on ionCube or ionCube loader? What version of MySQL or MariaDB are you using? Quote Link to comment Share on other sites More sharing options...
bwilber Posted May 16, 2020 Author Report Share Posted May 16, 2020 1. 2020/05/16 14:23:19 [error] 22463#0: *12404 FastCGI sent in stderr: "PHP Notice: Use of undefined constant SITE_NAME - assumed 'SITE_NAME' in /home/fly-twva/public_html/core/lang/en.lang.php on line 31" while reading response header from upstream, client: 76.29.190.90, server: fly-twva.com, request: "POST /index.php/registration HTTP/1.1", upstream: "fastcgi://unix:/var/php-nginx/130827955019593.sock/socket:", host: "fly-twva.com", referrer: "https://fly-twva.com/index.php/registration" 2020/05/16 14:23:22 [error] 22459#0: *12372 FastCGI sent in stderr: "PHP Notice: Constant SITE_ROOT already defined in /home/fly-twva/public_html/core/codon.config.php on line 46 PHP Notice: Use of undefined constant SITE_NAME - assumed 'SITE_NAME' in /home/fly-twva/public_html/core/lang/en.lang.php on line 31" while reading response header from upstream, client: 173.216.53.4, server: fly-twva.com, request: "GET //action.php/acars/data?_=1589667655773 HTTP/1.1", upstream: "fastcgi://unix:/var/php-nginx/130827955019593.sock/socket:", host: "fly-twva.com", referrer: "https://fly-twva.com/index.php/acars" 2020/05/16 14:23:27 [error] 22458#0: *12408 FastCGI sent in stderr: "PHP Notice: Use of undefined constant SITE_NAME - assumed 'SITE_NAME' in /home/fly-twva/public_html/core/lang/en.lang.php on line 31" while reading response header from upstream, client: 46.229.168.132, server: fly-twva.com, request: "GET /index.php/pireps/view/15922 HTTP/1.1", upstream: "fastcgi://unix:/var/php-nginx/130827955019593.sock/socket:", host: "fly-twva.com" 2. Warnings, but no errors. 3. No 4. MySQL version 5.5.60 Not sure how much of the errors log you need, but I tried to take what looked like it wasn't repeated. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted May 17, 2020 Administrators Report Share Posted May 17, 2020 2 hours ago, bwilber said: 1. 2020/05/16 14:23:19 [error] 22463#0: *12404 FastCGI sent in stderr: "PHP Notice: Use of undefined constant SITE_NAME - assumed 'SITE_NAME' in /home/fly-twva/public_html/core/lang/en.lang.php on line 31" while reading response header from upstream, client: 76.29.190.90, server: fly-twva.com, request: "POST /index.php/registration HTTP/1.1", upstream: "fastcgi://unix:/var/php-nginx/130827955019593.sock/socket:", host: "fly-twva.com", referrer: "https://fly-twva.com/index.php/registration" 2020/05/16 14:23:22 [error] 22459#0: *12372 FastCGI sent in stderr: "PHP Notice: Constant SITE_ROOT already defined in /home/fly-twva/public_html/core/codon.config.php on line 46 PHP Notice: Use of undefined constant SITE_NAME - assumed 'SITE_NAME' in /home/fly-twva/public_html/core/lang/en.lang.php on line 31" while reading response header from upstream, client: 173.216.53.4, server: fly-twva.com, request: "GET //action.php/acars/data?_=1589667655773 HTTP/1.1", upstream: "fastcgi://unix:/var/php-nginx/130827955019593.sock/socket:", host: "fly-twva.com", referrer: "https://fly-twva.com/index.php/acars" 2020/05/16 14:23:27 [error] 22458#0: *12408 FastCGI sent in stderr: "PHP Notice: Use of undefined constant SITE_NAME - assumed 'SITE_NAME' in /home/fly-twva/public_html/core/lang/en.lang.php on line 31" while reading response header from upstream, client: 46.229.168.132, server: fly-twva.com, request: "GET /index.php/pireps/view/15922 HTTP/1.1", upstream: "fastcgi://unix:/var/php-nginx/130827955019593.sock/socket:", host: "fly-twva.com" 2. Warnings, but no errors. 3. No 4. MySQL version 5.5.60 Not sure how much of the errors log you need, but I tried to take what looked like it wasn't repeated. 1 - I separated out the error_log entries you provided. 2 - What warning are you seeing? For the PHP version - did you change the entire hosting plan to 5.4.45 or just the directory/sub-domain that your phpVMS is in? As a test..... in .../core/lang/en.lang.php on line 31 change 'email.pilot.retired.subject' => SITE_NAME.': You\'ve been marked as retired', to 'email.pilot.retired.subject' => 'SITE_NAME'.': You\'ve been marked as retired', basically adding a ' on either side of SITE_NAME - save the file and retest. If it works - GREAT -- if not, revert back to the original SITE_NAME without the ' on either side. Let us know what happens. Quote Link to comment Share on other sites More sharing options...
bwilber Posted May 17, 2020 Author Report Share Posted May 17, 2020 I changed the entire domain to 5.4.45. After add the ' on either side of SITE_NAME, it still reverts back, but the error is gone. However, now I get different errors: 2020/05/16 17:16:14 [error] 22464#0: *16996 FastCGI sent in stderr: "PHP Warning: Creating default object from empty value in /home/fly-twva/public_html/core/common/PIREPData.class.php on line 337" while reading response header from upstream, client: 46.229.168.149, server: fly-twva.com, request: "GET /index.php/pireps/view/8937 HTTP/1.1", upstream: "fastcgi://unix:/var/php-nginx/130827955019593.sock/socket:", host: "fly-twva.com" 2020/05/16 17:16:59 [error] 22459#0: *17010 FastCGI sent in stderr: "PHP Warning: Creating default object from empty value in /home/fly-twva/public_html/core/common/PIREPData.class.php on line 337" while reading response header from upstream, client: 46.229.168.151, server: fly-twva.com, request: "GET /index.php/pireps/view/11803 HTTP/1.1", upstream: "fastcgi://unix:/var/php-nginx/130827955019593.sock/socket:", host: "fly-twva.com" 2020/05/16 17:27:51 [error] 22458#0: *17269 FastCGI sent in stderr: "PHP Warning: Creating default object from empty value in /home/fly-twva/public_html/core/common/PIREPData.class.php on line 337" while reading response header from upstream, client: 46.229.168.163, server: fly-twva.com, request: "GET /index.php/pireps/view/10683 HTTP/1.1", upstream: "fastcgi://unix:/var/php-nginx/130827955019593.sock/socket:", host: "fly-twva.com" Quote Link to comment Share on other sites More sharing options...
bwilber Posted May 17, 2020 Author Report Share Posted May 17, 2020 Actually, I have been watching the error log, and those errors keep popping up even when I an not doing anything, so I'd say they are unrelated. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted May 17, 2020 Administrators Report Share Posted May 17, 2020 I wonder if your issue has anything to do with "fastcgi"? I am not well versed enough to know. The last errors mention "fastcgi" and creating a default object in the PIREPData.class file on line 337 As for the IP addresses mentioned - 46.229.168.163 - 46.229.168.151 - 46.229.168.149 - have a look here: https://whatismyipaddress.com/ip/46.229.168.163 https://whatismyipaddress.com/ip/46.229.168.151 https://whatismyipaddress.com/ip/46.229.168.149 and here https://www.abuseipdb.com/check/46.229.168.163 https://www.abuseipdb.com/check/46.229.168.151 https://www.abuseipdb.com/check/46.229.168.149 Not sure what all that is about, but you may want to consider blocking those IP addresses or possibly the entire range - 46.229.168.0 thru 46.229.168.255. And I didn't check the IP addresses in your first post about the error messages. Quote Link to comment Share on other sites More sharing options...
bwilber Posted May 17, 2020 Author Report Share Posted May 17, 2020 Thanks for all your help. You have gone above and beyond. I appreciate it. I think you are right about FCGI being the culprit. I had to put a directive into the NGINX config for the domain just to get the website to show anything other than the home page. I had to take it out to make the change to 5.4, and then put it back in so the site worked at all. Without that directive, when you clicked to go to another page, it would show a 502 Bad Gateway. I never gave it a thought until you said it, that that might be the problem. As for the IP's, they'll be taken care of indeed. Thanks again. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted May 17, 2020 Administrators Report Share Posted May 17, 2020 Glad to help - wish we could have found the culprit. Maybe someone else will see this thread and be able to assist further. Maybe time to start thinking of an upgrade to phpVMS 7 when released. Now may be a good time to start testing it out. Quote Link to comment Share on other sites More sharing options...
bwilber Posted May 17, 2020 Author Report Share Posted May 17, 2020 Been thinking about it, but life has kept me from jumping in and doing it. I know we should have more time with the stay at home order, but in Georgia, we have still had the freedom to go camping in state parks, so being retired, we have stayed gone most of the time. Too peoply close to home. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.