Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 01-07-2021, 04:32 AM
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Migrate from vb4 to 5. Now have 'blank' screen

Hey guys,
I've successfully migrated a site from vb4 to vb5 after a years consideration.

All went well, and it's been working fine all day. I've started to play around with the widgets (?)/blocks on the right hand side. All looks good.

I then went and changed a block/widget (from memory, all I selected was 'hide user icons', but now when I go to the site, I just get a blank page!

Anybody got any suggestions? I can go to the admin URL fine, and change settings etc, but not sure how to 'resolve/revert' back what I've done.

Any help REALLY appreciated.

Sorry, missed the site name: http://www.ozbmw.com
Reply With Quote
  #2  
Old 01-07-2021, 04:48 AM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello jnrdavo
Please try to deactivate it by file.

core/includes/config.php

In order to do this,
Open your config.php file and add the following code directly below it in <?php

PHP Code:
define('DISABLE_HOOKS'true); 
This is how it looks:
PHP Code:
<?php
define
('DISABLE_HOOKS'true);
If the same problem persists, I recommend trying the update again. There may have been a defect in the previous update.
Reply With Quote
Благодарность от:
socialteenz
  #3  
Old 01-07-2021, 07:24 PM
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the quick reply.

Same issue, I just get blank. It does go to correct URL though..
http://www.ozbmw.com/forums/index.php

I'll try the upgrade again..

--------------- Added [DATE]1610055126[/DATE] at [TIME]1610055126[/TIME] ---------------

Same issue unfortunately after upgrade.

Strange however, I can go to specific pages..

http://www.ozbmw.com/forums/forum/oz.../bmw-s-spotted

http://www.ozbmw.com/forums/forum/oz...tala-yesterday

It's just the 'front page' that is stuffed. Any way to 'revert' that? I'm sure it's one of the 'blocks' on the right hand side that is causing it..

Can these be 'removed' via SQL (I have full access to the server and a 'bit' of experience in sql).
Reply With Quote
  #4  
Old 01-07-2021, 08:36 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It can be done through SQL.
Enter phpMyAdmine.
Browse the FROM widgetinstance table.

First, download a backup of the widgetinstanceid table to your computer as sql.

Click on widgetinstanceid and the most recently added widget comes first.
Remove the recently added widget from there.

Reply With Quote
  #5  
Old 01-07-2021, 09:22 PM
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I can see what I've done now. I've somehow created a 'search' widget... it would have not been able to load due to too much content..

So, once I remove all the widgets, the site works. So I then started one by one to remove them, and it started to work (I would have another browser open and CTRL-F5 to refresh).. BUT, what seems to be happening is that the widgetinstance table keeps on 'self growing'.... obvioulsly to do with me having the search widget... Now just need to work out which one it is !
Attached Images
File Type: png search error.png (42.9 KB, 0 views)
Reply With Quote
  #6  
Old 01-07-2021, 09:30 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The search widget result limit is too high.

Enter the widget to edit, limit the result limit.
Example type 10
Reply With Quote
  #7  
Old 01-07-2021, 09:35 PM
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would If I could get in to it :-)

All I've got is the ability to edit SQL at the moment. I can't work out which one to edit to 'remove' it..

If I remove all of them (or leave a few), it still seems to 'grow' the table..
Attached Images
File Type: jpg widget instance.jpg (96.8 KB, 0 views)
Reply With Quote
  #8  
Old 01-07-2021, 09:44 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SearchTitle widgetinstanceid is the one with 7
Reply With Quote
  #9  
Old 01-07-2021, 09:54 PM
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Firstly, I really appreciate your help yilmaz (I've done a donate!).

I tried to delete 7, but I still can't see the home page. I'm confused as to which widgets to leave, and which ones to delete. I've tried to get it right, but then I end up with nothing on the screen, so stuffing it up completely (and I just do a restore and try again!)

--------------- Added [DATE]1610064215[/DATE] at [TIME]1610064215[/TIME] ---------------

Ok, so I've got the site back and running.

I ran a search in widgetsinstance for "%searchJSON%" and removed those. Now I can actually see the site again!

I've still got a lot of entries in the table that I don't think I need/belong there.

You don't have any idea of what the defaults are do you?
Reply With Quote
Благодарность от:
socialteenz
  #10  
Old 01-07-2021, 10:14 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You make the settings from sitebuilder.
The widget is updated to the SQL table with the correct settings
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:58 PM.


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.10949 seconds
  • Memory Usage 2,280KB
  • Queries Executed 12 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete