View Full Version : forum.php
MahdyE23
08-07-2014, 07:19 PM
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, 07: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
define('DISABLE_HOOKS', true);To enable plugins again just comment out the line
//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, 08:12 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
define('DISABLE_HOOKS', true);To enable plugins again just comment out the line
//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?
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, 10:21 PM
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, 10: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-08-2014, 12:17 AM
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
Paul M
08-08-2014, 11:40 AM
If a php file is downloading instead of running, then the server isn't configured correctly. You should contact the hosting company.
This.
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, 05:06 AM
I believe so. There is misconfiguration on the server side as it did happen to me on my VPS long time ago.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.