vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   PHP Error in 4.2.3 vB CMS Articles (https://vborg.vbsupport.ru/showthread.php?t=322347)

Cody.9791 04-11-2016 10:14 PM

PHP Error in 4.2.3 vB CMS Articles
 
I'm getting the following error when I'm trying to create Articles on my vBulletin 4.2.3 website with the vB CMS.

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

PHP Warning: Creating default object from empty value in ...vbcms\content\article.php on line 1250

I'm hosting with GoDaddy and my PHP Version is 5.4.

Does anybody know how I could fix this?

Lynne 04-11-2016 11:54 PM

And is anything in your error_logs (if you don't know where they are, ask your host)? And what happened on your site just prior to this error starting?

Cody.9791 04-12-2016 12:26 AM

Quote:

Originally Posted by Lynne (Post 2568793)
And is anything in your error_logs (if you don't know where they are, ask your host)? And what happened on your site just prior to this error starting?

My hosting said there wasn't anything showing in the error logs. This error has been there since the site was created. I'm just now getting around to setting up the articles. I put them on the back burner since I knew there was an error, but it's time to get it fixed. When I contacted hosting, they really didn't help with this issue..

Dave 04-12-2016 09:39 AM

PHP warnings usually don't cause internal server errors.

It's possible it's caused by a web-server misconfiguration or faulty .htaccess file?
Anything in the error logs of the web-server (so not the error logs of PHP).

Cody.9791 04-12-2016 11:57 AM

Quote:

Originally Posted by Dave (Post 2568803)
PHP warnings usually don't cause internal server errors.

It's possible it's caused by a web-server misconfiguration or faulty .htaccess file?
Anything in the error logs of the web-server (so not the error logs of PHP).

The site is running on a Windows Server. As far as I'm aware, .htaccess files cannot be used on Windows Servers.

Lynne 04-12-2016 03:43 PM

Can you turn off display errors on the server?

Paul M 04-12-2016 07:00 PM

Quote:

Originally Posted by Cody.9791 (Post 2568809)
The site is running on a Windows Server. As far as I'm aware, .htaccess files cannot be used on Windows Servers.

Thats only true if you are using IIS, if you run apache it uses them just the same.

Cody.9791 04-12-2016 08:29 PM

Quote:

Originally Posted by Lynne (Post 2568829)
Can you turn off display errors on the server?

How would I go about this? I'm not too familiar with PHP.

--------------- Added [DATE]1460500250[/DATE] at [TIME]1460500250[/TIME] ---------------

Quote:

Originally Posted by Paul M (Post 2568834)
Thats only true if you are using IIS, if you run apache it uses them just the same.

I am using IIS.

Cody.9791 04-14-2016 02:11 AM

I commented out line 1250. I no longer get the error, just when I create articles, it doesn't redirect me back to the main article page automatically.

Budget101 04-14-2016 10:09 AM

This is a recurring issue for many: http://www.vbulletin.com/forum/forum...in-new-article

Here's the Link that they suggest to avoid the errors:
http://www.vbulletin.com/forum/forum...-been-released


All times are GMT. The time now is 02:17 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.01144 seconds
  • Memory Usage 1,735KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete