Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-28-2014, 02:13 PM
salalyusuf salalyusuf is offline
 
Join Date: Feb 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 06-28-2014, 02:22 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 06-28-2014, 03:07 PM
salalyusuf salalyusuf is offline
 
Join Date: Feb 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 06-28-2014, 03:15 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #5  
Old 06-28-2014, 03:16 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You did it like this right?

PHP Code:
<?php
define
('DISABLE_HOOKS'true);  

// Rest of the config.
Reply With Quote
  #6  
Old 06-28-2014, 03:29 PM
salalyusuf salalyusuf is offline
 
Join Date: Feb 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes i did and using notepad++

here is screen shot

Reply With Quote
  #7  
Old 06-28-2014, 03:37 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open it again in notepad++, then in the Encoding menu select "Convert to UTF-8 Without BOM" and save it.
Reply With Quote
Благодарность от:
Lynne
  #8  
Old 06-28-2014, 03:47 PM
salalyusuf salalyusuf is offline
 
Join Date: Feb 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
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
Reply With Quote
  #9  
Old 06-28-2014, 03:56 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 06-28-2014, 04:01 PM
salalyusuf salalyusuf is offline
 
Join Date: Feb 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very special thanks KH99

Will do the same as advised by you

you can lock the thread as issue solved
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:12 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04453 seconds
  • Memory Usage 2,249KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete