New issue started Friday. When a user enters a new contact or lead either;
a. it takes over two minutes to save
b. nothing saves and Im taken to a white, http screen with error 500, This Page isnt Working
Steps taken to resolve unsuccessfully;
a. rebuild repair tool in crm
b. updated from version 7.8.3 to version 7.8.5
Neither steps fixed the problem.
Is there a file somewhere limiting entries or would this be more of a possible hard drive issue? Any pointers in the right direction would be greatly appreciated.
Thank you in advance.
Iâve seen those errors before. That table âversionsâ was deprecated a few versions ago. My 7.9.4 system doesnât have it. But it seems some code is left-ove that is looking for it.
However, Iâm pretty sure that error doesnât occur when going through screens, but only in upgrades, am I right? Please double-check the timestamps on those errors, and try to infer what you were doing when they occurred.
It would be nice to get us an error message exactly when the problem occurs. Maybe when you get a blank screen, you can find an error message in php_errors.log.
I am working with Jason on this. There are no errors in the php_errors log file (we had to enable it) We are getting an error in the HTTPD log
[Thu Aug 24 10:42:07 2017] [error] [client 192.168.0.68] PHP Strict Standards: Declaration of MyAccountsDashlet::process() should be compatible with DashletGeneric::process($lvsParams = Array, $id = NULL) in /var/www/html/CRM/modules/Accounts/Dashlets/MyAccountsDashlet/MyAccountsDashlet.php on line 48, referer: http://192.168.0.251/CRM/index.php
It appears to manifest when a record is either being edited or created
You can try some queries from phpMyAdmin, or run database repairs on those tables and any related indexes.
If you get long delays when working directly on the database, then you know itâs not a SuiteCRM app problem. Try an INSERT or two. If you bring the suitecrm log level up to DEBUG you can see the exact queries SuiteCRM is trying, and you can try them directly in MySQL.
Still stuggling with this issue. Some more info from the users⌠Here is their issues:
When editing an account, the system will not save the e-mail address, when creating a new lead, good luck finding it later â it wonât come up on any searches. Takes forever to save an edited task, notes take a long time to save too. Opening notes takes a bit long as well
Anything here give an idea what might be going on?
I went to that blog and ran the query and got back emails for our users. I ran repair table on the tables listed there, that ran pretty quick. I do not know where to elevate the log to debug, can you tell me that? Also, where is that log file kept? Do you know if the system validates email addresses when entering new or updating a record?
One of my users refreshed his page and got this result:
Unknown Error (8192): Non-static method SugarWidgetReportField::_get_column_select() should not be called statically, assuming $this from incompatible context occurred in /var/www/html/CRM/include/generic/SugarWidgets/SugarWidgetFieldname.php on line 248 [2017-09-01 13:24:43] display_stack_trace caller, file: /var/www/html/CRM/include/utils.php line#: 3413
/var/www/html/CRM/include/generic/SugarWidgets/SugarWidgetFieldname.phpL:248
/var/www/html/CRM/include/Dashlets/DashletGeneric.phpL:343
/var/www/html/CRM/include/Dashlets/DashletGeneric.phpL:391
/var/www/html/CRM/modules/Meetings/Dashlets/MyMeetingsDashlet/MyMeetingsDashlet.phpL:109
/var/www/html/CRM/modules/Home/index.phpL:236
/var/www/html/CRM/modules/Home/views/view.list.phpL:52
/var/www/html/CRM/include/MVC/View/SugarView.phpL:169
/var/www/html/CRM/include/MVC/Controller/SugarController.phpL:363
/var/www/html/CRM/include/MVC/Controller/SugarController.phpL:310
/var/www/html/CRM/include/MVC/SugarApplication.phpL:105
/var/www/html/CRM/index.phpL:52
This was right below it
Unknown Error (8192): Non-static method SugarWidgetReportField::_get_column_select() should not be called statically, assuming $this from incompatible context occurred in /var/www/html/CRM/include/generic/SugarWidgets/SugarWidgetFieldname.php on line 248 [2017-09-01 13:24:48] display_stack_trace caller, file: /var/www/html/CRM/include/utils.php line#: 3413
/var/www/html/CRM/include/generic/SugarWidgets/SugarWidgetFieldname.phpL:248
/var/www/html/CRM/include/Dashlets/DashletGeneric.phpL:343
/var/www/html/CRM/include/Dashlets/DashletGeneric.phpL:391
/var/www/html/CRM/modules/Meetings/Dashlets/MyMeetingsDashlet/MyMeetingsDashlet.phpL:109
/var/www/html/CRM/include/MySugar/retrieve_dash_page.phpL:267
/var/www/html/CRM/include/MVC/Controller/SugarController.phpL:864
/var/www/html/CRM/include/MVC/Controller/SugarController.phpL:394
/var/www/html/CRM/include/MVC/Controller/SugarController.phpL:307
/var/www/html/CRM/include/MVC/SugarApplication.phpL:105
/var/www/html/CRM/index.phpL:52
,
I went into the log and there were no errors Nothing called an error for that time frame When I search by time 13:24 and set reg exp on I get ALOT of this:
L:
/var/www/html/CRM/modules/Configurator/LogView.phpL:160
/var/www/html/CRM/include/MVC/View/SugarView.phpL:761
/var/www/html/CRM/include/MVC/View/views/view.classic.phpL:74
/var/www/html/CRM/include/MVC/View/SugarView.phpL:169
/var/www/html/CRM/include/MVC/Controller/SugarController.phpL:363
/var/www/html/CRM/include/MVC/Controller/SugarController.phpL:310
/var/www/html/CRM/include/MVC/SugarApplication.phpL:105
/var/www/html/CRM/index.phpL:52
Warning: preg_match(): Delimiter must not be alphanumeric or backslash occurred in /var/www/html/CRM/modules/Configurator/LogView.php on line 160 [2017-09-01 14:39:16]
Does this tell you anything? The whole log is filled with thie entry over and over again
The preg_match error is actually an error in the code that is grepping your log. It seems you entered a reg exp filter that doesnât play well. Exactly what was it, just â13:24â or did you add any other characters or delimiters?
Anyway, that doesnât really matter to your most important problem.
I think it would be better if you started looking at the logs from Linux, not from the Web UI. And donât just grep them, give us a full DEBUG log (with hundreds of lines, if necessary - just put it inside the forumâs code tags) of the time before pressing the button for the long delayed queries, up to the time when it ends.
By examining the time stamps of the messages we can probably see between which two points it is hanging. Even if those messages are not error messages.
You are right I just put in 13:24 for the search. I will see if I can replicate the error and get the log entries online. Thank you so much for your help so far!
I asked for 3 minutesâ worth of suitecrm.log, you posted 18 hours of syslog⌠your post was so long that I couldnât get into this page to answer you, it would hangâŚ
I had to ask Dillon Brown who is an admin to delete that post so we could continue on this thread. I suspect this involves some kind of bug in the forum software, it really shouldnât hang eternally just because of a long post.
Anyway, going forward:
Please set your log to DEBUG level (in Admin / System Settings), and give me the lines from suitecrm.log around the time when you press the button to see the operation that gives that long delay. I want to see the log from just before it begins, to after it ends (and nothing else!).
Thanks and sorry for this confusion.
P.S. - if you get too much text perhaps you can paste it in pastebin.com and just give us a link here.
Oops sorry about that! I saw that the system appeared to reset and I wanted to make sure you saw that. So, I have the log set for debug, now if I can just get it to fail. I will do my best.
Thanks
About your syslog: I still have it in the email that the forums sent when you posted. It has a LOT of Cups errors, thatâs related to printing, perhaps as part of some Samba service that you might be running (to connect to Windows printers).
Your restart looks like somebody restarted the server manually, it doesnât look like a crashâŚ
It could be good to stop those services (Cups, or Samba?) and see if you can get rid of all that junk in syslog, and then see if that makes a difference for your SuiteCRM problem.
Also check your general disk space with
df -h
and look for any oversized logs with
du -h /var/log