vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - ibProArcade - professional Arcade System (https://vborg.vbsupport.ru/showthread.php?t=101554)

Coder2016 06-06-2017 08:50 AM

Quote:

Originally Posted by Sicilian (Post 2587225)
Few weeks ago upgraded to vbulletin 4.2.4, now getting error below.

PHP Warning: Illegal string offset 'type' in ..../includes/class_postbit.php(345) : eval()'d code on line 110

Updated arcade from 2.7.2 to 2.7.3, still have the error. Any ideas anyone please?

This error shows where we have members who've won awards in the thread. Postbit and Postbit legacy have the relevant template edits.

If i disable Arcade error goes away.

Hello,

Unfortunately, I have the same error. How can I fix this? Thanks in advance.

dan325ci 06-06-2017 12:51 PM

Quote:

Originally Posted by MarkFL (Post 2587306)
The changes made to those files are in addition to, not instead of, the earlier changes. I just thought I would go ahead and look at all the scripts in the "arcade/modules" folder and rewrite the class constructors in them. :)


Mark were those including the changes only referenced by you? or the other ones mentioned after your replies.

MarkFL 06-06-2017 12:55 PM

It seems we all have differing issues, and the changes I have posted is what has worked for me. :)

BGObsession 06-11-2017 03:25 PM

1 Attachment(s)
MarkFL has been graciously assisting me in getting my Arcade back up after I upgraded from 4.2.1 to 4.2.5 and also took my php from 5.4 to 7.1. With Mark's help we were able to at least get the Arcade to show up and the games work, but as you can see from the attached images, the template/display is ALL jacked up! It appears to me as if the page is trying to access details such as individual game info but can't find it, so it's putting the '%' symbols in as placeholders, but that's just a guess. I'm not a coder, just have some basic knowledge but have no idea how to correct the display. I'm going to continue to take advantage of Mark's generosity but if anyone else has ideas to help us they would be welcomed! And btw, vB.org is an awesome place full of awesome people :cheers:

MarkFL 06-11-2017 03:44 PM

Try running the following manual SQL query:

Code:

SELECT * FROM `games_scores`
Do you see percent signs in the table data?

BGObsession 06-11-2017 03:59 PM

Do you mean run it from the 'execute SQL query' function in vBulletin admincp? It tells me I don't have permission to do one. I tried to do it from within myphpadmin but got this error message:

Error
SQL query: Documentation

SELECT
*
FROM
'game scores' LIMIT 0, 25
MySQL said: Documentation

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''game scores' LIMIT 0, 25' at line 4

MarkFL 06-11-2017 04:04 PM

In order to run manual SQL queries from within the AdminCP, you need to edit your "includes/config.php" file to add your userid to the list of users permitted to run such queries.

Look for this section in the file:

PHP Code:

/* #### USERS WITH QUERY RUNNING PERMISSIONS  ####
The users specified here will be allowed to run queries from the control panel.
See the above entries for more information on the format.
Please note that the ability to run queries is quite powerful. You may wish
to remove all user IDs from this list for security reasons. */
$config['SpecialUsers']['canrunqueries'] = ''

Add your userid to the last line. Suppose your userid is 1, then you would want:

PHP Code:

/* #### USERS WITH QUERY RUNNING PERMISSIONS  ####
The users specified here will be allowed to run queries from the control panel.
See the above entries for more information on the format.
Please note that the ability to run queries is quite powerful. You may wish
to remove all user IDs from this list for security reasons. */
$config['SpecialUsers']['canrunqueries'] = '1'


BGObsession 06-11-2017 04:11 PM

I gave myself permissions, but the scores show up normally Mark, no '%' signs :)

MarkFL 06-11-2017 04:23 PM

Based on the install code, here is the list of all the other tables created by this product:
  • games_settings
  • games_savedGames
  • games_league
  • games_list
  • games_settings
  • games_cats
  • tournament_players
  • tournaments
  • games_champs
  • badwords
  • macro
  • tournament_players_statut
  • games_session

Check those tables too for percent signs. :)

BGObsession 06-11-2017 04:39 PM

Didn't see any '%' signs. Only thing of note was that there were zero results for 'games_savedGames' (and a few others like tournament info)


All times are GMT. The time now is 03:47 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.08776 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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