Daily Lucky Numbers:
6
17
22
31
41
44

Recent posts

#21
SMF Arcade Support + Plugins / Problem Saving Score - Clumsy ...
Last post by phum - January 14, 2023, 09:55:52 AM
I started a new topic because I think this is a larger issue my with config than just the one game - Clumsy Bird.  I see this error in the console when trying to save a game in Clumsy Bird:

gameoversave.js:3
    Uncaught TypeError: Cannot read properties of null (reading 'innerHTML')
    at saveGameSmf (gameoversave.js:3:61)
    at d.onResetEvent (clumsy-min.js:1:11000)
    at d.reset (melonJS-min.js:16:10724)
    at Object.f (melonJS-min.js:16:11650)

Interestingly, Pac Man does not seem to have any issues saving scores. 
Any ideas? 

I did confirm that it created an .htaccess file in the Games directory (code below):

#<!-- Apache File Created by SMF Arcade 2.6.9.4 -->
<IfModule mod_headers.c>
    <FilesMatch "\.(html)$">
        Header always set X-Frame-Options SAMEORIGIN
    </FilesMatch>
</IfModule>
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} arcade_score\.php
    RewriteRule ./* ../arcade/arcade_score.php?act=arcade&scoreprep=prepscore
    RewriteCond %{REQUEST_URI} highscore=1
    RewriteRule ./* ../arcade/arcade_score.php?scoreprep=1&gameid=45&highscore=1
    RewriteCond %{QUERY_STRING} ^act=Arcade&do=(.*)$
    RewriteRule ./* ../index.php?act=Arcade&do=newscore
</IfModule>
<IfModule mod_security.c>
    <FilesMatch ".(zip|tar|rar|gz)$">
        SecFilterEngine Off
        SecFilterScanPOST Off
    </FilesMatch>
</IfModule>
<Files ^(*.jpeg|*.jpg|*.png|*.gif|*.tiff|*.bmp|*.php|*.html)>
    Order Deny,Allow
    Deny from all
    Allow from localhost
</Files>
AddCharset UTF-8 .php
AddCharset UTF-8 .html
AddCharset UTF-8 .htm
AddCharset UTF-8 .js
RemoveHandler .php3 .phtml .cgi .fcgi .pl .fpl .shtml
#22
SMF Arcade Support + Plugins / Re: Users blocking popups
Last post by phum - January 14, 2023, 09:05:17 AM
So I was able to find the popup blocker setting and turned it off but it still is not submitting a score.  Maybe this is not a popup issue.  Does anyone know if popups are required in order to submit scores for any games?
#23
SMF Arcade Support + Plugins / Users blocking popups - Is thi...
Last post by phum - January 13, 2023, 02:18:23 PM
This may be a dumb question, but we just started playing around with the arcade in SMF and we had a few users who at some point answered "No" to the typical browser popup that asks if the site can send messages or whatever that message is.  Problem is that some games like Clumsy Bird require this little popup in order to submit a score.  Without that popup, it seems to just lock up or do nothing.

I've been looking through browser settings and I can find a place to have the user go back and enable it again.  Can someone point me in the right direction?

Thanks!
#24
EhPortal Support / Re: sp_profiles missing
Last post by Chen Zhen - January 12, 2023, 05:51:05 PM

My apologies for the late response as I've been rather busy this week.

You shouldn't have to run the SMF upgrade after a messed up EhPortal installation.
All you have to do is delete the package from your packages page, download & install the EhPortal removal package (if it shows errors it's ok - ignore them) & then delete it.

I think the problem may be the creation/update of the sp_parameters table indexes.

Try the attachment & let me know if it works afterward.


#25
EhPortal Support / Re: sp_profiles missing
Last post by grandseb59 - January 09, 2023, 02:55:00 PM
hello,
just before the installation no error is displayed.
after clicking on "install".

first error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.****_1' at line 3
Fichier: /home/****/*******.net/Packages/temp/smf2.1/install.php
Ligne: 571

and second:
then when I try to click back to return to my forum, a blank page appears with this error.

Table '********.smf_sp_profiles' doesn't exist
Fichier: /home/*****/*******.net/Sources/PortalHooks.php
Ligne: 52

and that makes me crash the forum
forced to re-inject the large upgrade.

ps:I don't know if this is important but I have the lunarfall theme.

https://prnt.sc/Q_MbSqmqpzkk

https://prnt.sc/4yxCD0FRSUK1

https://prnt.sc/mP1ZM6AIgz9O

https://prnt.sc/ZGGx0P-_ZNTg

https://prnt.sc/vxj9rn1HcZcA
#26
EhPortal Support / Re: sp_profiles missing
Last post by Chen Zhen - January 08, 2023, 07:27:11 PM

Uninstall your current version of EhPortal & then install the attachment.
Please let me know if the issue is resolved.
#27
SMF Arcade Support + Plugins / Re: Loading HTML5 Games Help
Last post by Chen Zhen - January 08, 2023, 07:10:48 PM

At least 3 of those games appear to be here in the arcade for download.
#28
SMF Arcade Support + Plugins / Re: smf: errors in adminlog
Last post by Chen Zhen - January 08, 2023, 06:53:03 PM

Are you able to test a fix for me?

Download the attachment and use it to replace the same file in the ../ArcadeSources path.
Let me know if the problem is resolved.
#29
SMF Arcade Support + Plugins / smf: errors in adminlog
Last post by AllMassive - January 07, 2023, 01:20:37 PM
using latest arcade and get the following errors when arcade is installed:
2: is_dir(): open_basedir restriction in effect. File(/var/www/clients/client1/web1/) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/private:/var/www/clients/client1/web1/tmp:/var/www/forum/web:/srv/www/forum/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom)

2: is_dir(): open_basedir restriction in effect. File(/var/www/clients/client1/) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/private:/var/www/clients/client1/web1/tmp:/var/www/forum/web:/srv/www/forum/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom)

2: is_dir(): open_basedir restriction in effect. File(/var/www/clients/) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/private:/var/www/clients/client1/web1/tmp:/var/www/forum/web:/srv/www/forum/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom)

2: is_dir(): open_basedir restriction in effect. File(/var/www/) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/private:/var/www/clients/client1/web1/tmp:/var/www/forum/web:/srv/www/forum/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom)

2: is_dir(): open_basedir restriction in effect. File(/var/) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/private:/var/www/clients/client1/web1/tmp:/var/www/forum/web:/srv/www/forum/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom)

/client1/web1/web/ArcadeSources/Subs-ArcadeAdmin.php (Line 3888)
=> if (!is_dir($directory_path))
#30
EhPortal Support / sp_profiles missing
Last post by grandseb59 - January 06, 2023, 01:41:12 PM
hello,
after a large upgrade from 2.0.19 to 2.1.3

when i wanted to install ehportal i got an sql error telling me that it couldn't find the "sp_profiles" table, but neither simple portal has it and ehportal didn't create it.

If it has to be created what data should be put in it?
and what error to correct in portalhook? or maybe by creating the table the error will disappear?

Table '***********.smf_sp_profiles' does not exist
File: /home/h****c/********.net/Sources/PortalHooks.php
Line: 52