• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

CloudOnex - A Revolutionary All-in-one Business Suite To Run Your Entire Business

CloudOnex - A Revolutionary All-in-one Business Suite To Run Your Entire Business v6.0

No permission to download
At first sight, is similar with 5.53. I bypassed license check in 2 files from directory install - step3.php and ajax_c.php - simply i remove any reference about purchase_key
I have doubt about this version, i don`t believe is 6.0, maybe an internal update for 5.53. Many bugs are still there, especially those related to locating the data format, or positioning the currency symbol. On official website version 6 not exist.
 
  • Like
Reactions: zer05
***** KEY FILE *********
install/ajax_c.php

replace code

ok

//BELOW
PHP:
<?php
require 'base.php';
@ini_set('memory_limit', '512M');
@ini_set('max_execution_time', 0);
@set_time_limit(0);
$appurl = $_POST['appurl'];
$db_host = $_POST['dbhost'];
$db_user = $_POST['dbuser'];
$db_password = $_POST['dbpass'];
$db_name = $_POST['dbname'];

$_SESSION['db_host'] = $db_host;
$_SESSION['db_user'] = $db_user;
$_SESSION['db_password'] = $db_password;
$_SESSION['db_name'] = $db_name;

$purchase_key = trim('free');

$_SESSION['purchase_key'] = $purchase_key;

if (
    $appurl === '' or
    $db_host === '' or
    $db_user === '' or
    $db_name === '' or
    $purchase_key === ''
) {
    echo 'Please input all the information and try again.';
    exit();
}

$get_license = [
    'license_key' => $purchase_key,
    'app_url' => $appurl,
];

$ch = curl_init('');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $get_license);

// execute!
$response = curl_exec($ch);

// close the connection, release resources used
curl_close($ch);

$res = json_decode($response);

if (!isset($res->success) || !$res->success) {
    $_SESSION['purchase_key'] = 'free';
    //exit();
} else {
    $_SESSION['purchase_key'] = 'free';
}

$link = mysqli_connect($db_host, $db_user, $db_password, $db_name);

if (!$link) {
    echo "Error: Unable to connect to MySQL." . PHP_EOL;
    echo "Debugging error: " . mysqli_connect_error() . PHP_EOL;
    exit();
}

try {
    $dbh = new pdo(
        "mysql:host=$db_host;dbname=$db_name",
        "$db_user",
        "$db_password",
        [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]
    );

    // database connection successful

    //create config file

    $input =
        '<?php
define(\'DB_HOST\', \'' .
        $db_host .
        '\'); # Database Host
define(\'DB_PORT\', \'\'); # Database Port. Keep it blank if you are un sure.
define(\'DB_USER\', \'' .
        $db_user .
        '\'); # Database Username
define(\'DB_PASSWORD\', \'' .
        $db_password .
        '\'); # Database Password
define(\'DB_NAME\', \'' .
        $db_name .
        '\'); # Database Name
define(\'APP_URL\', \'' .
        $appurl .
        '\'); # Application URL.
#Please include http and do not use trailing slash after the url. For example use in this format- http://www.example.com Or http://www.example.com/finance
define(\'APP_STAGE\', \'Live\'); # Change Live to Dev to enable Debug
';

    $f_msg =
        'Can\'t create config file. The folder is not writable. You will have to manually create config file. Create a <strong>config.php</strong> inside- <strong>system</strong> folder with following contents- <hr>
<textarea rows="10" class="form-control">' .
        $input .
        '</textarea>
<span class="help-block">StackPI required some folders writable. It seems folders is not writable. The App may not work properly. For common troubleshooting tips, please visit- <strong><a href="https://www.cloudonex.com/doc/general/troubleshooting" target="_blank">https://www.cloudonex.com/doc/general/troubleshooting</a></strong></span>
';

    $wConfig = "../system/config.php";

    if (file_exists($wConfig)) {
        echo 'Config file exist. Please delete- <strong>system/config.php</strong> and try again.';
        exit();
    }

    ($fh = fopen($wConfig, 'w')) or die($f_msg);
    fwrite($fh, $input);
    fclose($fh);

    echo '1';
} catch (PDOException $e) {
    echo 'Connection failed: ' . $e->getMessage();
    exit();
}
 
<?php
require 'base.php';
@ini_set('memory_limit', '512M');
@ini_set('max_execution_time', 0);
@set_time_limit(0);
$appurl = $_POST['appurl'];
$db_host = $_POST['dbhost'];
$db_user = $_POST['dbuser'];
$db_password = $_POST['dbpass'];
$db_name = $_POST['dbname'];
$_SESSION['db_host'] = $db_host;
$_SESSION['db_user'] = $db_user;
$_SESSION['db_password'] = $db_password;
$_SESSION['db_name'] = $db_name;
$purchase_key = trim('free');
$_SESSION['purchase_key'] = $purchase_key;
if (
$appurl === '' or
$db_host === '' or
$db_user === '' or
$db_name === '' or
$purchase_key === ''
) {
echo 'Please input all the information and try again.';
exit();
}
$get_license = [
'license_key' => $purchase_key,
'app_url' => $appurl,
];
$ch = curl_init('');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $get_license);
// execute!
$response = curl_exec($ch);
// close the connection, release resources used
curl_close($ch);
$res = json_decode($response);
if (!isset($res->success) || !$res->success) {
$_SESSION['purchase_key'] = 'free';
//exit();
} else {
$_SESSION['purchase_key'] = 'free';
}
$link = mysqli_connect($db_host, $db_user, $db_password, $db_name);
if (!$link) {
echo "Error: Unable to connect to MySQL." . PHP_EOL;
echo "Debugging error: " . mysqli_connect_error() . PHP_EOL;
exit();
}
try {
$dbh = new pdo(
"mysql:host=$db_host;dbname=$db_name",
"$db_user",
"$db_password",
[PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]
);
// database connection successful
//create config file
$input =
'<?php
define(\'DB_HOST\', \'' .
$db_host .
'\'); # Database Host
define(\'DB_PORT\', \'\'); # Database Port. Keep it blank if you are un sure.
define(\'DB_USER\', \'' .
$db_user .
'\'); # Database Username
define(\'DB_PASSWORD\', \'' .
$db_password .
'\'); # Database Password
define(\'DB_NAME\', \'' .
$db_name .
'\'); # Database Name
define(\'APP_URL\', \'' .
$appurl .
'\'); # Application URL.
#Please include http and do not use trailing slash after the url. For example use in this format- http://www.example.com Or http://www.example.com/finance
define(\'APP_STAGE\', \'Live\'); # Change Live to Dev to enable Debug
';
$f_msg =
'Can\'t create config file. The folder is not writable. You will have to manually create config file. Create a <strong>config.php</strong> inside- <strong>system</strong> folder with following contents- <hr>
<textarea rows="10" class="form-control">' .
$input .
'</textarea>
<span class="help-block">StackPI required some folders writable. It seems folders is not writable. The App may not work properly. For common troubleshooting tips, please visit- <strong><a href="https://www.cloudonex.com/doc/general/troubleshooting" target="_blank">https://www.cloudonex.com/doc/general/troubleshooting</a></strong></span>
';
$wConfig = "../system/config.php";
if (file_exists($wConfig)) {
echo 'Config file exist. Please delete- <strong>system/config.php</strong> and try again.';
exit();
}
($fh = fopen($wConfig, 'w')) or die($f_msg);
fwrite($fh, $input);
fclose($fh);
echo '1';
} catch (PDOException $e) {
echo 'Connection failed: ' . $e->getMessage();
exit();
}
 
  • Like
Reactions: tapasfun
Friends, would anyone know how to fix the bug, in the calendar it doesn't save the event description! I tried everything and I couldn't get the v7 also this way until the site demo this saves the event in the calendar but doesn't save the description! please help there!
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock