Jump to content
  • 0

Order creation error


Hasnain Ali

Question

i am getting error that is when the customer pays normally by bank / money order / credit .. when I confirm the service does not appear in the customer panel.

I go and define an order to the customer myself, and he gives this error again.

Whereas this package is defined in whm in and also in wisecp hosting packages is also set.

https: //www.sitename.com/admin/orders/detail  page gives an error "Not found main: detail"  when i create a order.   

Attach is my server sql mode .

School-Logo-png.png

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
On 2/27/2021 at 7:22 PM, Hasnain Ali said:

i am getting error that is when the customer pays normally by bank / money order / credit .. when I confirm the service does not appear in the customer panel.

I go and define an order to the customer myself, and he gives this error again.

Whereas this package is defined in whm in and also in wisecp hosting packages is also set.

https: //www.sitename.com/admin/orders/detail  page gives an error "Not found main: detail"  when i create a order.   

Attach is my server sql mode .

School-Logo-png.png

MySQL 5.7 and above, "SQL MODE" definitions, some commands to prevent the operation of the software is found. These should be removed from the SQL MODE definition and updated as follows.

For the solution;

1) Open the /etc/my.cnf file by accessing your server as root via SSH or SFTP. If you do not have root access, this should be done by your hosting service provider.

2) At the bottom of the opened file, add and save the sql_mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" definition.

3) Restart your MySQL server.

Helpful links : Developer Center | Usage Guide | Translate | What's New?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...