Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-22-2016, 10:43 PM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default HTTP 500 error when trying to create new thread

Moved to a new VPS.
Everything else seems to be working fine. Whenever I try to post a new thread, it gives HTTP error 500 on Chrome. On Firefox, it just displays a blank (white) page.

On Chrome, the error is:
The website.com page isn't working
website.com is currently unable to handle this request.
HTTP ERROR 500

When I try to reply to a thread from 'Go Advanced' option. Same error. However, the 'quick reply' option is working.

The host says they cannot help with this (can't diagnose the problem) as this is not covered by the support. Until I can tell them what exactly is wrong in the VPS.

What is causing this? And how to fix this?
Reply With Quote
  #2  
Old 11-22-2016, 11:19 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Take a look at the PHP or Apache/nginx error logs (somewhere in /var/logs on the server), that will tell you exactly why it's causing the 500 internal server error.
Reply With Quote
  #3  
Old 11-22-2016, 11:29 PM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Take a look at the PHP or Apache/nginx error logs (somewhere in /var/logs on the server), that will tell you exactly why it's causing the 500 internal server error.
Thank you. Can you tell me in a little bit more detail what exactly I should be looking for in the logs directory?
Reply With Quote
  #4  
Old 11-22-2016, 11:34 PM
DivisionByZero's Avatar
DivisionByZero DivisionByZero is offline
 
Join Date: Dec 2002
Location: South Bend, Indiana
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the reason text of the error.
Reply With Quote
  #5  
Old 11-22-2016, 11:40 PM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Take a look at the PHP or Apache/nginx error logs (somewhere in /var/logs on the server), that will tell you exactly why it's causing the 500 internal server error.
Found two error log files in /var/log/httpd.
No file that contains the word 'error' found in /var/log/

The two files found in /var/log/httpd are named "error_log" and "error_log-20161121". I downloaded them. Changed the extension to .txt so I could open them. They have the following text in them.

error_log file:
Code:
[Mon Nov 21 04:02:01 2016] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 21 04:02:01 2016] [notice] Digest: done
[Mon Nov 21 04:02:01 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Mon Nov 21 20:26:13 2016] [error] [client 94.102.49.xxx] File does not exist: /etc/zpanel/panel/sitemap.xml
[Tue Nov 22 17:59:27 2016] [error] [client 191.96.249.xxx] File does not exist: /etc/zpanel/panel/phpmyadmin
error_log-20161121 file:
Code:
[Tue Aug 05 22:12:27 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Aug 05 22:12:27 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 05 22:12:27 2014] [notice] Digest: done
[Tue Aug 05 22:12:27 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Tue Aug 05 22:16:21 2014] [error] [client 37.58.100.146] File does not exist: /var/www/html/calendar
[Tue Aug 05 22:18:44 2014] [notice] caught SIGTERM, shutting down
[Tue Aug 05 22:18:44 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Aug 05 22:18:44 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 05 22:18:44 2014] [notice] Digest: done
[Tue Aug 05 22:18:44 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Tue Aug 05 22:31:39 2014] [error] [client 37.58.100.91] File does not exist: /var/www/html/featured-events
[Tue Aug 05 22:35:10 2014] [error] [client 37.58.100.135] File does not exist: /var/www/html/schedule
[Tue Aug 05 23:23:43 2014] [notice] caught SIGTERM, shutting down
[Tue Aug 05 23:23:50 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Aug 05 23:23:50 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 05 23:23:50 2014] [notice] Digest: done
[Tue Aug 05 23:23:50 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Tue Aug 05 23:32:52 2014] [notice] SIGHUP received.  Attempting to restart
[Tue Aug 05 23:32:52 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 05 23:32:52 2014] [notice] Digest: done
[Tue Aug 05 23:32:52 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Tue Aug 05 23:32:53 2014] [notice] caught SIGTERM, shutting down
[Tue Aug 05 23:32:53 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Aug 05 23:32:53 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 05 23:32:53 2014] [notice] Digest: done
[Tue Aug 05 23:32:53 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Tue Aug 05 23:34:09 2014] [error] [client 37.58.100.75] File does not exist: /etc/zpanel/panel/photo-gallery
[Tue Aug 05 23:35:14 2014] [error] [client 37.58.100.234] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 00:35:46 2014] [error] [client 37.58.100.135] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 00:51:30 2014] [error] [client 37.58.100.148] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 01:02:52 2014] [error] [client 37.58.100.93] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 01:21:39 2014] [error] [client 37.58.100.135] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 01:51:38 2014] [error] [client 37.58.100.148] File does not exist: /etc/zpanel/panel/featured-events
[Wed Aug 06 02:02:59 2014] [error] [client 37.58.100.234] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 03:06:37 2014] [error] [client 37.58.100.75] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 03:44:43 2014] [error] [client 37.58.100.184] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 03:45:05 2014] [error] [client 37.58.100.234] File does not exist: /etc/zpanel/panel/secreteve
[Wed Aug 06 04:00:37 2014] [error] [client 37.58.100.132] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 04:05:22 2014] [error] [client 37.58.100.234] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 05:15:44 2014] [error] [client 37.58.100.142] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 05:32:39 2014] [error] [client 37.58.100.79] File does not exist: /etc/zpanel/panel/meters-2
[Wed Aug 06 05:35:53 2014] [error] [client 37.58.100.153] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 06:02:50 2014] [error] [client 37.58.100.234] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 07:13:50 2014] [error] [client 37.58.100.142] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 08:15:15 2014] [error] [client 37.58.100.93] File does not exist: /etc/zpanel/panel/home
[Wed Aug 06 08:34:15 2014] [error] [client 37.58.100.91] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 08:48:12 2014] [error] [client 37.58.100.142] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 09:44:14 2014] [error] [client 37.58.100.75] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 10:25:07 2014] [error] [client 37.58.100.75] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 10:39:50 2014] [error] [client 37.58.100.135] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 11:03:36 2014] [error] [client 37.58.100.234] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 11:55:04 2014] [error] [client 37.58.100.132] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 11:57:07 2014] [error] [client 37.58.100.184] File does not exist: /etc/zpanel/panel/home
[Wed Aug 06 15:13:10 2014] [error] [client 37.58.100.236] File does not exist: /etc/zpanel/panel/about
[Wed Aug 06 15:30:40 2014] [error] [client 37.58.100.236] File does not exist: /etc/zpanel/panel/meters
[Thu Aug 07 22:35:11 2014] [error] [client 195.2.240.103] File does not exist: /etc/zpanel/panel/calendar
[Thu Aug 07 23:03:43 2014] [error] [client 195.2.240.103] File does not exist: /etc/zpanel/panel/component
[Thu Aug 07 23:33:54 2014] [error] [client 82.221.109.194] File does not exist: /etc/zpanel/panel/api
[Fri Aug 08 17:40:31 2014] [error] [client 222.190.118.224] File does not exist: /etc/zpanel/panel/manager
[Fri Aug 08 20:53:24 2014] [notice] caught SIGTERM, shutting down
[Sun Nov 20 17:42:09 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov 20 17:42:09 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 17:42:09 2016] [notice] Digest: done
[Sun Nov 20 17:42:09 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 17:44:54 2016] [notice] caught SIGTERM, shutting down
[Sun Nov 20 17:44:54 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov 20 17:44:54 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 17:44:54 2016] [notice] Digest: done
[Sun Nov 20 17:44:54 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 18:40:10 2016] [error] [client 108.162.238.xxx] script '/etc/zpanel/panel/forumdisplay.php' not found or unable to stat
[Sun Nov 20 18:45:02 2016] [notice] SIGHUP received.  Attempting to restart
[Sun Nov 20 18:45:02 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 18:45:02 2016] [notice] Digest: done
[Sun Nov 20 18:45:02 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 18:50:01 2016] [notice] SIGHUP received.  Attempting to restart
[Sun Nov 20 18:50:01 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 18:50:01 2016] [notice] Digest: done
[Sun Nov 20 18:50:01 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 18:55:01 2016] [notice] SIGHUP received.  Attempting to restart
[Sun Nov 20 18:55:01 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 18:55:01 2016] [notice] Digest: done
[Sun Nov 20 18:55:01 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 19:10:01 2016] [notice] SIGHUP received.  Attempting to restart
[Sun Nov 20 19:10:01 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 19:10:01 2016] [notice] Digest: done
[Sun Nov 20 19:10:01 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 19:10:10 2016] [error] [client 108.162.238.xx] script '/etc/zpanel/panel/forumdisplay.php' not found or unable to stat
[Sun Nov 20 19:10:35 2016] [error] [client 162.158.167.xx] script '/etc/zpanel/panel/wp-login.php' not found or unable to stat
[Sun Nov 20 19:17:16 2016] [error] [client 162.158.51.xx] script '/etc/zpanel/panel/wp-login.php' not found or unable to stat
[Sun Nov 20 19:20:01 2016] [notice] SIGHUP received.  Attempting to restart
[Sun Nov 20 19:20:01 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 19:20:01 2016] [notice] Digest: done
[Sun Nov 20 19:20:01 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 20:22:02 2016] [error] [client 64.207.238.xxx] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in Unknown on line 0, referer: http://104.168.xxx.xxx/etc/apps/phpmyadmin/
[Sun Nov 20 23:49:12 2016] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Mon Nov 21 04:02:01 2016] [notice] SIGHUP received.  Attempting to restart
I purchased the server on November 20th 2016 so any errors dated before that can be ignored I guess. After looking at these logs, can you tell me what exactly is wrong so I can tell my host to fix it?

P.S. I crossed out some IPs as this is a public forum.
Reply With Quote
  #6  
Old 11-22-2016, 11:42 PM
DivisionByZero's Avatar
DivisionByZero DivisionByZero is offline
 
Join Date: Dec 2002
Location: South Bend, Indiana
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok so what's the timestamp closest to when you encountered the error?
Reply With Quote
  #7  
Old 11-22-2016, 11:51 PM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DivisionByZero View Post
ok so what's the timestamp closest to when you encountered the error?
I am not sure what time zone the server is using. But I encountered this error 10 minutes before I created this thread. So you can say I encountered this error at 12:30 PM Melbourne time. I really can't tell you what the closest time of the server would be. But I think you can assume that the server is in CST time zone as the host operates in CST time zone as well.
Reply With Quote
  #8  
Old 11-22-2016, 11:58 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you use some kind of control panel to manage your server? Maybe there's a PHP error log viewer somewhere.
The log files you pasted here don't really contain anything related to your error.
Reply With Quote
  #9  
Old 11-23-2016, 12:10 AM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Do you use some kind of control panel to manage your server? Maybe there's a PHP error log viewer somewhere.
The log files you pasted here don't really contain anything related to your error.
zPanel is used on the server.

I just created a new user account and tried creating a thread. This account is being able to create threads without any problem. But at the same time, the admin account is giving the error I mentioned. Seems like this error is exclusive to the admin account. Any ideas?
Reply With Quote
  #10  
Old 11-23-2016, 01:09 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Enable debug more and then try, see if any error is displayed.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04433 seconds
  • Memory Usage 2,272KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete