Jump to content

lancersupraskyline

Members
  • Posts

    25
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by lancersupraskyline

  1. I have created 2 account with two of my email address...

    I do hope that you know that you are breaking the rule of having more than one account per person.

     

    As to why the script did not work, it would help if you would tell which forum you were trying to install.

    Have you checked that the file exists in the directory before accessing it?

    Also, have you made sure that the forum is compatible with whatever server side language that HelioHost provides?

     

    I have not tried Softaculous, and therefore, could not comment any further.

  2. CPanel has an interface that shows the files/folders which take up the most space.

    You can find it in Files > Disk Space Usage, and try to look for the culprit.

     

    Since you are confident that your data does not exceed the limit,

    I'd recommend you to review your coding thoroughly, especially on uploads and data entry.

     

    Lastly, I'd suggest you to change your passwords, for FTP and CPanel.

    Someone may have gained access without your knowledge, and misused the space.

    1. mysql API has been deprecated. Please consider mysqli or PDO instead.
    2. The first parameter of mysql_connect is the MySQL server. Since PHP and MySQL resides on the same server, you should have used the string localhost instead. From tizag:
      When the PHP script and MySQL are on the same machine, you can use localhost as the address you wish to connect to. localhost is a shortcut to just have the machine connect to itself. If your MySQL service is running at a separate location you will need to insert the IP address or URL in place of localhost. Please contact your web host for more details if localhost does not work.
       
      In other words,
      <?php
      mysql_connect("localhost", "someday_someday", "CorrectPassword") or die(mysql_error());
      mysql_select_db("someday_Database") or die(mysql_error());
      ?>


    • Like 1
  3. From http://wiki.helionet.org/SSL

     

    If your require the use of SSL, then you will require a dedicated IP. This means that your website is separate from all the other HelioHost sites, which is essential for using SSL on your site. However, our provider of dedicated IPs is requesting $12/year for a dedicated IP.

     

    If you are willing to pay this fee, then please send your payment to admin@heliohost.org via PayPal. Once payed, create a new topic in the Customer Service forum on HelioNet with your PayPal transaction ID and account information (username, main domain, and server), and we will enable SSL for you.

  4. 1. Did you read the error message? It does give a number of possibilities.

    • The account was taking up too many system resources.
      Because HelioHost is a free webhost, we have many accounts on our servers. If one account is using too many resources it slows down the server for everyone. Therefore, we are careful to suspend any account that is using more than its fair share of CPU cycles and memory. Note that more often than not, a HelioHost account's overuse is caused by running cron scripts too often. Other causes include running resource-intensive scripts, such as proxy software.
    • The account has become inactive.
      If the control panel of a HelioHost-hosted website is not accessed for a period of one month, the account is declared abandoned. If you are the webmaster of the site, you can visit this page to reactivate your site.
    • The webmaster broke the Terms of Service
      The Terms of Service is a list of rules which the webmaster agrees to follow when signing up for an account. This list disallows, among other things, the use of this account to host pirated material, pornography, or illegal activities of any kind as defined by the State of Washington and the United States of America.

     

    2. As stated in the wiki

    My account was deleted. Can I get my data back?

     

    No. We do not keep backups of your data nor is it our responsibility to (See the Terms of Service). You must backup your own data regularly. However, if your HelioHost cPanel account was deleted due to inactivity, feel free to create a new account.

  5. To quote HelioHost,

    500 megabytes should be more than enough to handle any forum, blog, or other script you might need to host. Sites that might encounter problems with this limit include photo galleries with high-megapixel images or online storage sites. In general, this limit should not be a problem to the great majority of free hosting users.

     

    If you really need more space, I'd suggest looking for a paid solution.

  6. In my opinion, it is not a concern, because:

    1. Your index.html precedes index.php, so it only runs when user types in <url>/index.php specifically.
    2. The JavaScript file has been removed from Google Code, which means the JavaScript won't load. I have tried accessing the JS file directly, and I got a 403 error. If you are still afraid, here's a link to how it looks like with a online screenshot.
    3. The whole index.php file do not seem to have any dangerous elements, except for the JS file. Only some psychedelic NyanCats with a YouTube background music.
    4. There's a link at the bottom, which leads to a list of hacked websites (I think?), which shows the websites hacked by "Lulz53c", in which Mr. hacker here claims to be a member.

    Of course, to be safe, clean up your index.php, or remove it totally if you don't need it.

  7. Since there is no official news about Stevie being down yet... thought I'd start a small discussion.

     

    I was doing some work on my website when I noticed that the server load spiked to over 40%. I stopped my work and double confirmed it with this site, which appears to be down now as well. Came back after 30 mins or so to find Stevie down. *panics*

     

    Dear mods/admins, any news about it?

     

    And other members, what are you all doing in the mean time? :)

  8. Error pages require the full page url to be redirected. Something like this:
     ErrorDocument 403 http://your-site.heliohost.org/error.php 

     

    I'm sorry, but it didn't work. I tried your suggestion, and provided the full path for 403 Error Document, but it still did not redirect me to error.php.

     

    The error page is same as the above.

     

    Maybe my .htaccess can shed some light. Most of the parts were taken from H5BP.

     

    # 404 error prevention for non-existing redirected folders
    Options -MultiViews
    
    # Force IE to render pages in the highest available mode
    <IfModule mod_headers.c>
    Header set X-UA-Compatible "IE=edge"
    <FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svgz?|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$">
    	Header unset X-UA-Compatible
    </FilesMatch>
    </IfModule>
    
    # Use UTF-8 encoding for anything served as `text/html` or `text/plain`
    AddDefaultCharset utf-8
    
    # Force UTF-8 for certain file formats
    <IfModule mod_mime.c>
    AddCharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml
    </IfModule>
    
    # Turning on the rewrite engine
    <IfModule mod_rewrite.c>
    Options +FollowSymlinks
    RewriteEngine On
    
    # Suppressing "www." at the beginning of URLs
    RewriteCond %{HTTPS} !=on
    RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
    RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
    
    # Block access to hidden files and directories
    RewriteCond %{SCRIPT_FILENAME} -d [OR]
    RewriteCond %{SCRIPT_FILENAME} -f
    RewriteRule "(^|/)\." - [F]
    
    # Prevent hotlinking
    RewriteCond %{HTTP_REFERER} !^http://altbdoor.heliohost.org/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://altbdoor.heliohost.org$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.altbdoor.heliohost.org/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.altbdoor.heliohost.org$ [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
    </IfModule>
    
    # Block access to directories without a default document
    <IfModule mod_autoindex.c>
    Options -Indexes
    </IfModule>
    
    # Block access to backup and source files
    <FilesMatch "(^#.*#|\.(bak|config|dist|fla|inc|ini|log|psd|sh|sql|sw[op])|~)$">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>
    
    # expiry
    <IfModule mod_expires.c>
    ExpiresActive on
    ExpiresDefault "access plus 1 month"
    
    ExpiresByType text/css "access plus 1 month"
    ExpiresByType image/x-icon "access plus 1 year"
    ExpiresByType text/html "access plus 0 seconds"
    ExpiresByType application/javascript "access plus 1 month"
    ExpiresByType application/font-woff "access plus 1 year"
    </IfModule>
    
    # Error document
    ErrorDocument 400 /error.php
    ErrorDocument 401 /error.php
    ErrorDocument 403 http://altbdoor.heliohost.org/error.php
    ErrorDocument 404 /error.php
    ErrorDocument 500 /error.php
    

     

     

    In case you're interested to try it out, the URL to the said protected folder is http://altbdoor.heli...org/admin/frame

  9. Hello all,

     

    I'm in the midst of making my website work, and I ran into a problem with error documents.

    To begin with, here's how my directory structure looks like:

    + www (root)
    |
    +- foo
    |  |
    |  +-- bar (750)
    |
    +- .htaccess
    |
    +- error.php
    

     

    I want to prevent user access into /foo/bar, so I changed the permission of the folder (bar) to 750, and 640 for its contents.

     

    In my .htaccess, I have specified as below:

    ErrorDocument 400 /error.php
    ErrorDocument 401 /error.php
    ErrorDocument 403 /error.php
    ErrorDocument 404 /error.php
    ErrorDocument 500 /error.php

     

    Attempting to visit /foo/bar, I have expected to be redirected to error.php, as it is 403 error (or is it not?). However, I am getting a usual 403 Forbidden page instead.

    Forbidden
    
    You don't have permission to access /foo/bar/ on this server.
    
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

     

    Any ideas?

    • Like 1
×
×
  • Create New...