-
Posts
17,711 -
Joined
-
Last visited
-
Days Won
661
Everything posted by wolstech
-
The best solution for "resetting" an account is to delete the account entirely and start over. If you don't want to do that, the closest you can get would be: Remove all addon/parked domains and any subdomains you don't needChange main domain if needed (http://www.heliohost.org/classic/support/scripts/domain)Check that you've dropped all of your databases (both mysql and postgres)Check in your home folder for a .softaculous_backups folder and delete it (download the backups first if you want them)Check in your home folder for any backup_*.tar.gz files and delete them (these are account backups you've made from cPanel, download the backups first if you need them)Check in your home folder for a tmp folder, empty the contents (don't delete the actual folder, this is old session data and your statistics data for tools like awstats)Check in your home folder for a logs folder, empty the contents (these are well...logs)Empty the contents of the public_html folder (don't delete the actual folder)
-
CloudFlare is broken then. I'll escalate this for you, but I'm not sure if this is on our end or not. Krydos (our root admin) may tell you to contact CloudFlare.
-
That account is now working properly without CloudFlare. I see an empty directory listing (Index of /). Please clear your cache and see if that error is gone for you.
-
Our recommended support is just posting on this forum. If there's something like an email address or personal info of some sort that you need to share, we can accept that via PM, but you'll need to ask when you need to share such information. All admins can accept PMs, but none of us check them unless we're working on a forum post where someone asks to send us one. As for donations, it's a one time donation of $1 or more. Please note that you need to make sure that the email address on your PayPal or skrill account doesn't already have an account or you won't receive an invite (delete your existing account first). Also, the invitation for the account doesn't come instantly since they are manually processed. They can take up to 24 hours.
-
Please remove cloudflare and point your domain's name servers to ns1.heliohost.org and ns2.heliohost.org, so we can troubleshoot. If it still doesn't work with cloudflare removed, let me know and I'll escalate this.
-
I usually do it in the SQL query with a LIMIT statement so you only retrieve certain rows at a time. SELECT * FROM table LIMIT $start,$end $start and $end are numbers of the first and last row to return. Your "next page" link would increment the $start variable. $end is usually something like ($start + 25) or however many rows you want shown at a time. The first row of the table is 0. Some example code, not tested but you should get the idea: <?php //open a DB connection called $conn up here $iRows = 25; //Show 25 rows at a time $iStart = mysqli_real_escape_string($conn,$_GET['start']); $iEnd = $iStart + $iRows; $rData = mysqli_query($conn,"SELECT * FROM table LIMIT $iStart,$iEnd"); while ($aRow = mysqli_fetch_assoc($rData)) { //echo out your table rows in here } echo "<a href=\"".$_SERVER['PHP_SELF']."?start=$iStart-$iRows\">Previous Page</a>"; echo "<a href=\"".$_SERVER['PHP_SELF']."?start=$iStart+$iRows\">Next Page</a>"; ?>
-
Triggering A File On Arrival Of Email
wolstech replied to rutaj6's topic in Website Management and Coding
What account was being deleted? -
You have to delete your account and sign up at midnight. The other way to move is to donate, in which case we can move your account directly instead of sending an invite.
-
That's a known issue on Johnny. It's scheduled to be fixed the next time we rebuild Apache/PHP on Johnny. In the meantime, you'll need to either move to Tommy or wait until that extension is restored on Johnny though if you want to run that software.
-
It was blocked for too many failed cPanel logins. Unblocked. It may take a few minutes to start working.
-
Yep, everything in here is obsolete since the servers have all been rebuilt since then.
-
It was blocked for too many failed web page logins. Do you have a restricted folder that requires a password (entering the password for such a folder incorrectly too many times is typically what gets you this block)? Unblocked.
-
Please clear your cache to get rid of the suspended page. The cpanel performance is often slow on Johnny. It's normal for that server.
-
Triggering A File On Arrival Of Email
wolstech replied to rutaj6's topic in Website Management and Coding
You can pipe the email into a script so that the script receives the email and can act upon its contents. Take a look at the "advanced options" under the email forwarder settings in cpanel. -
Unsuspended. You have 24 hours from this post to remove the malware from your account. If we receive abuse reports or if the malware is still present in 24 hours, your account will be resuspended.
-
This support request is being escalated to our root admin.
-
Unblocked. It may take a few minutes to start working again.
-
All of our servers are in the USA, though one can use our service from anywhere in the world. I think putenv will work, but not positive on that. It's not on the disabled functions list.
-
You're suspended because your WordPress theme contained malware. WordPress is infamous for this, and we highly recommend that users do not use WordPress for precisely this reason (there's far too many fake/malicious themes and plugins for it out there anymore, and the core WordPress software is also known for vulnerabilities). You should delete your WordPress installation (or at the very least delete the "twentysixteen" theme and all of its files, including the one listed above) to remove the infection. I recommend finding different software entirely, but if you want to reinstall WordPress, be sure to use only up to date plugins and themes from reputable websites like the official WordPress site. I see several others in our system with that same theme that are also suspended...the theme appears to contain a backdoor. When you're ready to fix this, let me know and I'll unsuspend you.
-
Using mysqli_fetch_assoc() instead is probably easiest. You get the whole row as an array instead of one field. The array indexes are the field names, so just look at the voto index of the array. Field names are case sensitive! The function returns null instead of an array if there are no rows left to get (or if the query returned no matching rows), so if using the output somewhere that an unexpected null will cause an error, you should check that the value returned is_array(). Details at: http://php.net/manual/en/mysqli-result.fetch-assoc.php In the below, assume $result contains the results of a mysqli_query() call, and that $result is not false (returned when the query fails). $aData = mysqli_fetch_assoc($result); //$aData['voto'] contains the value of the voto column for the first row in the result If your result returns multiple rows, you can call this in a while loop to get each row in turn and do something with it. The below would show the value of the 'voto' field for every row returned by the query: while ($aData = mysqli_fetch_assoc($result)) { echo $aData['voto']; }
-
The server Stevie died 7 months ago (disk failure) and there is no backup available for that account (a backup is listed in our system but was unsuccessful). Unfortunately, you will need to start over.
-
This support request is being escalated to our root admin.
-
That's a lot of load. Did you install new software or receive a lot of attention (e.g. a reddit mention) recently? If you need help identifying the source of load (or get suspended for it again), please let me know and I'll escalate this so we can find out what file is causing it. Unsuspended.
-
That error means something else sent output to the client before the session_start(). When output is sent for the first time (e.g. any HTML, an error message, an echo, etc.), the headers are sent along with it. You can't set a session cookie in an HTTP header that's already been sent, so the session_start() fails with that error. Odds are you either: have whitespace or HTML before the session_start() command, have PHP code that produces output (like echo) before the session_start() command, or have PHP that is generating an error (the error message that prints on the screen is output) before the session_start().
-
It's for FTP, not email. Usually caused by entering/saving the wrong password in an FTP client. Unblocked. It may take a few minutes to start working again.