Jump to content

This stream auto-updates

  1. Past hour
  2. I've submitted a ticket earlier but didn't know I needed to VPS147.
  3. I'm not familiar with the Ubuntu OS, please I'd prefer windows 2022. User id: bydaulton
  4. 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`.
  5. Anne1000xx

    .

    Ignore
  6. Looks like this board is a bit quiet recently. Just sharing in case someone finds it useful later.🗣️
  7. Hello, The forum seems a bit deserted :))
  8. Today
  9. 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.
  10. Added. it can take up to 2 hours to start working.
  11. No problem.
  12. 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.
  13. Yesterday
  14. Thank you ! it's working properly now
  15. Please check your PMs for information regarding your Lily account.
  16. Your rebuild has been started and you'll get an email in a bit when it finishes.
  17. Thank you very much! Appreciate all the availability you guys provide for this specially as a newbie web developer!
  18. Domain added. It can take up to 2 hours to function.
  19. 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?
  20. 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
  21. Last week
  22. Yes another invite was sent to your email.
  23. 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.
  24. I never retried with PhpMyAdmin, but I just ziped the SQL into a 2mb file, and successfully imported it using Plesk. Thanks!
  25. 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.
  26. Please read: https://wiki.helionet.org/504_Gateway_Timeout
  27. Domain added. Please be sure to configure DNS. The domain can take up to 2 hours to function once DNS is configured.
  1. Load more activity
×
×
  • Create New...