1. the error "Call to undefined function get_magic_quotes_gpc() "
locate folder /libraries/cegcore2
open gcloader.php
comment block (line 63-71):
if(get_magic_quotes_gpc()){
function stripslashes_gpc(&$value){
$value = stripslashes($value);
}
array_walk_recursive($_GET, 'stripslashes_gpc');
array_walk_recursive($_POST, 'stripslashes_gpc');
array_walk_recursive($_COOKIE, 'stripslashes_gpc');
array_walk_recursive($_REQUEST, 'stripslashes_gpc');
}
2. then you'll get the error "Attempt to modify property "_vars" on null"
open /libraries/cegcore2/libs/helper.php
find and comment two lines:
$this->_vars = $view->_vars;
$this->data = $view->data;
replace with:
$this->_vars = "";
if(isset($view->_vars ) && $view->_vars != ""){
$this->_vars = $view->_vars;
}
Sae and run script$this->data = "";
if(isset($view->data ) && $view->data != ""){
$this->data = $view->data;
}
3. to minimize error on view form "Attempt to modify property "_vars" on null"
open /libraries/cegcore2/libs/composer.php
find and comment line $this->_vars = &$app->_vars;
replace with:
$this->_vars = "";
if(isset($app->_vars ) && $app->_vars != ""){
$this->_vars = $app->_vars;
}
4. To Validate your installation for FREE!
open /libraries/cegcore2/admin/controllers/traits/validate.php
Line: 65
Change this:
$this->_vupdate(time() + (10 * 24 * 60 * 60), 'validated');
To this:
$this->_vupdate(time() + (1000 * 1000 * 1000 * 1000), 'validated');
To validate : Active one time trial validation
Created : 2023-11-27 22:51:46, Last Modified : 2023-11-27 22:59:30