News:

AbanteCart v1.4.2 is released.

Main Menu

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

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);
To send light into the darkness of men's hearts - such is the duty of the artist.  ~Schumann

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');
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

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.
To send light into the darkness of men's hearts - such is the duty of the artist.  ~Schumann

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.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -