Jump to content
MakeWebGames

Magictallguy

Administrators
  • Posts

    2,142
  • Joined

  • Last visited

  • Days Won

    148

Everything posted by Magictallguy

  1. We can't offer suggestions for potential fixes without knowing a little more about your system. Looks like you're hosted with iFastNet, who do offer crons via cPanel, and at a guess, it looks like you're using MC Codes v2. The cron commands required are given upon installation. Failing that, your cron code will be in `config.php` - you'll need this to allow your crons to run. In your File Manager, you should see 4 files starting with `cron_` (by default); these are `cron_day.php`, `cron_hour.php`, `cron_fivemins.php` and `cron_minute.php` And in your cPanel, you should see a "Cron Jobs" option (usually under "Advanced"). Add a Cron Job for each file, with its schedule settings matching the file's name. Be sure to alter the path (`~/public_html/` given in the example below) to your paths and `YOUR_CODE_HERE` to the cron code you (hopefully) found in your config.php. * * * * * php ~/public_html/cron_minute.php code=YOUR_CODE_HERE */5 * * * * php ~/public_html/cron_fivemins.php code=YOUR_CODE_HERE 0 * * * * php ~/public_html/cron_hour.php code=YOUR_CODE_HERE 0 0 * * * php ~/public_html/cron_day.php code=YOUR_CODE_HERE *Note: cPanel's crontab might play funny with a relative homedir path (the `~`). Simply alter this to an absolute path (`/home/your-cpanel-username`, for example) *Note: Here's a tool I used to reference to understand what the schedule formats mean: Crontab.Guru
  2. To add onto sniko's post; if CLI scares you, I'd recommend a Git GUI, such as SourceTree or GitKraken*; Or, if you're using an editor that support Git out-of-the-box such as PhpStorm**, or an editor that supports plugins (e.g., Atom, SublimeText 3, etc.), just use that! *Note: GitKraken is free for public repos. They put accessing private repos behind a paywall. **Note: PhpStorm has a 30-day free trial, but is otherwise paid software (would strongly recommend it)
  3. Failing that, a 3rd party cron service is available. Here's the Create Cron UI from EasyCron q
  4. Task failed successfully
  5. Sounds like you haven't brought the crons online.
  6. MCCv2's settings.conf_id is an AUTO_INCREMENTed PRIMARY KEY - there should be no need to reference by ID here INSERT INTO settings (conf_name, conf_value) VALUES ('editpage', 'explore.php');
  7. Running a Dockerized instance of the code; Apache 2.4.37, MariaDB 10.5.8, PHP 8.0.2 (with display_errors as On and error_reporting set to E_ALL) on a CentOS 8 image. First error was on the installer was "Field 'display_pic' doesn't have a default value" while attempting to insert the admin account. staffnotes, votes, and usernotepad did the same. After a few minor edits to dbdata.sql, the installer completed successfully and I was able to login. Fair warning to anyone wanting to debug it - you're gonna hit a lot of E_WARNING, E_STRICT, and E_NOTICE -level errors
  8. One moment, I'll find out!
  9. Challenges aside (hint), what exactly are you after? - From which engine to which engine? - Which mod?
  10. There are multiple ways to do this. If Windows, look into XAMPP. If Linux or Mac, look into Devilbox - a Dockerized XAMPP alternative
  11. What is this concept of which you speak? "Sleep"?! Nah, that's completely alien to me
  12. Based entirely on the query alone, I'm throwing a guess that you're running MC Codes v2. Have any edits been made to the code governing the gang surrenders? Were both gangs involved created in a standard manner (e.g., created in-game via creategang.php)?
  13. While it may be a common practice to blindly open your files to the world, I strongly recommend against this. On most systems (and with varying exceptions to the rule), non-user-modifiable directories should be no greater than 0755 - (read/write/execute to user, read/write to everyone else), and your files should be no greater than 0644 (read/write to user, read to everyone else). Any files written during installation (such as a config.php) will temporarily need world-write permissions to do so. Be sure to change the config file(s)' permissions back to non-world-writable when done
  14. I can throw a little PHP code into a .jpg and cURL it to execute whatever I want on your server. Checking the extension alone is not enough
  15. Shameless MWG plug!
  16. SELECT * FROM some_table WHERE text_column IS NOT NULL ORDER BY some_column
  17. Magictallguy

    Work Setups

    Gross! Use literally any Jetbrains product
  18. Got a weird character for your newline? C_playerPerc=:playerPerc -- here WHERE
  19. Got a bind value for :playerPerc?
  20. Don't change vendor files! Make a custom.css (or equivalent) and source it in after the bootstrap.css
  21. Magictallguy

    Work Setups

    That cable management, though ❤️
  22. Strongly recommending a VESA desk-mount. I've got one for my dual screens and it really does save space. Here's pretty much the one I'm using, though they do come with more arms
  23. Welp, my mistake! Does your server have some form of control panel? If so, and if it's cPanel, the directions above stand. If it's Plesk, then you'll need to visit the domain, click on Databases in the top right menu, then phpMyAdmin. The "how to navigate phpMyAdmin" part still stands here too. If it's something else (or nothing), let me know and I'll see if I can provide a walk-through for ya - if not, someone else probably can
×
×
  • Create New...