Jump to content

All Activity

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. Today
  7. Looks like this board is a bit quiet recently. Just sharing in case someone finds it useful later.🗣️
  8. Hi everyone, I just recently set up a site on HelioHost (Tommy server) and wanted to share how I enabled HTTPS and basic protection using Cloudflare. This is useful especially since HelioHost doesn’t offer automatic SSL for custom domains out of the box. --- Steps: 1. Add your domain to Cloudflare Go to https://dash.cloudflare.com Click Add a Site, choose the Free plan Cloudflare will scan your DNS records At the end, you will get two nameservers to replace your current ones Go to your domain registrar and update your nameservers accordingly (Wait some time for the DNS to propagate, up to 24h) --- 2. Point your domain to your HelioHost server (Tommy) After the domain is active in Cloudflare: Go to the DNS tab in Cloudflare Add a record like: Type: A Name: forum (or your subdomain) IPv4 address: <your_hosting_ip> Proxy status: Proxied (orange cloud) (If you use the root domain, set Name: @) --- 3. Enable SSL and force HTTPS In Cloudflare: Go to SSL/TLS > Overview Choose "Full" or "Full (strict)" if you have a Let’s Encrypt cert on the server Otherwise, use “Flexible” (not ideal but works) Go to SSL/TLS > Edge Certificates Enable Always Use HTTPS Enable Automatic HTTPS Rewrites --- Notes: Make sure your web host supports SSL if you use "Full (strict)" You can still access your files and settings via HelioHost control panel (e.g. Plesk) --- Let me know if you have any questions. I’m still new to this but happy to help where I can!
  9. Hello, The forum seems a bit deserted :))
  10. 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.
  11. Added. it can take up to 2 hours to start working.
  12. Hi HelioHost Support, Please help me add the following subdomain to my hosting account: HelioHost Account Email: <removed> Username: alkastraverse Subdomain to Add: forum.alkastraverse.xyz Thank you for your support! Best regards, alkastraverse
  13. No problem.
  14. Now it worked finely. Thank you again
  15. Try something like this python3 -m venv .venv source .venv/bin/activate pip3 install python-telegram-bot pillow pytesseract requests email-validator python-dotenv
  16. The command is working fine, it's just letting you know that you should use a virtual environment. Parts of the operating system use Python too so if you change the versions or install random stuff to environment that the operating system uses you could break the whole VPS. Here is a guide for how to create a virtual environment and install modules with pip inside it. https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/
  17. This one
  18. What error do you get when you try running that yourself via SSH?
  19. 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.
  20. VPS120. Escalating...
  21. Well...that's a new one. There must be something wrong with the Plesk file manager considering FTP works. Nobody else has reported it though. Have you tried another browser? I'll escalate it to Krydos for you to see if he has an idea what might cause this, but if the issue isn't a simple fix or is just an internally broken user account, you might need to reset your account... Escalating.
  22. Yesterday
  23. Can some one please, sudo apt update && sudo apt install -y python3 python3-pip tesseract-ocr libtesseract-dev && pip3 install python-telegram-bot pillow pytesseract requests email-validator python-dotenv install these for me. the pip is not working via terminal.
  24. Thank you ! it's working properly now
  25. Please check your PMs for information regarding your Lily account.
  26. Your rebuild has been started and you'll get an email in a bit when it finishes.
  27. A VPS admin will be able to do this for you.
  28. Can we get a fresh OS Install on VPS64 please? Thanks!
  1. Load more activity
×
×
  • Create New...