View Full Version : Help for Config.php
salalyusuf
06-28-2014, 02:13 PM
Dear Friends
If some one can guide me,
www.urdudesigner.com is my VB forum, while updating the Dragonbyte gallery mod, something got wrong and now its all blank.
Please check the link and of forum and advise.
Simply uninstall or disable the mod.
In case you can not access your admincp, do the following:
Modify the includes/config.php file and add the following right after the <?php tag:
define('DISABLE_HOOKS', true);
Then login into your admincp and disable the mod.
salalyusuf
06-28-2014, 03:07 PM
i did but nothing screen still blank
--------------- Added 1403971719 at 1403971719 ---------------
Unable to add cookies, header already sent.
File: /home/******/public_html/includes/config.php
Line: 1
You need to make sure that <?php is the first thing in the file (first line, no spaces before it).
If it looks like it is, then the problem might be the editor you used to make the changes. Word processing editors will sometimes insert some characters at the beginning of the file. You should use a programming editor, such as notepad++ (which you can download for free).
You did it like this right?
<?php
define('DISABLE_HOOKS', true);
// Rest of the config.
salalyusuf
06-28-2014, 03:29 PM
yes i did and using notepad++
here is screen shot
https://vborg.vbsupport.ru/external/2014/06/3.jpg
Open it again in notepad++, then in the Encoding menu select "Convert to UTF-8 Without BOM" and save it.
salalyusuf
06-28-2014, 03:47 PM
Open it again in notepad++, then in the Encoding menu select "Convert to UTF-8 Without BOM" and save it.
Thanks GOD
it works and now the forum is open, let me fix the plugins now
Bundle of thanks really
--------------- Added 1403974261 at 1403974261 ---------------
Now what you suggest , what to do
Well, you could disable the gallery mod then remove the line you added to config.php if you have other mods that you want to enable. Then ask for support in the gallery mod thread or on the Dragonbyte web site. The only thing I could suggest would be to uninstall the gallery mod and start over, but you may lose data if you do that.
salalyusuf
06-28-2014, 04:01 PM
Very special thanks KH99
Will do the same as advised by you
you can lock the thread as issue solved
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.