Jump to content

Can't add new orders. Orders page appears to be broken.


Darkphyre

Recommended Posts

Hello,

 

I can't seem to add new orders to my WHMCS 4.3.1 installation.

 

In the "Add Order" page, the "Client" and "Payment gateway" drop down menus are just blank. The "Product/Service" drop down menu is just stuck at "None."

 

It was working fine for weeks. We had over 300 orders then all of a sudden it just stopped working.

 

In the "Manage Orders" page, no orders are being shown at all. Even the "Staff Online" section on the bottom left corner of the page is just blank.

 

Here are some screenshots:

 

 

selection027.png

 

 

selection026.png

 

 

Please advice. Thank you.

Link to comment
Share on other sites

I just checked my mysql server log files and its spitting something out whenever we try to view the orders via whmcs. I have attached the log file.

 

It looks like it's failing when trying to perform the following query:

 

SELECT id,firstname,lastname,companyname,groupid FROM tblclients WHERE status='Active' ORDER BY `firstname` ASC,`lastname` ASC

 

But I don't understand why if we are able to browse the tblclients table without any issues via phpmyadmin.

 

I tried updating my MySQL version from 5.0.51a to 5.1.51 (the latest stable release) to see it may have been a bug in 5.0.51a and that does not appear to have fixed it. I get the same error message in the log file.

 

Please advise. Thank you.

whmcsmysqllog.txt

Link to comment
Share on other sites

Woooo! That fixed it! Thank you so much!

 

So I guess It's just crashing because it's querying too much data? Or is there something else going on here?

 

Looks like it. You can try to tweak your buffer sizing a bit if you want to enable the full client dropdown list again.

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
Reply to this topic...

×   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated