vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Help for Config.php (https://vborg.vbsupport.ru/showthread.php?t=312517)

salalyusuf 06-28-2014 02:13 PM

Help for Config.php
 
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.

Dave 06-28-2014 02:22 PM

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:
PHP Code:

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 [DATE]1403971719[/DATE] at [TIME]1403971719[/TIME] ---------------

Unable to add cookies, header already sent.
File: /home/******/public_html/includes/config.php
Line: 1

kh99 06-28-2014 03:15 PM

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).

Dave 06-28-2014 03:16 PM

You did it like this right?

PHP Code:

<?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

kh99 06-28-2014 03:37 PM

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

Quote:

Originally Posted by kh99 (Post 2504281)
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 [DATE]1403974261[/DATE] at [TIME]1403974261[/TIME] ---------------

Now what you suggest , what to do

kh99 06-28-2014 03:56 PM

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


All times are GMT. The time now is 08:04 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.01063 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)bbcode_php_printable
  • (1)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