Jump to content

Krydos

Chief Executive Officer
  • Posts

    24,184
  • Joined

  • Last visited

  • Days Won

    853

Everything posted by Krydos

  1. Please post the following information: Your cPanel usernameYour main domain
  2. The config.php is a common way to separate the $db_host, $db_user, $db_pass, and $db_data variables from the code. If you have 15 different php files they can all include config.php to load those database variables, and if you change the password for example you only have to change it in one place. It's good programming practice to do stuff like this. In this case the config.php would look like: <?php $db_host = "localhost"; $db_user = "maicol07_user"; $db_pass = "bestpaswordever"; $db_data = "maicol07_db"; Change line 11 to $sql = "show tables like '$username_%";
  3. @bdistler, oh cool, I didn't even know there was an option for that in cpanel. Thanks for pointing that out.
  4. We already have mod_deflate installed which does the same thing, but works for all file types not just php files. Put something like this in your .htaccess to enable it <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript </IfModule> You can test your pages to see if it's enabled properly by using a tool like this http://www.whatsmyip.org/http-compression-test/
  5. It's already in there http://krydos.heliohost.org/71/phpinfo.php
  6. It takes a few hours for the email address change to go through sometimes.
  7. PHP files need to be permissions 644. You phpinfo.php file was 664. There you go http://wardracs.heliohost.org/phpinfo.php
  8. Yeah, we can install python modules for you. Just let us know: Module name (webob)Python version you're usingServer that you're on
  9. Not really. You can install ruby gems yourself through cpanel. If you need a particular version of python or some module installed let us know. The idea behind requesting java and requesting mono is it takes a lot of server resources for each account that those are enabled on so we want only the people who actually need it to have it active.
  10. It should work on 5.6. Are you sure you aren't using 5.5 or something else? Ah, figured it out. The error isn't our server at all: Source: https://stackoverflow.com/questions/11680709/file-get-contents-give-me-403-forbidden That particular website has some protection against people using file_get_contents on it. If you use curl with good headers you can get the data from them without them knowing it's not a real browser. That wouldn't stop them from figuring out that the requests are coming from a server not a real persons IP address and if they're really zealous about not having their data scraped they could always block our IP...
  11. Yes, mysqli is functional on Tommy.
  12. This might help. https://stackoverflow.com/questions/1390607/how-could-i-change-this-mysql-to-mysqli
  13. Yes, you can select a single IP to allow access from or you can allow access from all IPs. Enabled.
  14. Which version of php are you using? That's because you hadn't requested aspx access yet. There you go http://meraj.gq/test.aspx
  15. Source: https://www.helionet.org/index/topic/28813-johnny-backlog/ As the news says we recommend switching to mysql instead of mysqli temporarily or switching to Tommy where mysqli is working.
  16. You've actually got all the permissions correct and files created properly and everything. Very impressive! The 500 error is because the python module webob isn't installed. www is actually a symlink to public_html, and symlinks always have 777 permissions.
  17. Java is not enabled on that account. Before you can deploy a .war you must get java enabled. To get java enabled you must request it at https://johnny.heliohost.org:2083/frontend/paper_lantern/java/index.live.php
  18. I was sort of thinking he might be doing something like curl --header 'Host: example.com' 64.62.211.131 but maybe I'm wrong. That is a great way to make sure that the server is working before you transfer your domain to our servers. But yes, typing 64.62.211.131 into a browser will always result in the queued page.
  19. HelioHost has been around for 12 years now so there might be some contradictory information out there. If you can provide a link and it's something we're able to edit we will fix it. Johnny usually supports .net 3.5 but Johnny is kind of broken for the last 24 hours or so. See https://www.helionet.org/index/topic/28809-2017-07-11/ That's also why it's taking so long to create accounts. Tommy supports .net 4.6. Here is the guide for switching servers http://wiki.helionet.org/Moving_your_account Your account is created and you should be able to log in at https://www.heliohost.org/login/
  20. Use mysql instead of mysqli for the time being. Johnny is going to need an apache restart to fix this.
  21. See https://www.helionet.org/index/topic/28809-2017-07-11/
  22. See https://www.helionet.org/index/topic/28809-2017-07-11/
  23. This works for me: <?php // load database values require 'config.php'; // connect to database $con = new mysqli($db_host, $db_user, $db_pass, $db_data); if ($conn->connect_error) die("Connection failed: ".$conn->connect_error); // perform query $sql = "show tables"; $result = $con->query($sql); // start dropdown select echo "<select>"; // for each table in database create an entry while ($row = $result->fetch_assoc()) { $table = $row['Tables_in_username_db']; echo "<option value='$table'>$table</option>"; } echo "</select>";
  24. Account creation has been restarted and the account ariyo has now been created.
×
×
  • Create New...