Jump to content
MakeWebGames

Magictallguy

Administrators
  • Posts

    2,142
  • Joined

  • Last visited

  • Days Won

    148

Everything posted by Magictallguy

  1. Adding a mobile screeny for the light theme to confirm This is very likely a caching issue - we're on CSS build 8 now
  2. Looks like your browser simply failed to grab the site's CSS properly. Clear the cache and try again 🙂 Chiming in with mobile screenshot too! Samsung Galaxy S23
  3. I have not as I wasn't thinking of backwards compatibility. This change is part of a rolling set of changes I intend to make to suit more recent technologies. As for the claim that "nobody" has PHP 8.4 yet; SiteEU, WebWiz, HawkHost, Kinsta, SwitchWeb, NameCheap, GoDaddy, Google Cloud Hosting and AWS absolutely do support it. Honourable mention to cPanel's EasyApache which added PHP 8.4 support in December just gone. Again, I will add backward compatibility for PHP 8.0. Might send up a couple of branched releases so people can select their desired version.
  4. You changed setenv to getenv? Of course that wouldn't work
  5. Back when I was on Windows, I loved mLocati's PowerShell PHP Manager - you may wish to consider looking into it. Its primary purpose is to provide an easy way to install multiple PHP versions and choose whichever one the system considers active. As for your host, perhaps a request to their support might be fruitful.
  6. PHP 8.4 required. I'll push an 8.0-friendly version shortly
  7. I decided it's time to blow off the dust and give this project some TLC. So, a small update list! now comes with a Docker configuration no longer relies on Composer There will be more updates to come as the longer I look, the more I kick my younger self 😄
  8. Head up to the object/property declarations and initialise the $querystring property Find: protected string $querystring; Replace with: protected string $querystring = '';
  9. That's the installation of Composer itself. You now need to run `composer install` on the command line in the project's root to grab the 3rd-party dependencies. A future release will factor out the Composer reliance. But for now, that's the way
  10. The autoload file is generated after running `composer install` in the project's root directory.
  11. Instructions are available at https://getcomposer.org/
  12. You'll probably need to your files over to the Docker with COPY
  13. Oop, my mistake, forgot to include the watch directive. Assuming the docker-compose.yml you posted earlier is up to date services: # PHP service (for Laravel) php: build: context: . dockerfile: Dockerfile container_name: php volumes: - .:/var/www/ networks: - portfolio_network working_dir: /var/www/ # Nginx service nginx: image: nginx:latest container_name: nginx volumes: - ./:/var/www - ./nginx/:/etc/nginx/conf.d/ ports: - "80:80" depends_on: - php networks: - portfolio_network develop: watch: - action: sync path: . target: /var/www # MySQL service mysql: image: mysql:5.7 container_name: mysql environment: MYSQL_ROOT_PASSWORD: MySQLPass MYSQL_DATABASE: portfolio_db MYSQL_USER: portfolio_user MYSQL_PASSWORD: portfolio_password volumes: - mysql_data:/var/lib/mysql networks: - portfolio_network volumes: mysql_data: networks: portfolio_network: driver: bridge Addition started line 27
  14. docker compose watch Ctrl + C Does it build?
  15. OS: Linux (Ubuntu) Editors: Depends on what the active project's requirements are. Most likely, JetBrains PhpStorm, JetBrains WebStorm, or VSCode for the smaller things. Database: The SQL extension bundled with JetBrains. Deployment: Docker for local dev deployment and personal testing, CI/CD via GitLab (pref.)/GitHub which includes a number of sanity checks before actually deploying to live. On PHP's side of things, I'll swear by Composer. For Node, it is (of course) npm For things that are usually single-purpose (an "I need a thing for this, and only this" thing), I'll either search Google for something close enough or just write the utility myself. It's rare that I have to (S)FTP into a site. When I do, I'll quickly hop in with the bundled SFTP extension in JetBrains, or the SFTP extension by Natizyskunk for VSCode. A decent editor is a good place to start, but there are times when you may find that your feature-rich editor doesn't have a feature you want/need. For example, the String Manipulation extension (for IntelliJ (the JetBrains people)) is a nifty tool for quick-swapping ", ', and `, lowercase, Sentence case, UPPERCASE, Title Case, snake_case and CamelCase, and a couple of other little helper utilities; complete with hotkey support! I use EnvVars throughout my projects (love me some .env), so I like the .env files support extension which does exactly what you think it does: provides "native" support for .env files. An honourable mention for the Prisma ORM extension which I'm using for one of my other projects (yup, cheeky plug time - that project is KumaBot Defender, an anti-bot for use on Twitch), which adds full support for the Prisma syntax.
  16. A little MCC history - dabomstew was a Torn City player and wanted his own version, so he and ColdBlooded wrote MCC. Torn City came first and inspired MCC
  17. I said PowerShell, not CMD 😉
  18. Answering the question Assuming you're on Windows here. XAMPP uses local files on your PC, so you'd be changing permissions of files and folders on your local system - which gives you 2 options. Personally, I prefer the shell method. Run PowerShell, change directory to the one above the one you're attempting to alter (example; if you were trying to change the permissions of C:\xampp\htdocs\some-folder, you'd cd to C:\xampp\htdocs) Then run the chmod command chmod 0777 some-folder replacing "some-folder" with, in your case, "public_html" - The other method is to use Windows file/folder properties, altering the permissions in [directory] -> Properties -> Security -> Permissions Why we don't do this Granting read/write/execute to the entire webroot is a massive security hole. Upload and execute anything, brilliant! Goodbye, hard work. Consider moving whatever needs to write to the webroot into a subfolder and simply making that 0766 instead (owner can read/write/execute, anyone else can r/w), or even the standard 0755 (owner r/w/x, everyone else r/x but not write)
  19. Love a Digital Ocean droplet, and Vultr's pretty good too. Had no issues with either provider
  20. Magictallguy

    Ngmafia

    That hasn't legally been my name for over 4 years. 😉
  21. Magictallguy

    Ngmafia

    gRPG v2 is open-source and still actively maintained 🙂
  22. We have a "Flag as spammer" feature that allows us to - you guessed it - flag the user as a spammer. The forum software's automation takes over according to a few rules set up in the back end that removes the posts and bans the account in question.
  23. We've been fighting it during the temporary antispam downtime. Don't worry, they won't win 😉
  24. Busy, busy! KumaBot Defender (an anti-bot, anti-threat solution for use on Twitch) is demanding a fair chunk of my time. I've also been working with clients on their projects, ranging from text-based games to eCommerce and CMS work. TL;DR: Still here, just busy.
  25. Error reporting! When in doubt, go straight for the logs. Glad you found it 🙂
×
×
  • Create New...