vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   Migrate from vb4 to 5. Now have 'blank' screen (https://vborg.vbsupport.ru/showthread.php?t=328494)

jnrdavo 01-07-2021 04:32 AM

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

yilmaz 01-07-2021 04:48 AM

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.

jnrdavo 01-07-2021 07:24 PM

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

yilmaz 01-07-2021 08:36 PM

1 Attachment(s)
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.

https://vborg.vbsupport.ru/attachmen...1&d=1610058813

jnrdavo 01-07-2021 09:22 PM

1 Attachment(s)
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 !

yilmaz 01-07-2021 09:30 PM

The search widget result limit is too high.

Enter the widget to edit, limit the result limit.
Example type 10

jnrdavo 01-07-2021 09:35 PM

1 Attachment(s)
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..

yilmaz 01-07-2021 09:44 PM

SearchTitle widgetinstanceid is the one with 7

jnrdavo 01-07-2021 09:54 PM

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?

yilmaz 01-07-2021 10:14 PM

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


All times are GMT. The time now is 04:49 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.01753 seconds
  • Memory Usage 1,739KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete