Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Identifier "ajax" Is Not Defined Rate Topic   - - - - -

 
  • ooaykac
  • Senior Member
  • Members
  • Join Date: 22-Nov 12
  • 289 posts

Posted 28 May 2019 - 02:09 PM #1

I am developing a new addon. I want to use ajax. When I try to use ajax in $mode in PHP I get the error below:

PHP Fatal error:  Uncaught InvalidArgumentException: Identifier "ajax" is not defined. in C:\wamp64\www\app\lib\vendor\pimple\pimple\src\Pimple\Container.php:95

How can I identify "AJAX"?



 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 801 posts

Posted 28 May 2019 - 02:21 PM #2

Hello

 

Show a part of your addon code

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19593 posts

Posted 29 May 2019 - 05:57 AM #3

If you run URL in your browser without using ajax, you will see such error. 


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.