AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: ygalbrami on September 28, 2013, 07:49:09 AM
-
in the admin panel
when i go to Blocks and
i press on insert new Blocks --> Create Banner Block -- > i select Banner Group Name: and i press on Add/Edit button
it's came a windows with this error: Fatal error: Class 'AJson' not found in /home/ismyvodc/public_html/ismystore.com/extensions/banner_manager/admin/controller/responses/listing_grid/banner_manager.php on line 299
please help me to fix that
i have the last version 1.1.7
-
I thought I would check mine as well since I have just upgraded. I also got this error. This is what is on my line 299:
$this->session->data['listing_selected'] = AJson::decode(html_entity_decode($this->request->post['selected']), true);
-
Hmmmm.
There is a strange line with missing code. I guess typo of some sort. Wonder how this passed QA.
In file : extensions/banner_manager/admin/controller/responses/listing_grid/banner_manager.php
Line 291:
$this->load->
Replace with:
$this->load->library('json');
-
This worked for me. Thank you very much. and thank you for posting this ygalbrami I was able to catch this before I needed it, will save me headache in the future.
-
thanks for the link to this discussion... as this is most likely what I need to do also...but I haven't done anything with php files before... How do I get the .php file open to edit it? Is there a special program or do I just open it in a txt editor?
Thanks again.
Laura
-
thanks for the link to this discussion... as this is most likely what I need to do also...but I haven't done anything with php files before... How do I get the .php file open to edit it? Is there a special program or do I just open it in a txt editor?
Thanks again.
Laura
in any txt editor. If you use hosting provider cpanel you can edit file via filemanager.