Jump to content

This stream auto-updates

  1. Past hour
  2. I believe the issue is caused by `$this->results[$queryKey]` being overwritten when you run a new query inside `getCategory()`. So when you call `$this->fpdb->query(...)` in `getCategory()`, it updates the `$this->results` map and the current query key, which breaks the loop in `getProperties()` because `fetch_object()` now references the subquery instead of the original result set. To fix this, you can store the result of the main query in a temporary variable before entering the loop, like this: function getProperties() { $s = "SELECT * FROM properties"; $result_set = $this->fpdb->query($s, return_result: true); // store raw result $result = []; while ($r = mysqli_fetch_object($result_set, Property::class)) { $r->category = $this->getCategory($r->cid); $result[] = $r; } return $result; } This way, even if `getCategory()` runs a subquery internally, it won't interfere with the loop iterating over your original `$result_set`.
  3. I already purchased and didn't know the operating is Ubuntu and I know nothing about that. I'm only familiar with windows. Any way I could Login on windows as RDP?
  4. Looks like this board is a bit quiet recently. Just sharing in case someone finds it useful later.🗣️
  5. Hello, The forum seems a bit deserted :))
  6. Today
  7. I’m trying to disable directory listing using .htaccess, My .htaccess file has Options -Indexes, it is working fine on my local development server but not here, can you help me overcome this issue? thank you.
  8. Added. it can take up to 2 hours to start working.
  9. No problem.
  10. This was posted at 10:12am my time. Based on the timestamps, I'm guessing this was caused by Johnny's /tmp being full this morning which would cause that error. I cleaned it up at 10:47am and everything should be working again now. Let us know if it happens again.
  11. Yesterday
  12. Thank you ! it's working properly now
  13. Please check your PMs for information regarding your Lily account.
  14. Your rebuild has been started and you'll get an email in a bit when it finishes.
  15. Thank you very much! Appreciate all the availability you guys provide for this specially as a newbie web developer!
  16. Domain added. It can take up to 2 hours to function.
  17. Our system can't tell users apart when they're on the same network or device. What is the username of your brother's account so we can exclude these from detection?
  18. You can't change or delete the root user, but you can add as many users as you want with the useradd command. https://www.strongdm.com/blog/create-users-in-linux-with-useradd-command
  19. Last week
  20. Yes another invite was sent to your email.
  21. DKIM, SPF, and DMARC have been set up for the domains aslfarms.com and asl.ng. We recommend sending a real email (not just the word "test" or a blank email) to https://www.mail-tester.com/ to make sure that everything is set up correctly. If you get less than a 10/10 score please post a link to the full report so we can help you fix any other issues that there may be.
  22. I never retried with PhpMyAdmin, but I just ziped the SQL into a 2mb file, and successfully imported it using Plesk. Thanks!
  23. You're not suspended for inactivity, but instead for having more than one account. Users are only allowed to have one account. Since the other account it matched is also suspended, I've gone ahead and unsuspended this one for you. It may take a few minutes to start working again.
  24. Please read: https://wiki.helionet.org/504_Gateway_Timeout
  25. Domain added. Please be sure to configure DNS. The domain can take up to 2 hours to function once DNS is configured.
  26. thank you!
  27. Will look forward to it.
  1. Load more activity
×
×
  • Create New...