Re: CATEGORIES_TABS_STATUS Error
Quote:
Originally Posted by
giancalr
OK thank you
Then I have another problem, I am building a payment form, and I have two errors:
-> PHP Warning: Use of undefined constant TABLE_SMARTPAY - assumed 'TABLE_SMARTPAY' (this will throw an Error in a future version of PHP) in /includes/modules/payment/smartpay.php on line 95.
on line 95 of the module is this:
$ sql = "INSERT INTO" .TABLE_SMARTPAY. "
and it gives me this error:
-> PHP Fatal error: 1146: Table 'XXXXXXXX.TABLE_SMARTPAY' doesn't exist :: INSERT INTO TABLE_SMARTPAY
as if he didn't see the table
The define for 'TABLE_SMARTPAY' is missing. That is typically stored in a file. Suggest looking over the files associated with that payment module to ensure that all of them are present and current to your version of Zen Cart. It may still be possible that the table doesn't exist, but one issue at a time..
Re: CATEGORIES_TABS_STATUS Error
thanks, if you want I can send you the files and take a look let me know thanks
1 Attachment(s)
Re: CATEGORIES_TABS_STATUS Error
Hello, attached you will find the package take a look, see if you can make it work, then possibly you can make it available in the payment plugins Thanks
Re: CATEGORIES_TABS_STATUS Error
We've strayed quite a bit from the initial purpose of this thread - if you have an issue with SmartPay, you should really open a new thread to get that fixed.
Re: CATEGORIES_TABS_STATUS Error