Jump to content

Flaze

Moderators
  • Posts

    2,022
  • Joined

  • Days Won

    69

Posts posted by Flaze

  1. http://rpgmakergold2003.heliohost.org/ - This needs to be fixed first.

     

    Here's the code for classe-db.php:

     

    <?php
    	if(!class_exists('DB')){
    		class DB {
    			public function __construct(){
    				$mysqli = new mysqli('localhost', 'ryugold', '[redacted]', 'ryugold_cms');
    				
    				if($mysqli->connect_errno){
    					printf("Conexão falhou %s\n", $mysqli->connect_error);
    					exit();
    				}
    				
    				$this->connection = $mysqli;
    			}
    			
    			public function insert($query){
    							
    				$result = $this->connection->query($query);
    				
    				return $result;
    			}
    			
    			public function select($query){
    				$result = $this->connection->query($query);
    				
    				while($obj = $result->fetch_object()){ // This is what initially caused the error
    					$results[] = $obj;
    				}
    				
    				return $results;
    			}
    		}
    	}
    	   
    	$db = new DB;
    
    ?>
    I tried to help this person through Discord but it turned out that I was too rarted and here we are.
  2. Your account was suspended for sending too many emails. To help fight spam, we limit accounts to about 50 emails per day. Please ensure that you send no more than 50 emails per day.

     

    If you need assistance with finding the source of the emails, feel free to ask, we'll be glad to help!

     

    Your account has been unsuspended.

  3. Your account was suspended for causing high server load. I have unsuspended your account, but please try to limit the load you put on our servers as it slows down not only your site, but the sites of all other HelioHost users sharing your server.

     

    If you still see the suspended page, please clear your cache.

     

    Causing high server load. 721% more memory than #2. /home/querby/discord/bot_discord.py

     

    • Like 1
×
×
  • Create New...