Advertisement:

Author Topic: SMF Arcade  (Read 1660478 times)

Offline addlife

  • Semi-Newbie
  • *
  • Posts: 52
Re: SMF Arcade
« Reply #5200 on: April 12, 2019, 05:59:08 PM »
I had a problem after installing version 2.56.12 from web-develop.ca

When clicking on the arcade admin settings to edit games, manage installations, and manage uploads it gives me this error

"Too few arguments to function mb_substr(), 2 passed in /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php on line 2244 and exactly 3 expected"

Chen zen answered me on his forum that I had to enable the mbstring extension

How to Enable mbstring in cPanel

1) Login to cPanel.

2) Go to the section 'Software'.

3) Click the icon 'Select PHP Version'

4) Select the php extension 'mbstring'.

5) Click the button 'Save'.



Although now when I upload a game pack and install it through the admin section the games don't show up. I downloaded the smf gamepacks from invision. I tried 2 different gamepacks and the same thing happens. After installing it just disappears from all lists in the admin section and doesn't either show up on the arcade page either.

Although in cpanel I can see it in the games folder.

I'm getting two errors in error log

Code: [Select]
http://001002.xyz/index.php?action=admin;area=managegames;sa=main;dda83f97bf6=76902c6ab5738584641c10b8fab50d79

8: Undefined variable: allDirs

File: /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php
Line: 2656

and

Code: [Select]
http://001002.xyz/index.php?action=admin;area=managegames;sa=main;dda83f97bf6=76902c6ab5738584641c10b8fab50d79

2: in_array() expects parameter 2 to be array, null given

File: /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php
Line: 2656

Hopefully he'll see my question here like last time :)

Offline davejo

  • Jr. Member
  • **
  • Posts: 313
    • Dave's Hobby Workshop
Re: SMF Arcade
« Reply #5201 on: April 14, 2019, 03:54:45 AM »
Although in cpanel I can see it in the games folder.

I'm getting two errors in error log

Code: [Select]
http://001002.xyz/index.php?action=admin;area=managegames;sa=main;dda83f97bf6=76902c6ab5738584641c10b8fab50d79

8: Undefined variable: allDirs

File: /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php
Line: 2656

and

Code: [Select]
http://001002.xyz/index.php?action=admin;area=managegames;sa=main;dda83f97bf6=76902c6ab5738584641c10b8fab50d79

2: in_array() expects parameter 2 to be array, null given

File: /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php
Line: 2656

Hopefully he'll see my question here like last time :)

I'm getting the same error on my fresh install test site.

I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

I have to say though that this is the only error I get and I have installed and edited a lot of games that I have. So a great piece of work to get it up and running n 2.1.

My errors below
If you want 'Quiz' questions Click here
Quiz Test Site Link

Offline hipp0

  • Newbie
  • *
  • Posts: 7
Re: SMF Arcade
« Reply #5202 on: April 14, 2019, 09:32:54 AM »
Im using SMF 2.015 and I can install Arcade fine. But none of the games will display once I goto play them. Is there a way to fix this ?

Offline addlife

  • Semi-Newbie
  • *
  • Posts: 52
Re: SMF Arcade
« Reply #5203 on: April 14, 2019, 04:34:45 PM »

I'm getting the same error on my fresh install test site.

I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

I have to say though that this is the only error I get and I have installed and edited a lot of games that I have. So a great piece of work to get it up and running n 2.1.

My errors below
You got my errors or the ones you posted? Is the arcade working?

Maybe try out the most recent file subs-arcadeadmin that Chen zen posted here
https://web-develop.ca/index.php?topic=413.0

Im using SMF 2.015 and I can install Arcade fine. But none of the games will display once I goto play them. Is there a way to fix this ?
Did you install the games successfully through the admins mange games setting?

Offline davejo

  • Jr. Member
  • **
  • Posts: 313
    • Dave's Hobby Workshop
Re: SMF Arcade
« Reply #5204 on: April 15, 2019, 03:16:49 AM »


I'm getting the same error on my fresh install test site.

I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

I have to say though that this is the only error I get and I have installed and edited a lot of games that I have. So a great piece of work to get it up and running n 2.1.

My errors below
You got my errors or the ones you posted? Is the arcade working?

No sorry I got the ones I posted, I believe I saw a post with someone else who had the same issue as me I must have mistaken that for your post

Maybe try out the most recent file subs-arcadeadmin that Chen zen posted here
https://web-develop.ca/index.php?topic=413.0

Im using SMF 2.015 and I can install Arcade fine. But none of the games will display once I goto play them. Is there a way to fix this ?
Did you install the games successfully through the admins mange games
Yes they installed and played ok but there are other settings within the games that also might need to be adjusted. As I have previous experience of this I knew what to look for. If you didn't know this follow the following

Go to 'Edit Games' then click on the name of the game you want to edit, once there click on advance at the bottom of that page, you will see a drop box which tells you the compatability mode for the game, most of  the time they should be on either IBParcade or IBP Arcade v3 or 3.2 its very rare that they anything else, so if yiurs are in Custom or similar that is possibly the reason.

It might also be that the game-data pack was not loaded, most games come with a folder within the game folder.
If you want 'Quiz' questions Click here
Quiz Test Site Link

Offline Chen Zhen

  • Sophist Member
  • *****
  • Posts: 1,181
  • Gender: Male
  • If you're going through hell, keep going!
    • Underdog-01 on GitHub
    • WebDev.ca
Re: SMF Arcade
« Reply #5205 on: April 15, 2019, 06:34:38 PM »
I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

My site shows that you registered but have yet to confirm your email address.
This is required before the site will accept your registration.

My SMF Mods & Plug-Ins

WebDev
Simple Portal Support

Request politely & demand nothing.

Offline davejo

  • Jr. Member
  • **
  • Posts: 313
    • Dave's Hobby Workshop
Re: SMF Arcade
« Reply #5206 on: April 16, 2019, 02:26:38 AM »
I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

My site shows that you registered but have yet to confirm your email address.
This is required before the site will accept your registration.

Hi Chen still waiting for the email. The only thing might be if I did my email wrong. I will PM you with what it should be.
If you want 'Quiz' questions Click here
Quiz Test Site Link