Code

Discussion on Karenderia Multiple Restaurant System

Discussion on Karenderia Multiple Restaurant System

Cart 5,364 sales

bastikikang supports this item

Supported

This author's response time can be up to 2 business days.

29722 comments found.

Hi Basti,

I am using Karenderia Multiple Restaurant System 5.4.5 (29 April 21). I have an error when I try to login as admin or merchant, it is the following:

Fatal error: Uncaught CHttpException: The CSRF token could not be verified. in /usr/share/nginx/html/protected/components/HttpRequest.php:54 Stack trace: # 0 /usr/share/nginx/html/yiiframework/base/CComponent.php(561): HttpRequest-> validateCsrfToken (Object (CEvent)) # 1 /usr/share/nginx/html/yiiframework/base/CApplication.php(212): CComponent-> raiseEvent (‘onbeginrequest’, Object (CEvent)) # 2 / usr / share / nginx / html /yiiframework/base/CApplication.php(183): CApplication-> onBeginRequest (Object (CEvent)) # 3 /usr/share/nginx/html/index.php(65): CApplication-> run () # 4 {main } thrown in /usr/share/nginx/html/protected/components/HttpRequest.php on line 54

Additional Information: The application server is an EC2 instance – AWS nginx / 1.20.0 PHP 7.3.28 MySQL 5.5.68-MariaDB

Thank you

Regards,

usually if the token cannot verified is the server issue like session is not working

email me here all your access so i can check like site link, admin login and ftp access

and provide screenshot of the error

https://codecanyon.net/user/bastikikang#contact

leave a comment here once you send it so i will be notified

cheers

Hi Basti,

Sorry I don’t have FTP for security.

I have an ec2 from AWS.

But, if you help me with the solution, I’ll fix it here, please.

Thanks mate.

Greetings,

sorry mate i cannot tell where to check cause i need to check your server

usually issue with csrf token is when token is post to ajax example

the token is 123456 now in ajax call this will validated and the token also in ajax its should be also 123456

now in your case the send token and backend ajax is not the same that is why it cannot validated

usually issue with this is server session and some folder permission like assets folder and protected/runtime

now we have options to disabled this but your ajax now is not secure anymore

you can turn off this in protected/config/main.php

change 'params'=>array( 'validate_request_session'=>true, 'validate_request_csrf'=>true, ), to 'params'=>array( 'validate_request_session'=>false, 'validate_request_csrf'=>false, ), but then again this is not advisable

Basti.

Is there any possibility that in Pick-up deliveries some payment methods are not supported?

hi mate

you mean if customer choose pickup you can select what payment list will appear?

if yes sorry not available

question what is the purpose of this one?

Basti? I sent you previous messages and by email

hello,

does it support apple pay and google pay?

any details about this matter please?

thank you

hi mate

sorry i did not add yet this type of payment gateway

will do in future updates

cheers

How do I add a payment system from another company?

hi mate

adding payment gateway requires knowledge in php so if you don’t have any background in coding you will find it hard to understand this

adding payment gateway is very easy if you know how to code just example stripe

when you pay using stripe it will call this action controller in storecontroller.php

public function actionstripeInit() { // all code goes here }

cheers

Hi Basti, can you consider this feature

admin can block particular customers (COD) payment type.

hi mate

will do take note

can i know the reason for this one?

Hi Basti, have you added a consent screen where customer can upload his photo ID for 18years plus verification ( this is required for delivery of alcoholic drinks)

at the moment we don’t have this one

what we have right now is a popup for 18yrs above under admin -> theme settings -> Age Restriction

CRUD Order functions release date?

after new version of kmrs i will release POS addon so you can create and update existing or new order

cheers

Hi Basti,

I want to change the Twitter icon for the Instagram icon and I’ve noticed that if I just change “ion-social-twitter” to “ion-social-instagram” the icon changes.

Where can I find this line? – https://snipboard.io/qMJcr1.jpg

in which section are you trying to change this one? can you provide screenshot

I want to change the Twitter icon on the store page (mySite/menu/storeName) – https://snipboard.io/OAyfu8.jpg. Also, is there a way to hide the minimum delivery price when it’s zero?

ok mate you need to change this icon in views/front/menu-header.php

change this

<i class="ion-social-twitter" /> to <i class="ion-social-instagram" />

after cross 150 orders per day – driver dashboard is not working hanging up – unable to assign orders to delivery boys – support required – HIGH PRIORTY

junk files creating continuously every secon creating two files like below i mentioned, so every day my website traffic crossed 2 GB.

root/tmp folder 1623243481.M338954P3550337.sg2plcpnl0211.prod.sin2.secureserver.net

how to resolve this issue.

in hosting server error_log :

[09-Jun-2021 20:45:35 Asia/Kolkata] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/padmasai/public_html/daawatathome.com/yiiframework/web/helpers/CJSON.php on line 128 [09-Jun-2021 20:46:24 Asia/Kolkata] PHP Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/padmasai/public_html/daawatathome.com/yiiframework/web/CHttpRequest.php on line 130 [09-Jun-2021 20:46:25 Asia/Kolkata] PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /home/padmasai/public_html/daawatathome.com/protected/modules/mobileapp/components/AddonMobileApp.php on line 1175

Driver app st rucked – Every Day HTTP – www.daawatathome.com 18th today total bandwidth 1.63 GB for 200 Order only – around 500 customers are using mobile app.

I have added cron job still files are creating.

Current Cron Jobs:

i have observed – in database table -> mt_driver_mapsapicall

“{\n \”error_message\” : \”You have exceeded your daily request quota for this API. If you did not set a custom daily request quota, verify your project has an active billing account: http:\/\/g.co\/dev\/maps-no-account\”,\n \”results\” : [],\n \”status\” : \”OVER_QUERY_LIMIT\”\n}\n”

every minute 126 logs creating – how to stop or how to control

Table : mt_driver_mapsapicall auto logs generated per minute – 126 nos. with below message.

“{\n \”error_message\” : \”You have exceeded your daily request quota for this API. If you did not set a custom daily request quota, verify your project has an active billing account: http:\/\/g.co\/dev\/maps-no-account\”,\n \”results\” : [],\n \”status\” : \”OVER_QUERY_LIMIT\”\n}\n”

how to resolve this plz suggest.

----------------- https://www.daawatathome.com/driver/index/map_api_logs – Every second logs automatically generating.

that error means you have exceeded api calls to google

you need to set your billing account for google api to work

please check your server there is some settings there to turn off the logs

Hi, i want to add some custom php code in some pages, but when i do it, the page doesnt works well, i mean the page loads with out any style

is this the custom page found in admin panel?

if yes you cannot add any php code in there it should be only a text

if you want to create a php page you need to create it as action view

example

in front end browse

link is /browse

browse is the action name

you can find this in controllers/storecontroller.php public function actionbrowse()

here are some basic understand how yii controller works

https://www.yiiframework.com/doc/guide/1.1/en/basics.controller

Hi basti, sorry again same question: karenderia v2 will be compatible with karenderia v1? I mean can I use karenderia v1 or wait untill you finish? Karenderia v2 will have new design? Do you believe in july the karenderia v2 will be finished? sorry about asking again I’m anxious. karenderia is the best software i purchase on codecanyon :D

hi mate

am trying to make the v1 supported in this new version 2 might have a migration code

i will post this once its ready i gather already some people to review the new version 2 before its final release so we can fixed some minor bugs

yeah i think july is possible

thank you for continues support to karenderia

cheers

Renewal problem is charging me for three licenses

hi mate

the issue with Encryption is when the card encrypted is using different key

so make sure the key you set in admin -> Offline Credit Card Payment -> Encryption Key

is the same key you use as before

Basti I have not changed the password, this happens in some new clients. As I said, they are not all clients, sometimes it works, sometimes I get this error

hi mate

this is encryption method which can decrypt and encrypt

if you don’t have any ecnryption keys i suggest put one

Dear Mate, I have small issue but i don’t understand how it happen,

in the admin back end, when i click on “update date base”, there are some values back to their default values, such as :-

these setting became enabled :

setting of merchant :- - Close Store? - Make Delivery Time Required? -Tips Enabled?

this setting became disabled

Enabled Voucher?

why do you think this is happening

hi mate

update database functions is only to create new fields and views there is no code that will update any data in your database

you can even check the file for this in controllers/updatecontroller.php

you cannot find any code that will update any data

this will only correct your database if there is new fields added like if i release new version

well, Many thanks Mate

Hi Basti! I just saw there is a survey for new features. I kindly send you two features important to me and for some other people that are not between the options :

- Different schedules “Store days(s) Open” sections in each merchant config: One for delivery times and another one for pickup times.

- In the driverAPP. For a multicity operation, an option to autoasing “send to all” only to a group of drivers. This could be either setting a radius for autoasign “send to all”, or linking each merchan to driver shared driver teams, so merchant from each city share a team or drivers.

Thanks for your dedication!

Regards

suggestion noted mate

cheers

Hello Basti,

Issue in payment gateways, when an establishment registers for commission, the gateways do not appear to the merchant in web and app.

1. payment options

it will depends in your merchant type

membership = this means all payment will receive by merchant directly and merchant will need to set the payment settings in merchant panel

commission = this means all payments will go to admin/website owner and the payment settings will be use is in admin panel

commission+invoice = same as membership and they will receive invoice that they need to pay to website owner

2. what do you mean print?

Thanks. Prints on thermal printers do not come out with special characters like accents

sorry mate i think your asking for support already

Dear Author,

I am facing a serious performance issue after deployment this product on AWS EC2 instance. Mainly the performance issue appears, when application try to listing the items i.e: merchants, the page itself taking 8-10 seconds to respond. It is difficult for me to track down the issue whether its an environment or an application. The database itself hosted on localhost.

Kindly let me know what all information you need from my end to debug this issue .

enabled the Enabled lazyload in admin -> settings -> menu options

to make the food item listing more faster

Hi, Add this function in version 2. The “Zen Mode” would be a focused view so retailers could see all order progress and then they could make some changes, here is an example.

Below is the image in your language.

Example: https://prnt.sc/14mw4rj

thanks for the sugestion it will be more like the merchant app

that i done it has the same idea

cheers

enough please add the option of delivery service that is something very good and I assure you that you will be able to make even more sales

mate i know what it is :)

am not sure why would we add this in karenderia our apps for restaurant not courier app

this is like bringme or lalamove

Yes, friend, but there are many applications that provide that service in the same restaurant application as an additional category.

I sent you an email, please read my message and reply to me when I can. Thank you

thanks mate i will check your email

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey