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"
The error occurs because the $result and $max_size variables may be empty if the preg_match functions do not find a match for the specified pattern. Therefore, the 0th index element may not exist.I have an error after installation
ErrorException
Undefined array key 0 search →
APPPATH/Views/includes/helper_js.php at line 40
33
34 $upload_max_filesize = ini_get("upload_max_filesize");
35 preg_match('/([a-zA-Z])/', $upload_max_filesize, $result);
36 preg_match('|\d+|', $upload_max_filesize, $max_size);
37
38 $max_filesize = "";
39
40 if (strtoupper($result[0]) == "M") {
41 $max_filesize = $max_size[0] * 1024 * 1024; //convert MB to byte
42 } else if (strtoupper($result[0]) == "G") {
43 $max_filesize = $max_size[0] * 1024 * 1024 * 1024; //convert GB to byte.
44 }
45
46 $custom_filters = get_setting("user_" . $user_id . "_filters");
47 if (!$custom_filters) {
I have an error after installation
ErrorException
Undefined array key 0 search →
APPPATH/Views/includes/helper_js.php at line 40
33
34 $upload_max_filesize = ini_get("upload_max_filesize");
35 preg_match('/([a-zA-Z])/', $upload_max_filesize, $result);
36 preg_match('|\d+|', $upload_max_filesize, $max_size);
37
38 $max_filesize = "";
39
40 if (strtoupper($result[0]) == "M") {
41 $max_filesize = $max_size[0] * 1024 * 1024; //convert MB to byte
42 } else if (strtoupper($result[0]) == "G") {
43 $max_filesize = $max_size[0] * 1024 * 1024 * 1024; //convert GB to byte.
44 }
45
46 $custom_filters = get_setting("user_" . $user_id . "_filters");
47 if (!$custom_filters) {
if (isset($result[0]) && isset($max_size[0])) {
if (strtoupper($result[0]) == "M") {
$max_filesize = $max_size[0] * 1024 * 1024; //convert MB to byte
} else if (strtoupper($result[0]) == "G") {
$max_filesize = $max_size[0] * 1024 * 1024 * 1024; //convert GB to byte
}
} else {
$max_filesize = 0;
}
Hello, can you share a link of this version as 2.6.2 or 2.6.1@Danz
New Update
Version 2.6.1 – 17 November 2020
[Added] Add item categories and category wise filter in sales/store.
[Added] Custom field support for clients and leads import
[Added] Admin should be able to change the owner of the clients.
[Added] Add a new white color template
[Added] Open tickets list widget
[Added] Add settings to create recurring tasks before x days of the start date
[Added] Added option to update logo and avatar without crop
[Added] When google calendar is enabled, show a link in the events
[Added] Read-only option for client access permission
[Added] Embedded form to get external tickets
[Added] New permission on tickets to show assigned tickets only
[Updated] Retry 10 times before setting the unauthorized status on IMAP when trying from cron
[Fixed] Bug on client custom dashboard page when clients add a widget
[Fixed] Don't show the shared events to anyone if the user is inactive
[Fixed] Search doesn't work in lead kanban page
[Fixed] Old date editing resulted as wrong time because of daylight saving on timezone
[Fixed] Client registration bug
[Fixed] Ticket creation notification to creator is not working for non-registered emails.
[Fixed] Don't show 'status_changed_at' in activity logs
[Fixed] Slack notification doesn't contain links
[Fixed] Error in projects list filtering
File on MEGA
mega.nz
- [Added] File manager module
- [Added] File folders in the client details page and client portal
- [Added] Customizable client permissions for different contacts
- [Added] Non-primary contact’s default permission settings
- [Added] Primary contact can update the permissions of the non-primary contacts
- [Added] Different kinds of invoice number format
- [Added] Option to reset the invoice number based on year
- [Added] Invoice PDF background image settings
- [Added] Team...
- [Added] Added GST number in the company settings and applied on invoice, estimate and other places
- [Fixed] Knowledge base page is not loading
- [Fixed] Some notifications are not working
- [Fixed] Wrong currency symbol in the invoice overview widget
- [Fixed] Some security issues in the client details page
- [Fixed] Client currency editing error
index.php/updates/do_update/3.6
$env_checker_file = "env_checker.php";
$removeable_env_checker_file_path = "";
if ($zip->locateName($env_checker_file) !== false) {
file_put_contents($env_checker_file, $zip->getFromName($env_checker_file));
$removeable_env_checker_file_path = $env_checker_file;
$check_result = include ($env_checker_file);
if (get_array_value($check_result, "response_type") == "success") {
//can update...
} else if ($acknowledged != "1" && get_array_value($check_result, "response_type") == "acknowledgement_required") {
unlink($removeable_env_checker_file_path); //remove the env checker file
echo json_encode(array("response_type" => "acknowledgement_required", 'message' => get_array_value($check_result, "message")));
exit();
} else if (get_array_value($check_result, "response_type") == "error") {
unlink($removeable_env_checker_file_path); //remove the env checker file
echo json_encode(array("response_type" => "error", 'message' => get_array_value($check_result, "message")));
exit();
}
}
$env_checker_file = "env_checker.php";
$removeable_env_checker_file_path = "";
if ($zip->locateName($env_checker_file) !== false) {
file_put_contents($env_checker_file, $zip->getFromName($env_checker_file));
$removeable_env_checker_file_path = $env_checker_file;
$check_result = include($env_checker_file);
if (get_array_value($check_result, "response_type") == "success") {
// Can update...
} else if (get_array_value($check_result, "response_type") == "error") {
unlink($removeable_env_checker_file_path); // Remove the env checker file
echo json_encode(array("response_type" => "error", 'message' => get_array_value($check_result, "message")));
exit();
}
}
For those who are getting acknowledgement required message while updating the file usingPlease replace these lines of code inside app/controller/updates.phpCode:index.php/updates/do_update/3.6
With this code blockCode:$env_checker_file = "env_checker.php"; $removeable_env_checker_file_path = ""; if ($zip->locateName($env_checker_file) !== false) { file_put_contents($env_checker_file, $zip->getFromName($env_checker_file)); $removeable_env_checker_file_path = $env_checker_file; $check_result = include ($env_checker_file); if (get_array_value($check_result, "response_type") == "success") { //can update... } else if ($acknowledged != "1" && get_array_value($check_result, "response_type") == "acknowledgement_required") { unlink($removeable_env_checker_file_path); //remove the env checker file echo json_encode(array("response_type" => "acknowledgement_required", 'message' => get_array_value($check_result, "message"))); exit(); } else if (get_array_value($check_result, "response_type") == "error") { unlink($removeable_env_checker_file_path); //remove the env checker file echo json_encode(array("response_type" => "error", 'message' => get_array_value($check_result, "message"))); exit(); } }
Code:$env_checker_file = "env_checker.php"; $removeable_env_checker_file_path = ""; if ($zip->locateName($env_checker_file) !== false) { file_put_contents($env_checker_file, $zip->getFromName($env_checker_file)); $removeable_env_checker_file_path = $env_checker_file; $check_result = include($env_checker_file); if (get_array_value($check_result, "response_type") == "success") { // Can update... } else if (get_array_value($check_result, "response_type") == "error") { unlink($removeable_env_checker_file_path); // Remove the env checker file echo json_encode(array("response_type" => "error", 'message' => get_array_value($check_result, "message"))); exit(); } }
For those who are getting acknowledgement required message while updating the file usingPlease replace these lines of code inside app/controller/updates.phpCode:index.php/updates/do_update/3.6
With this code blockCode:$env_checker_file = "env_checker.php"; $removeable_env_checker_file_path = ""; if ($zip->locateName($env_checker_file) !== false) { file_put_contents($env_checker_file, $zip->getFromName($env_checker_file)); $removeable_env_checker_file_path = $env_checker_file; $check_result = include ($env_checker_file); if (get_array_value($check_result, "response_type") == "success") { //can update... } else if ($acknowledged != "1" && get_array_value($check_result, "response_type") == "acknowledgement_required") { unlink($removeable_env_checker_file_path); //remove the env checker file echo json_encode(array("response_type" => "acknowledgement_required", 'message' => get_array_value($check_result, "message"))); exit(); } else if (get_array_value($check_result, "response_type") == "error") { unlink($removeable_env_checker_file_path); //remove the env checker file echo json_encode(array("response_type" => "error", 'message' => get_array_value($check_result, "message"))); exit(); } }
Code:$env_checker_file = "env_checker.php"; $removeable_env_checker_file_path = ""; if ($zip->locateName($env_checker_file) !== false) { file_put_contents($env_checker_file, $zip->getFromName($env_checker_file)); $removeable_env_checker_file_path = $env_checker_file; $check_result = include($env_checker_file); if (get_array_value($check_result, "response_type") == "success") { // Can update... } else if (get_array_value($check_result, "response_type") == "error") { unlink($removeable_env_checker_file_path); // Remove the env checker file echo json_encode(array("response_type" => "error", 'message' => get_array_value($check_result, "message"))); exit(); } }
index.php/updates/do_update/3.6/1
Check hereAnyone got RISEGUARD addon to work or a nulled version of it?
Thanks, yeah I'm in that thread aswell. It's just kinda dead, but I'm not getting the plugin to work. I cannot get passed the purchase code. I was trying to see how other plugins get passed that. But I'm not getting any wiser lmao
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.