Daily Lucky Numbers:
7
14
24
31
34
41

Game Directory Not Writable

Started by PANIC, January 31, 2022, 09:02:33 PM

Previous topic - Next topic

PANIC

Hi there.

I've been having issues loading games into the SMF Arcade. When I got to Manage Installations, I get this message:

Directory public_html/Games is not writable and chmod didn't succeed. Please make it writable manually.
I followed the support in this thread, but didn't have much luck. https://web-develop.ca/index.php?topic=505.0

- I have my directories set at 755 and the files set at 644.
- I don't run off of a VPS or dedicated server, so I'm not sure how to go about with changing the ownership.
- I tried uploading the .zip files manually, but nothing shows up on my website.
- I'm running the current Arcade version on SMF 2.0.19
- I use CPanel to manage my files (if that helps).

I was hoping someone would be able to help me.  :)

Chen Zhen

Did you use arcade maintenance to add a .htaccess file to the Games path?

PANIC

Quote from: Chen Zhen on February 04, 2022, 08:09:50 PMDid you use arcade maintenance to add a .htaccess file to the Games path?

Yes.

Chen Zhen

Attempt setting the Games directory to 775 (or 0775)

Chen Zhen


Chen Zhen

#5
Do you have the HTML5 upload option enabled in your main Arcade Settings?
That will allow you to install games that have a larger file size which is common for HTML5 type games.

If you already tried that then attempt the following...
Adjust your upload_max_filesize php setting to 16M via CPanel, reset apache (or the OS) and then attempt to install the games.

If you don't know how to do all that then you can use your FTP client to transfer the compressed game files from your PC/MAC to your games_upload directory path. After which it should show up in your Games Manage Installations list and allow you to install it.

Skhilled

If you are on Shared Hosting then you'll need to ask your hosting to have a look at the ownership of your directories and files. They should be willing to correct it for you, if that is the problem. Sometimes, for various reasons, a server may change ownership to "nobody" (yes, a real user) in which case you will no longer be able to control things properly.

I hope this helps. :)

PANIC

Sorry for the late response. I've been busy and haven't had a chance to mess around with this until now.



Quote from: Chen Zhen on February 06, 2022, 11:58:05 AMDo you have the HTML5 upload option enabled in your main Arcade Settings?
That will allow you to install games that have a larger file size which is common for HTML5 type games.

If you already tried that then attempt the following...
Adjust your upload_max_filesize php setting to 16M via CPanel, reset apache (or the OS) and then attempt to install the games.

If you don't know how to do all that then you can use your FTP client to transfer the compressed game files from your PC/MAC to your games_upload directory path. After which it should show up in your Games Manage Installations list and allow you to install it.



I tried this with no success.  :(

I reached out to my host to see if they may be able to fix the issue.

PANIC

Turns out I had the wrong directory for the game path.   :P

Thanks for the help!  ;D

Chen Zhen

Well I'm glad you got it sorted out.

The latest stable release has been tested thoroughly by our Beta testers so it should function quite well.