From 348a15e9877210afdc2f999f3cddb04d6e20118f Mon Sep 17 00:00:00 2001 From: Abdulrahman Date: Mon, 28 Jan 2019 11:30:40 +0300 Subject: [PATCH] fixes --- includes/mysqli.php | 1 + install/update.php | 2 +- lang/ar/install.php | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/includes/mysqli.php b/includes/mysqli.php index 1044528..2d9e727 100755 --- a/includes/mysqli.php +++ b/includes/mysqli.php @@ -451,6 +451,7 @@ class KleejaDatabase { global $config; $error_message .= "
Your Kleeja database might be old, try to update it now from: " . rtrim($config['siteurl'], '/') . "/install"; + $error_message .= "

If this error happened after installing a plugin, add define('STOP_PLUGINS', true); to end of config.php file."; } $error_message .= "

Script: Kleeja
Kleeja Website
"; $error_message .= ''; diff --git a/install/update.php b/install/update.php index 5af00c0..27e2457 100755 --- a/install/update.php +++ b/install/update.php @@ -90,7 +90,7 @@ case 'action_file': $file = str_replace('.php','', $file); $db_ver = $order_update_files[$file]; - var_dump($db_ver); + // var_dump($db_ver); if((empty($config['db_version']) || $db_ver > $config['db_version'])) { diff --git a/lang/ar/install.php b/lang/ar/install.php index 5d70a4c..c32f730 100755 --- a/lang/ar/install.php +++ b/lang/ar/install.php @@ -91,8 +91,8 @@ return array( //UPDATOR 'INST_CHOOSE_UPDATE_FILE' =>'قم بإختيار التحديث المناسب لك ومن ثم تابع التحديث ..', 'INST_ERR_NO_SELECTED_UPFILE_GOOD' =>'ملف التحديث غير مناسب أو أنه غير موجود من الأساس ! ..', - 'INST_UPDATE_CUR_VER_IS_UP' =>'النسخة الحالية محدثة لهذا التحديث المحدد.', - + 'INST_UPDATE_CUR_VER_IS_UP' =>'نسختك الحالية محدثة لهذا التحديث المحدد.', + 'INST_NOTES_UPDATE' =>'ملاحظات التحديث',