vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   HTTP 500 - Internal Server Error While posting Link (https://vborg.vbsupport.ru/showthread.php?t=312715)

devoidfeast 07-06-2014 03:05 AM

HTTP 500 - Internal Server Error While posting Link
 
1 Attachment(s)
Hello Fellows,
When i try to post a new link i get "HTTP 500 - Internal Server Error" as shown in the image below
Attachment 149624

Here is the Apache error log

"[Sun Jul 06 02:16:09 2014] [warn] Cannot get media type from 'x-httpd-php'
[Sun Jul 06 02:58:10 2014] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Class 'DOMDocument' not found in /var/www/forum/core/vb/api/content/link.php on line 120, referer: http://mydomain.com/new-content/19
[Sun Jul 06 02:58:17 2014] [warn] Cannot get media type from 'x-httpd-php'
[Sun Jul 06 02:58:23 2014] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Class 'DOMDocument' not found in /var/www/forum/core/vb/api/content/link.php on line 120, referer: http://mydomain.com/new-content/19"

If i post a thread with out a link it works perfect.but whenever i include a link it causes a problem.
I removed the .htaccess file and renamed the htaccess.txt file but it still through me the same error.there is no mod_rewrite issue it is enabled.
How can i resolve this issue.
Thank you

Dave 07-06-2014 07:48 AM

You are missing the DOM extension in your PHP installation.
Depending on your Linux distro, you either use sudo apt-get install php5-dom OR yum install php-xml to install the DOM extension.

devoidfeast 07-06-2014 02:35 PM

I reinstalled bulletin again and the error went away.

ozzy47 07-06-2014 02:40 PM

Thanks for reporting back, that you solved it. :)


All times are GMT. The time now is 03:33 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.01082 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete