Style for xbtit 2.5.4

  • 19 Replies
  • 940 Views
*

Offline tojoaijo

  • **
  • 37
  • +0/-0
Re: Style for xbtit 2.5.4
« Reply #15 on: November 13, 2017, 01:51:33 pm »
@King can you help me to make this work for xbtit 2.5.4: http://www.btiteam.org/index.php/topic,10376.msg133344.html#msg133344

I have just a white page after I build manually the hack, and I have this on log:
Quote
Stack trace:
#0 /var/www/html/blocks/categories_block.php(56): catnumber(NULL)
#1 /var/www/html/include/functions.php(1299): include('/var/www/html/b...')
#2 /var/www/html/include/blocks.php(41): get_block('Categories', 'justify', 'categories', false)
#3 /var/www/html/include/blocks.php(69): get_menu('l')
#4 /var/www/html/index.php(153): side_menu()
#5 {main}

Thank you

*

Offline King Cobra

  • XBTIT Maintainer / Developer
  • *****
  • 527
  • +0/-0
  • xbtitFM Administrator
Re: Style for xbtit 2.5.4
« Reply #16 on: November 15, 2017, 07:42:22 am »
all hacks that was made for xbtit 2.3.0 needs to be converted to mysqli that is why the block you are trying to use won't work
try this replace your block with this one

*

Offline tojoaijo

  • **
  • 37
  • +0/-0
Re: Style for xbtit 2.5.4
« Reply #17 on: November 15, 2017, 09:34:40 am »
I tried it and it does not show up, and I have this on php log:

Quote
[15-Nov-2017 11:29:07 Europe/Moscow] PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, array given in /var/www/html/blocks/categories_block.php on line 16
[15-Nov-2017 11:29:10 Europe/Moscow] PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, array given in /var/www/html/blocks/categories_block.php on line 16
[15-Nov-2017 11:29:19 Europe/Moscow] PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, array given in /var/www/html/blocks/categories_block.php on line 16

*

Offline King Cobra

  • XBTIT Maintainer / Developer
  • *****
  • 527
  • +0/-0
  • xbtitFM Administrator
Re: Style for xbtit 2.5.4
« Reply #18 on: November 15, 2017, 10:30:42 am »
try this

*

Offline tojoaijo

  • **
  • 37
  • +0/-0
Re: Style for xbtit 2.5.4
« Reply #19 on: November 15, 2017, 11:20:15 am »
many thanks @King, it's working :) :)

I will try to build a new style now

 


Powered by EzPortal