Jump to content


Member Since 05 Aug 2010
Offline Last Active Today, 05:57 AM

#176537 [Answered] Python

Posted by Krydos on 01 July 2020 - 06:08 PM

You can put the "#!/usr/bin/python3.6" shebang at the top of any Python file, set it's permissions to 755 and execute it via the browser/cron job.

Please make sure you check the user's server before you recommend a shebang. Python3.6 will only work on Ricky. Johnny and Tommy have Python3.7. This user is on Johnny.

Have searched much for how to access Python within HelioHost but no luck.

Check out this post https://www.helionet...cript/?p=133810

@Flazepe/Sohamb03, if you're not too busy could you adapt that forum post into a wiki article and submit a pull request?

#176512 Configuring Cloudflare Full SSL on Tommy

Posted by Krydos on 01 July 2020 - 06:00 AM

The site looks nice though. I came pretty close to reading one of the articles. Haha.

#176509 [Solved] Multibyte & mime_content_type() Support: OFF for Forma LMS

Posted by Krydos on 01 July 2020 - 03:30 AM

The extensions fileinfo and mbstring have been installed on Johnny's php 7.0. https://krydos2.heli.../70/phpinfo.php

#176487 [Solved] Suspended: hh_tstamp

Posted by Krydos on 30 June 2020 - 02:59 AM

The best way to fix this is to edit your scripts to use /home/tstamp/tmp instead of /tmp. That way if something goes haywire you only take out your own account, not the whole server.

#176446 [Solved] Archived: mythodea

Posted by Krydos on 28 June 2020 - 04:05 AM


#176318 [Solved] Unarchive Urano68

Posted by Krydos on 22 June 2020 - 07:10 PM


#176166 [Solved] Can't access web server via FTP

Posted by Krydos on 20 June 2020 - 09:22 PM

There is a bug in cpanel which makes that page show the wrong port number if your account was created on Johnny and then moved to Tommy. I'm not sure how to fix it other than just changing all the servers to use the same port.

#175573 [Solved] johnny.heliohost.org took too long to respond.

Posted by Krydos on 03 June 2020 - 12:59 AM

Unblocked. You were blocked for trying to login to cpanel with the wrong username or password too many times. If you login at https://www.heliohost.org/login/ this won't happen again.

#175555 [Solved] Discord.py bot giving certificate error since 30 May

Posted by Krydos on 02 June 2020 - 05:37 AM

Does it work now?

#175345 [Solved] Username Change and Package Installation

Posted by Krydos on 27 May 2020 - 01:17 AM

And here's your module https://krydos.helio...in/modules37.py Thanks for deleting your other account without a fuss. After dealing with this guy https://www.helionet...eating-problem/ it's much appreciated that you didn't lie to us and deny you had multiple accounts.

#175133 [Solved] Unarchive

Posted by Krydos on 22 May 2020 - 05:09 AM


#174750 [Solved] WordPress - Internal server error (500)

Posted by Krydos on 12 May 2020 - 10:53 PM

You're on Tommy now. Thanks for the donation.

#174716 [Solved] Unable to setup Ghost

Posted by Krydos on 12 May 2020 - 08:35 AM

Normally when you do the Register Application step it creates two files. One for http and one for https. When I checked your account the https one was missing, so that's why it worked over http, but not https. To fix it I copied the http setting over to the https virtualhost and restarted apache.


The reason I think it happened is you probably added that domain, and then quickly registered the application prior to autossl running and setting up ssl for that domain. Since the https virtualhost didn't exist at the time register application couldn't create both records like it normally does. To fix it yourself you probably could have just ran the register application step of the guide again, and waited two hours for apache to restart. To prevent it from happening in the future, just make sure ssl is working before you register the application.

#174702 [Solved] Unable to setup Ghost

Posted by Krydos on 12 May 2020 - 01:54 AM

There you go https://akilis.cf/

#174654 permenent https

Posted by Krydos on 11 May 2020 - 12:45 AM

I actually have a situation on one of my personal sites where https on certain api calls breaks things, but I want the site itself to be served over https to browsers. So I don't use .htaccess redirect as that would force all the api calls to use https too. Instead I use this php code on the browser viewable pages.


if (empty($_SERVER['HTTPS']) || $_SERVER['HTTPS'] === "off") {
    $location = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    header('HTTP/1.1 301 Moved Permanently');
    header('Location: ' . $location);