php 500 errors

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

php 500 errors

EricC

Hey guys;

I’m at a loss here..

 

Have a centOS 6.9 server, just installed, actually it’s my test server, as I was looking to move from my existing mail setup to using exim4u.

No extra repo’s installed, (just webmin) everything updated, and upgraded with yum. – let me know if you have questions on versions.

 

Got everything installed, and looks to be ready to roll.

I hit the web interface,

Log in, first time, forces a password change, complete that.

Get the screen, hit add local domain.

Fill in the information on the domain, and the postmaster account.

Hit Submit, and get a 500 server error.

 

Bad thing is, there is NOTHING in the Apache error log. – if I hit F5 after the 500 error, I do get a couple undefined index errors, but I don’t think they are related.

 

Here’s the access log

10.10.222.76 - - [18/May/2017:19:26:15 -0400] "POST /exim4u/siteaddsubmit.php HTTP/1.1" 500 - "http://openhab.ecxx.com/exim4u/siteadd.php?type=local" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"

 

Errors if I hit F5…

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 22

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 25

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 32

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 35

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: domain in /home/exim4u/www/exim4u/siteaddsubmit.php on line 39

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 40

 

 

I’m pretty decent with PHP, but I’m at a loss.  Display errors is not off, I don’t know what’s failing.

I’ve also looked at /var/log/messages, and see nothing there either.

 

Any help is appreciated.

 

Thanks

 


_______________________________________________
users mailing list
[hidden email]
https://exim4u.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: php 500 errors

Helmut Fritz

Not sure I can help fix, but some leading questions:

 

Is there an apache errors log along with the access log?

 

any database error logged in the mysql log?

 

what version of php are you using?

 

From: users [mailto:[hidden email]] On Behalf Of Eric C
Sent: Thursday, May 18, 2017 8:10 PM
To: [hidden email]
Subject: [Exim4U] php 500 errors

 

Hey guys;

I’m at a loss here..

 

Have a centOS 6.9 server, just installed, actually it’s my test server, as I was looking to move from my existing mail setup to using exim4u.

No extra repo’s installed, (just webmin) everything updated, and upgraded with yum. – let me know if you have questions on versions.

 

Got everything installed, and looks to be ready to roll.

I hit the web interface,

Log in, first time, forces a password change, complete that.

Get the screen, hit add local domain.

Fill in the information on the domain, and the postmaster account.

Hit Submit, and get a 500 server error.

 

Bad thing is, there is NOTHING in the Apache error log. – if I hit F5 after the 500 error, I do get a couple undefined index errors, but I don’t think they are related.

 

Here’s the access log

10.10.222.76 - - [18/May/2017:19:26:15 -0400] "POST /exim4u/siteaddsubmit.php HTTP/1.1" 500 - "http://openhab.ecxx.com/exim4u/siteadd.php?type=local" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"

 

Errors if I hit F5…

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 22

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 25

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 32

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 35

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: domain in /home/exim4u/www/exim4u/siteaddsubmit.php on line 39

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 40

 

 

I’m pretty decent with PHP, but I’m at a loss.  Display errors is not off, I don’t know what’s failing.

I’ve also looked at /var/log/messages, and see nothing there either.

 

Any help is appreciated.

 

Thanks

 


_______________________________________________
users mailing list
[hidden email]
https://exim4u.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: php 500 errors

Gordon Dickens
In reply to this post by EricC
Hi Eric,

I would check the permissions of all of your php files in the exim4u directory and make sure that they are all readable by apache.  Also, make sure that you haven't got something in your .htaccess file or the apache configuration file that is restricting access to the files in the exim4u directory.

Gordon



On 05/18/2017 11:10 PM, Eric C wrote:

Hey guys;

I’m at a loss here..

 

Have a centOS 6.9 server, just installed, actually it’s my test server, as I was looking to move from my existing mail setup to using exim4u.

No extra repo’s installed, (just webmin) everything updated, and upgraded with yum. – let me know if you have questions on versions.

 

Got everything installed, and looks to be ready to roll.

I hit the web interface,

Log in, first time, forces a password change, complete that.

Get the screen, hit add local domain.

Fill in the information on the domain, and the postmaster account.

Hit Submit, and get a 500 server error.

 

Bad thing is, there is NOTHING in the Apache error log. – if I hit F5 after the 500 error, I do get a couple undefined index errors, but I don’t think they are related.

 

Here’s the access log

10.10.222.76 - - [18/May/2017:19:26:15 -0400] "POST /exim4u/siteaddsubmit.php HTTP/1.1" 500 - "http://openhab.ecxx.com/exim4u/siteadd.php?type=local" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"

 

Errors if I hit F5…

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 22

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 25

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 32

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 35

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: domain in /home/exim4u/www/exim4u/siteaddsubmit.php on line 39

[Thu May 18 19:26:15 2017] [error] [client 10.10.222.76] PHP Notice:  Undefined index: type in /home/exim4u/www/exim4u/siteaddsubmit.php on line 40

 

 

I’m pretty decent with PHP, but I’m at a loss.  Display errors is not off, I don’t know what’s failing.

I’ve also looked at /var/log/messages, and see nothing there either.

 

Any help is appreciated.

 

Thanks

 



_______________________________________________
users mailing list
[hidden email]
https://exim4u.org/mailman/listinfo/users


_______________________________________________
users mailing list
[hidden email]
https://exim4u.org/mailman/listinfo/users