Recent posts

Pages1 2 3 ... 10
1
SMF Arcade Support + Plugins / Re: File failed to load: 0 byt...
Last post by Chen Zhen - May 07, 2020, 04:29:06 pm

Also 755 permission setting is very important rather than 777.
For it to work correctly you need the proper ownership set on the forum directory in the first place.
Your forum directory should be set to apache ownership.
The command to set that will depend on your Distro.
Although if you have a control panel such as Plesk or CPanel, there should be an option to set that or fix ownership & permissions.

2
SMF Arcade Support + Plugins / Re: File failed to load: 0 byt...
Last post by Chen Zhen - May 07, 2020, 04:16:58 pm

The Arcade utility you referenced in #1 creates the .htaccess file for you.
In your case you you click on the Apache option & press save.
It puts the .htaccess file in the Games directory.
If you think the .htaccess file it creates is causing the problem then you can use the delete option to remove it.
Again, this only concerns a .htaccess file located in your Games directory.


Try what Skhilled suggests regarding permissions and ownership.
Something is awry with your settings if it is not letting website PHP files access folders or adjust permissions.
Although the line you referenced checks if it's writable to begin with.
3
SMF Arcade Support + Plugins / Re: File failed to load: 0 byt...
Last post by Skhilled - May 06, 2020, 09:46:20 am
@grandseb59, Try setting your directories to 755 and files to 644 and see if that works. If not, you may need to ask your hosting to check ownership of the directories and files (chown). If you are on a VPS or dedicated server then you should be able to fix it yourself.

To change ownership (chown) run the following two lines of code in SSH. Replace "username" with your hosting name:

cd /home/username

chown -R username:username public_html

To change permissions (chmod) run these two lines of code in SSH:

find . -type d -print0 | xargs -0 chmod 0755 # For directories

find . -type f -print0 | xargs -0 chmod 0644 # For files

Or change the numbers to whatever your server is supposed to be.
4
Hello,
sometimes pictures speak better than words.
Here are some screens.

First of all, what you told me to do--
create an htaccess under apache after I did:
Delete: Remove any configuration files located in the directory.



But there are two problems:
1: You recommend installing the Mod Header.
What is it? and does it self-install when you install the arcade mod?
And if not, where to get it?

2: we created an htaccess file, but where should it be? I can't find it anywhere?

Then the error that always appears the same...



then proof that the chmod in the games folder is 777.



And the error log.




5
SMF Arcade Support + Plugins / Re: File failed to load: 0 byt...
Last post by Chen Zhen - May 04, 2020, 08:11:23 pm

Try using Arcade maintenance from your admin section for creating a .htaccess file for X-Frame same origin.
Select the Apache option and save the setting.

If this does not work it is possible that you previously created the file & it is causing problems.
If this is the case you can use the option on that page to remove the file.
6
Sorry to answer so late
.
Actually, with beta 11, I can't load games anymore.

I am told that my "Games" folder is not writable and the CHMOD has failed. Please make it manually writable.

While I put everything in 777 with the recursion of subfolders and apply to all folders and files.
7
SMF Arcade Support + Plugins / Re: File failed to load: 0 byt...
Last post by Chen Zhen - April 30, 2020, 08:29:32 pm

Does the beta release allow you to install games now?
8
SMF Arcade Support + Plugins / Re: File failed to load: 0 byt...
Last post by aquarius - April 26, 2020, 11:05:56 pm
Thanks
9
SMF Arcade Support + Plugins / Re: Responsive HTML5 Game Widt...
Last post by aquarius - April 26, 2020, 11:05:23 pm
Quote from: Chen Zhen on April 26, 2020, 07:19:11 pmYou can use the beta version that I attached to another post in this board if you wish to do that.
I will leave it available for a few days & then remove the file.

Great, I'll give it a go
10
SMF Arcade Support + Plugins / Re: Responsive HTML5 Game Widt...
Last post by Chen Zhen - April 26, 2020, 07:19:11 pm

You can use the beta version that I attached to another post in this board if you wish to do that.
I will leave it available for a few days & then remove the file.
Pages1 2 3 ... 10