WebDev

SMF Arcade => SMF Arcade Support + Plugins => Topic started by: PANIC on January 31, 2022, 09:02:33 PM

Title: Game Directory Not Writable
Post by: PANIC on January 31, 2022, 09:02:33 PM
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.  :)
Title: Re: Game Directory Not Writable
Post by: Chen Zhen on February 04, 2022, 08:09:50 PM
Did you use arcade maintenance to add a .htaccess file to the Games path?
Title: Re: Game Directory Not Writable
Post by: PANIC on February 04, 2022, 08:31:20 PM
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.
Title: Re: Game Directory Not Writable
Post by: Chen Zhen on February 04, 2022, 08:38:25 PM
Attempt setting the Games directory to 775 (or 0775)
Title: Re: Game Directory Not Writable
Post by: Chen Zhen on February 04, 2022, 09:38:06 PM

Here's a helpful guide for using Cpanel to do this:
https://www.a2hosting.ca/kb/cpanel/cpanel-file-features/cpanel-file-manager/file-permissions
Title: Re: Game Directory Not Writable
Post by: Chen Zhen on February 06, 2022, 11:58:05 AM
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.
Title: Re: Game Directory Not Writable
Post by: Skhilled on February 19, 2022, 01:51:21 AM
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. :)
Title: Re: Game Directory Not Writable
Post by: PANIC on March 04, 2022, 08:29:50 PM
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.
Title: Re: Game Directory Not Writable
Post by: PANIC on March 05, 2022, 01:22:46 PM
Turns out I had the wrong directory for the game path.   :P

Thanks for the help!  ;D
Title: Re: Game Directory Not Writable
Post by: Chen Zhen on March 06, 2022, 09:08:04 PM
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.
EhPortal 1.39.6 © 2024, WebDev