Jump to content
MakeWebGames

Magictallguy

Administrators
  • Posts

    2,155
  • Joined

  • Last visited

  • Days Won

    155

Everything posted by Magictallguy

  1. Do any of your item names contain a closing bracket?
  2. Speak to your host about installing the extension you need. Edit; Or, if your host supports Multi-PHP versions, then drop your PHP version down to something below PHP7
  3. To clarify, are these issues you're experiencing with official GL stuff, or are you effectively tracking issues from your own modifications to your copy of GL?
  4. dshafik's php7-mysql-shim may be of use to you here. Easiest way to implement, I feel, is through Composer. Simply require the package in, include the vendor's autoload.php, go! Failing that, grab a copy of src/mysql.php (in the same Git repo), upload said copy to your files, include it before running any code that requires PHP5.4. There are certain methods that cannot be replicated, even with a shim. However, you're less likely to run into these using game engines currently available on MWG.
  5. Running multi-PHP versions side-by-side is possible. Getting relevant information now Addition; while I wouldn't recommend it as a long-term replacement, a "shim" can be a very useful tool while migrating versions. In this case, a PHP5.4 shim would allow you to continue running 5.4 code on a 7 system. Update: MWG does support PHP5.4! (along with 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, and 7.4 - at the time of writing)
  6. If @gamble's solution isn't any good for you, I've seen this in use in the past
  7. You've misunderstood a joke and taken it as attitude, then a position check. Nice. I'm sooo inclined to actually help you now. Back when I was coding on a phone, I used Droid-Edit. It allowed console access for locally-running scripts. Failing that, head to about:debug in a Chromium-based Android browser to access console output
  8. Relatively certain his statement was directed to me - similar sentiment from me though
  9. Lol @ you @Sim Not only the wrong word for the intended meaning, but a word from Old and Middle English; suggesting it's simply not in use anymore. That's the trouble with using older language - contexts are different. How about stop being a young me and drop the attitude; it ain't gonna help you in this world
  10. To add on to SRB's statement; in some setups, it may be necessary to parse the JSON string into an object before JS will let you use it as such. let scavengeData = JSON.parse(data); alert(scavengeData[0].amount);
  11. Ah, they use cPanel. Also, welcome to the forum. I'll message you directly and prevent derailing your intro thread 🙂
  12. "Scheduled Jobs"? Are you running on Plesk?
  13. If I'm reading that right, you should be able to access the `amount` key (presumably repurposed to a context of "days" if applicable) like a standard array. data[0].amount Edit; which I see you've tried. In what format is `data`? Is it a JSON string, or something else?
  14. Your setTimeout call. If memory serves correctly, you don't need to add the parenthesis for the callable function setTimeout('showScavageResults', 1000);
  15. Debugging is too old skool! Dubuging shall rise!
  16. "dubuging" is my favourite developer's pasttime
  17. Ya know; if you used the code tags built into the forum, you'd see your markup was broken.
  18. I remember experiencing this issue before in multiple other engines and almost every case came down to sessions. There was one or two cases where a token was being set before it was processed (invalidating the expected key before we could touch it) - check for duplicate calls to MCCv2's CSRF token generation function
  19. I work for a small number of sites on the same host and have not experienced this issue. Check your session handling
  20. Magictallguy

    jQuery

  21. Magictallguy

    jQuery

    ID DON'T NEED #! AAAAAAAAAA
  22. Magictallguy

    jQuery

    Put id="php__container" back into the div from which you removed it. Change the <a> tag id attributes - they don't need an octothorpe and they must be unique
  23. Magictallguy

    jQuery

    Restore the php__container ID to that div and alter your anchor IDs
×
×
  • Create New...