News:

AbanteCart v1.4.2 is released.

Main Menu

fatal error - banner

Started by ygalbrami, September 28, 2013, 07:49:09 AM

Previous topic - Next topic

ygalbrami

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:
QuoteFatal 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


artist3412

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);

abantecart

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');

artist3412

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.

xbusymom

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

abolabo

Quote from: xbusymom on November 04, 2013, 11:14:49 AM
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.

Forum Rules Code of conduct
AbanteCart.com 2010 -