btw is there any chance my php setting is wrong?
AbanteCart v1.4.3 is released.
Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review
MenuThis section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Basara on August 23, 2019, 01:27:47 AM
Hi.
You can find AbanteCart version in your admin footer right
Quote from: HADY on August 20, 2019, 04:33:58 AM
hi!
What is your abantecart version and what is your recently php version??
Regards
var text_choose_action = <?php js_echo($text_choose_action); ?>;
var text_select_items = <?php js_echo($text_select_items); ?>;
var _table_id = '<?php echo $data['table_id'] ?>';
var table_id = '#<?php echo $data['table_id'] ?>';
var jq_names = [<?php
foreach($data['colNames'] as $col_name){
js_echo($col_name);
echo ',';
}
//echo "'" . implode("','", $data['colNames']) . "'"
?>];
var jq_model = [<?php
$i = 1;
foreach ($data['colModel'] as $m) {
$col = array('resizable: false', 'title: false', 'searchoptions: { sopt:[\'cn\'] }');
foreach ($m as $k => $v) {
if (is_string($v)) {
$col[] = "$k: '" . addslashes($v) . "'";
} else if (is_int($v)) {
$col[] = "$k: " . (int)($v);
} else if (is_bool($v)) {
$col[] = "$k: " . ($v ? 'true' : 'false');
}
}
echo "{" . implode(',', $col) . "}";
if ($i < count($data['colModel'])) {
echo ',';
$i++;
}
echo "\r\n";
}
?>];
var gridFirstLoad = true;
var updatePerPage = function(records, limit) {
var html='',
rowList = [<?php echo implode(',', $data['rowList']) ?>];
for (var i = 0; i < rowList.length; i++) {
if (records > rowList[i]) {
html += '<option '
+ (rowList[i] == limit ? ' selected="selected" ' : '')
+'value="' + rowList[i] + '">'
+ rowList[i] + '</option>';
}
}
if (records <= 100) {
html += '<option '+ (records == limit ? ' selected="selected" ' : '') +'value="' + records + '"><?php echo $text_all ?></option>';
}
$(table_id + '_pager_center .ui-pg-selbox').html(html);
}
$(table_id).jqGrid('GridUnload');
$grid_settings['colModel'] = array(
array(
'name' => 'image',
'index' => 'image',
'align' => 'center',
'width' => 65,
'sortable' => false,
'search' => false,
),
array(
'name' => 'name',
'index' => 'name',
'align' => 'center',
'width' => 200,
),
array(
'name' => 'new_column',
'index' => 'new_column',
'align' => 'center',
'width' => 120,
),
if (isset($_post['nric'])){
$nric = $_post['nric'];
} elseif (isset($_session['guest']['nric'])){
$nric = $_session['guest']['nric'];
} else{
$nric = '';
}
$this->data['form']['fields']['general']['nric'] = $form->getFieldHtml(
array (
'type' => 'input',
'name' => 'nric',
'value' => $nric,
'required' => true,
));
//execute the POST request
$result = curl_exec($ch);
//close cURL resource
curl_close($ch);
if($result=="false"){
header('Location: ' . url.'?rt=account/login&false_entry_login_detail=1');
die();
}
$user_data = json_decode($result);