R
R
RETYPER2017-08-08 01:20:53
API
RETYPER, 2017-08-08 01:20:53

Can't figure out the API?

In the online store in the admin panel, it shows the following inscription
Notice: Undefined index: api_session_id in /home/httpd/vhosts/ktl-shop.ru/httpdocs/admin/controller/user/api.php on line 395Notice: Undefined index: token in / home/httpd/vhosts/ktl-shop.ru/httpdocs/admin/controller/user/api.php on line 396Notice: Undefined index: date_added in /home/httpd/vhosts/ktl-shop.ru/httpdocs/admin/controller /user/api.php on line 398Notice: Undefined index: date_modified in /home/httpd/vhosts/ktl-shop.ru/httpdocs/admin/controller/user/api.php on line 399
The code itself looks like this
oreach ($ results as $result) {
$data['api_sessions'][] = array(
'api_session_id' => $result['api_session_id'],
'token' => $result['token'],
'ip' => $result['ip'],
'date_added' => date($this->language->get('datetime_format'), strtotime($result['date_added'])),
'date_modified' = > date($this->language->get('datetime_format'), strtotime($result['date_modified']))
and the API constantly writes some errors, I don't understand what's wrong.
Maybe someone will tell?
site ktl-shop.ru

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question