Jump to content

alkastraverse

Members
  • Posts

    6
  • Joined

  • Last visited

About alkastraverse

  • Birthday 12/04/2006

Profile Information

  • Gender
    Male
  • Location
    VietNam

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

alkastraverse's Achievements

Rookie

Rookie (2/14)

  • Week One Done Rare
  • First Post Rare
  • Reacting Well Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi HelioHost Support, Please help me add the following subdomain to my hosting account: Username: alkastraverse Subdomain to Add: alkverse.mooo.com Thank you for your support! Best regards, alkastraverse
  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. Looks like this board is a bit quiet recently. Just sharing in case someone finds it useful later.🗣️
  4. 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!
  5. Hello, The forum seems a bit deserted :))
  6. 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
  7. Hello HelioHost Team, I’m currently using a Tommy account on the new Plesk system. My username is alkastraverse. I would like to request SSH access for basic development purposes (Node.js, git, cron jobs, etc.). I’m not planning to run anything heavy or persistent like Minecraft or custom servers. Thank you very much for your support!
×
×
  • Create New...