vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   forum.php (https://vborg.vbsupport.ru/showthread.php?t=313544)

MahdyE23 08-07-2014 06:19 PM

forum.php
 
I had to switch webhosting because my forums have been getting DDoSed. The new webhosting company did the installation of the new forums.

Now, when I go to any of my links, /forums/forum.php or when I go to ANYTHING, the file downloads rather than taking me to the directory URL link.

Why is it doing this? What is the error? I have searched all over for a fix to this error but I cannot find one. Someone please help?

ForceHSS 08-07-2014 06:41 PM

Disable plugins via config if this fixes the problem

To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 

To enable plugins again just comment out the line
PHP Code:

//define('DISABLE_HOOKS', true); 

if not leave plugins disable and upload the tools.php you will find this file in the do not upload folder of the vbulletin pack that you get from the members area

MahdyE23 08-07-2014 07:12 PM

Quote:

Originally Posted by ForceHSS (Post 2510259)
Disable plugins via config if this fixes the problem

To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 

To enable plugins again just comment out the line
PHP Code:

//define('DISABLE_HOOKS', true); 

if not leave plugins disable and upload the tools.php you will find this file in the do not upload folder of the vbulletin pack that you get from the members area

That code did not fix it, at all. Where would I upload the file?

kh99 08-07-2014 08:55 PM

If a php file is downloading instead of running, then the server isn't configured correctly. You should contact the hosting company.

MahdyE23 08-07-2014 09:21 PM

Quote:

Originally Posted by kh99 (Post 2510280)
If a php file is downloading instead of running, then the server isn't configured correctly. You should contact the hosting company.

What can this error be from, though? I do not want to reinstall my whole forums, reinstall vBulletin and lose everything I ever worked for.

ozzy47 08-07-2014 09:24 PM

Contact your host, and tell them what is going on, they have configured the server wrong.

Even it you were to start a whole new site, the same thing would happen.

ForceHSS 08-07-2014 11:17 PM

I had the same problem once after uploading all files mins the config.php and install folder and putting that line in the config it fixed the problem. But maybe it was just luck for me

kh99 08-08-2014 08:17 AM

nvm, question answered.

Paul M 08-08-2014 10:40 AM

Quote:

Originally Posted by kh99 (Post 2510280)
If a php file is downloading instead of running, then the server isn't configured correctly. You should contact the hosting company.

This.

Quote:

Originally Posted by MahdyE23 (Post 2510282)
What can this error be from, though? I do not want to reinstall my whole forums, reinstall vBulletin and lose everything I ever worked for.

I assume you have a copy of your database ?
Thats where "everything you ever worked for" lives.

The server isnt correctly set up to run php, once they fix that, you should be on your way.

fxdigi-cash 08-10-2014 04:06 AM

I believe so. There is misconfiguration on the server side as it did happen to me on my VPS long time ago.


All times are GMT. The time now is 05:37 AM.

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.01578 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete