• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Help with gesior acc please!!

kymurax

New Member
Joined
Dec 29, 2009
Messages
53
Reaction score
0
check this error when i try to put a code in my shopsystem

Error ID: CRITICAL ERROR
More info: Cannot load page puntos-sms?c=p36yq8b, invalid file name [contains illegal characters].

File: C:\xampp\htdocs\system/load.compat.php Line: 23
File: C:\xampp\htdocs/index.php Line: 33

help me please
 
Code:
<?php
// comment to show E_NOTICE [undefinied variable etc.], comment if you want make script and see all errors
error_reporting(E_ALL ^ E_STRICT ^ E_NOTICE);

// true = show sent queries and SQL queries status/status code/error message
define('DEBUG_DATABASE', false);

define('INITIALIZED', true);

// if not defined before, set 'false' to load all normal
if(!defined('ONLY_PAGE'))
    define('ONLY_PAGE', false);
    
// check if site is disabled/requires installation
include_once('./system/load.loadCheck.php');

// fix user data, load config, enable class auto loader
include_once('./system/load.init.php');

// DATABASE
include_once('./system/load.database.php');
if(DEBUG_DATABASE)
    Website::getDBHandle()->setPrintQueries(true);
// DATABASE END

// LOGIN
if(!ONLY_PAGE)
    include_once('./system/load.login.php');
// LOGIN END

// COMPAT
// some parts in that file can be blocked because of ONLY_PAGE constant
include_once('./system/load.compat.php');
// COMPAT END

// LOAD PAGE
include_once('./system/load.page.php');
// LOAD PAGE END

// LAYOUT
// with ONLY_PAGE we return only page text, not layout
if(!ONLY_PAGE)
    include_once('./system/load.layout.php');
else
    echo $main_content;
// LAYOUT END
 
Buypoints.php
Code:
<?php


include('sms_conf.php');

$main_content .=   '<center>
<b>Donaciones via SMS tibiaface</b></span></center>
</td></tr>
<tr bgcolor="#D4C0A1"><td width="\&quot;50%\&quot;"><center>
<center>
<b><span style="color: #5a2800; font-size: x-15;">tibiaface te ofrece una manera&nbsp;fácil&nbsp;y sencilla de obtener puntos!</span></b></center>
</td></tr>
</center>
<tr bgcolor="#D4C0A1"><td width="\&quot;50%\&quot;"><center style="color: #5a2800; font-size: 10pt;">
<b>INSTRUCCIONES:</b></center>
</center>
</td></tr>
</tbody></table>




<center>
<iframe src="http://iframe.contenidopago.com/index.php?cnt_serviceid=24145" width="550px" height="400px" frameborder="0"> <p>Your browser does not support iframes.</p> </iframe>
<p>Your browser does not support iframes.</p>
</iframe></center>';

?>


sms.php

Code:
<?php

error_reporting (0);

include('sms_conf.php');






$dbc = mysql_connect($host,$user,$pass) or die("DB conection error");
mysql_select_db($db,$dbc);

$name=mysql_real_escape_string($_GET['name']);

$codigo=mysql_real_escape_string($_POST['codigo']);

$puntos=mysql_real_escape_string($_GET['puntos']);


if (isset($_POST['formcodigo']))
{
$name=mysql_real_escape_string($_POST['name']);

$QueryString  = "LinkUrl=".urlencode((($_SERVER['HTTPS']=='on')?'https://':'http://').$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
$QueryString .= "&codigo=" .urlencode($codigo);
$QueryString .= "&idservicio=" .$idservicio;


    $ch = curl_init ("http://contenidopago.com/codigoval.php?".$QueryString);
    curl_setopt($ch, CURLOPT_TIMEOUT, 100);
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
   curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    $result= curl_exec ($ch);

    if(curl_error($ch))
        print "Error processing request";

    curl_close ($ch);

if ($result=='ok')
{
$dbc = mysql_connect($host,$user,$pass) or die("DB conection error");
mysql_select_db($db,$dbc);



if(!(empty($name)))
{
    $sql = "UPDATE `accounts` SET `premium_points` = `premium_points` + $puntos WHERE `name` = \"".$name."\"";
    $res = mysql_query($sql,$dbc);
  
    if(mysql_affected_rows() == 0)
   {
        die('This username does not exist: <font color="blue">'.$name.'</font>');   
   }
      
die("Codigo : $codigo  ok , Points added to your account");   
}
else {

  die('You did not set the user!');
 }
      
}

if ($result=='no')
{
die('This code is already in used');
}



}


if ($_GET['key']!=$key)

{

  die('Acceso no permitido');   

}
  


if(!(empty($name))){
    $sql = "UPDATE `accounts` SET `premium_points` = `premium_points` + $puntos WHERE `name` = \"".$name."\"";
    $res = mysql_query($sql,$dbc);
       if(mysql_affected_rows() == 0)
           die('This username does not exist: '.$name.'');
   }
else
    die('You did not set the user!');
  
die ('ok');

?>

sms_conf.php

Code:
<?php

// EDITAR CON LOS DATOS DE TU DB MYSQL (ES)
// EDIT WITH YOUR MYSQL DB INFO (EN)
// EDIT seus dados com DB MYSQL (BR)

$host = "localhost";
$user= "root";
$pass = "7946513a";
$db = "otserver";

$key='5DC71F2BE6DE2E0C4194AE7BC84DCF1C' ;  //   firma de seguridad del prefijo , ajustar en la configuracin del prefijo en el pane


// su idservicio en contenidopago.com   , se puede ver en Herramientas SMS -> Mis Herramientas  (ES)
http://contenidopago.com his idservicio in, you can see SMS Tools -> My Tools (EN)
//  seu idservicio en contenidopago.com, voc? pode ver SMS Ferramentas -> My Tools (BR)

$idservicio=24145; 

// PUNTOS a entregar por cada codigo (ES)
//Points to be delivered under each code (EN)
// Pontos a serem entregues no ?mbito de cada c?digo (BR)

$puntos=20;

?>

layout

Code:
<a href='?subtopic=buypoints'>
  <div id='submenu_buypoints' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_buypoints' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><div style=\"color: yellow;\">Buy Points</div></div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>
 
Back
Top