suitecrm 7.10.7: Cannot read property 'value'

Uncaught TypeError: Cannot read property ‘value’ of undefined
at Function.SugarWidgetScheduler.update_time (jsclass_scheduler.js:82)
at Cal.js?v=hxzkn2l-GejcfR21aQF4vA:107

jsclass_scheduler.js:82 Uncaught TypeError: Cannot read property ‘value’ of undefined
at Function.SugarWidgetScheduler.update_time (jsclass_scheduler.js:82)
at Object.CAL.GR_update_focus (Cal.js?v=hxzkn2l-GejcfR21aQF4vA:71)
at Object.CAL.reset_edit_dialog (Cal.js?v=hxzkn2l-GejcfR21aQF4vA:54)
at Object.CAL.load_create_form (Cal.js?v=hxzkn2l-GejcfR21aQF4vA:103)
at callback (Cal.js?v=hxzkn2l-GejcfR21aQF4vA:115)
at Object.CAL.dialog_create (Cal.js?v=hxzkn2l-GejcfR21aQF4vA:113)
at Et.function.e.constructor.select (Cal.js?v=hxzkn2l-GejcfR21aQF4vA:157)
at Ot.W [as trigger] (fullcalendar.min.js?v=hxzkn2l-GejcfR21aQF4vA:6)
at Et.function.e.constructor.trigger (fullcalendar.min.js?v=hxzkn2l-GejcfR21aQF4vA:8)
at Et.function.e.constructor.triggerSelect (fullcalendar.min.js?v=hxzkn2l-GejcfR21aQF4vA:9)
SugarWidgetScheduler.update_time @ jsclass_scheduler.js:82
CAL.GR_update_focus @ Cal.js?v=hxzkn2l-GejcfR21aQF4vA:71
CAL.reset_edit_dialog @ Cal.js?v=hxzkn2l-GejcfR21aQF4vA:54
CAL.load_create_form @ Cal.js?v=hxzkn2l-GejcfR21aQF4vA:103
callback @ Cal.js?v=hxzkn2l-GejcfR21aQF4vA:115
CAL.dialog_create @ Cal.js?v=hxzkn2l-GejcfR21aQF4vA:113
select @ Cal.js?v=hxzkn2l-GejcfR21aQF4vA:157
W @ fullcalendar.min.js?v=hxzkn2l-GejcfR21aQF4vA:6
trigger @ fullcalendar.min.js?v=hxzkn2l-GejcfR21aQF4vA:8
triggerSelect @ fullcalendar.min.js?v=hxzkn2l-GejcfR21aQF4vA:9
reportSelection @ fullcalendar.min.js?v=hxzkn2l-GejcfR21aQF4vA:9
interactionEnd @ fullcalendar.min.js?v=hxzkn2l-GejcfR21aQF4vA:7
trigger @ fullcalendar.min.js?v=hxzkn2l-GejcfR21aQF4vA:7
handleInteractionEnd @ fullcalendar.min.js?v=hxzkn2l-GejcfR21aQF4vA:7
handleInteractionEnd @ fullcalendar.min.js?v=hxzkn2l-GejcfR21aQF4vA:7
endInteraction @ fullcalendar.min.js?v=hxzkn2l-GejcfR21aQF4vA:7
f @ sugar_grp1_jquery.js?v=hxzkn2l-GejcfR21aQF4vA:2
dispatch @ sugar_grp1_jquery.js?v=hxzkn2l-GejcfR21aQF4vA:3
r.handle @ sugar_grp1_jquery.js?v=hxzkn2l-GejcfR21aQF4vA:3


when i click on the cel of calendar, in first time the quickcreate load normally the form,
but the next quickcreate stay a loop loading(in other cel or same)!! i need help because idk how to fix this.

Hi. The first thing I would try is upgrading your 7.10.7 to 7.10.9

(and then please do this quick fix: https://github.com/salesagility/SuiteCRM/pull/6371/files)

This will probably solve the problem.

If not, make sure you check also your two server-side logs.

Hi, I’ve updated my suitecmm and continue the error, how i put photo here ?
Because the button add file is dont enable!!

To attach files here:
https://suitecrm.com/suitecrm/forum/suitecrm-7-0-discussion/16012-file-attachments-having-problems-attaching-files-to-posts-on-this-forum-solution#53797

It seems Chrome has more problems for this than other browsers.

If you still can’t do it, try here:

https://pasteboard.co

hey man, i have another problem, i found this post https://suitecrm.com/suitecrm/forum/suitecrm-7-0-discussion/4469-error-while-loading-calendar,
and i play the commands on serve and explode this erro on the serve.

this commands:
sudo chown -R www-data:www-data .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php

https://pasteboard.co/HJaQJ96.png

Those commands are fine, as long as your web server user name is www-data. If it isn’t, they will totally break your SuiteCRM. You need to check this.

As I wrote above, please check your server side logs, Browser errors are not interesting for this kind of troubleshooting…

1 Like

omg the name is not www-data, i play the command with name serve.

i’m sorry, but idk where my serve side log, i’m use cPanel.

Can you get SSH access?

You should have a file called suitecrm.log on the root of your installation.

And you can ask your hosting where you can access your web server log to see PHP errors.

i have access, im using putty.

photo log suitecrm.
https://pasteboard.co/HJcbuFa.png

my suitecrm it’s in Portuguese.

i fix the error 500, but the loading forever on calendar in quickcreate not stop.

Ok, então suponho que você já consegue se conectar na base de dados correctamente.

Quando pegar output do Putty pode seleccionar e fazer “copy” como texto, não é necessário fazer uma imagem.

Qual é o resultado deste comando (a partir da directoria do SuiteCRM):

ls -al

E deste?

ps -ef | egrep '(httpd|apache2|apache)' | grep -v `whoami` | grep -v root | head -n1 | awk '{print $1}'

esta é do ls -al:
https://pasteboard.co/HJdu8FI.png

este é do ps -ef:
https://pasteboard.co/HJdumVR.png

O “ls -al” tem de ser depois de fazer “cd” até à directoria do SuiteCRM - aquela onde está o “suitecrm.log” e o “index.php”, etc. A minha ideia é perceber qual o usuário que é dono (owner) dos ficheiros.

Quanto ao “ps”, parece estar dando o número do processo (pid) em lugar do nome do usuário, que era o que eu pretendia… tenta assim:

ps -ef | egrep '(httpd|apache2|apache)'

Só estou tentando verificar as permissões, sem isso não vale a pena investigar outros erros.

ps -ef:

https://pasteboard.co/HJCxECK.png

o “ls -al” mostra apenas pastas que estão no projeto!!

meu suitecrm carregando:
https://pasteboard.co/HJCCRNY.png

eu tenho outra pergunta tbm, como eu coloco um link para uma view no header.
https://pasteboard.co/HJDh3vS.png

este é o log de erro!!!
https://pasteboard.co/HJDrXlG.png

Ok… várias coisas:

  1. "o ls -al mostra apenas pastas que estão no projeto!! " - certo, mas mostra também o owner e as permissões, que é o que eu preciso de saber

  2. Com o Putty você pode fazer copy-paste de texto para pôr aqui nos Fóruns, não precisa de usar imagem

  3. O log de PHP é importante, ainda bem que encontrou. Mas as mensagens “Deprecated” e “Info” não são importantes, é mais importante encontrar “Warning”, “Error” ou “Fatal”. Também convém olhar para o “timestamp”, queremos saber os erros que sucedem no momento em que o écran da aplicação está dando erro para o usuário

ls -al:

total 4388
drwxr-xr-x 23 fmsistemamed fmsistemamed 4096 Oct 22 11:49 ./
drwxr-x— 5 fmsistemamed nobody 4096 Oct 22 11:49 …/
drwxr-xr-x 2 fmsistemamed fmsistemamed 4096 Oct 18 08:15 .github/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2122 Oct 22 11:31 .htaccess*
-rw-r–r-- 1 fmsistemamed fmsistemamed 1911 Oct 22 10:50 .htaccess-1540216247
-rw-r–r-- 1 fmsistemamed fmsistemamed 2048 Oct 22 10:51 .htaccess-1540216282
-rw-r–r-- 1 fmsistemamed fmsistemamed 2048 Oct 22 10:51 .htaccess-1540216287
-rw-r–r-- 1 fmsistemamed fmsistemamed 2055 Oct 22 10:51 .htaccess-1540216301
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2048 Oct 22 10:51 .htaccess-1540216314*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 1976 Oct 22 10:52 .htaccess-1540216322*
-rw-r–r-- 1 fmsistemamed fmsistemamed 2122 Oct 22 11:22 .htaccess-1540218150
-rw-r–r-- 1 fmsistemamed fmsistemamed 2055 Oct 22 11:25 .htaccess-1540218301
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2048 Oct 22 11:31 .htaccess-1540218690*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 3094 Oct 18 09:19 CODE_OF_CONDUCT.md*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2656 Oct 18 09:19 HandleAjaxCall.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 34539 Oct 18 08:15 LICENSE.txt*
-rw-r–r-- 1 fmsistemamed fmsistemamed 25 Oct 22 11:46 Meetings
drwxr-xr-x 3 fmsistemamed fmsistemamed 4096 Oct 22 10:54 ModuleInstall/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 3872 Oct 18 09:19 README.md*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 195 Oct 18 09:19 RoboFile.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 5901 Oct 18 09:19 SugarSecurity.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 6051 Oct 18 09:19 TreeData.php*
drwxr-xr-x 2 fmsistemamed fmsistemamed 4096 Oct 22 10:55 XTemplate/
drwxr-xr-x 7 fmsistemamed fmsistemamed 4096 Oct 18 08:15 Zend/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 411 Oct 18 09:19 bower.json*
drwxr-xr-x 15 fmsistemamed fmsistemamed 4096 Oct 18 08:15 cache/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 3477 Oct 18 09:19 campaign_tracker.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 1313 Oct 18 09:19 composer.json*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 153273 Oct 18 09:19 composer.lock*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 11973 Oct 18 09:28 config.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 1210 Oct 18 08:15 config_override.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 4928 Oct 18 09:19 cron.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2290 Oct 18 09:19 crossdomain.xml*
drwxr-xr-x 13 fmsistemamed fmsistemamed 4096 Oct 18 09:19 custom/
drwxr-xr-x 3 fmsistemamed fmsistemamed 4096 Oct 18 08:15 data/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2240 Oct 18 09:19 dictionary.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 12836 Oct 18 09:19 download.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2246 Oct 18 09:19 emailmandelivery.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 175176 Oct 22 11:55 error_log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 4791 Oct 18 09:19 export.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 967627 Oct 18 08:15 files.md5*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2222 Oct 18 09:19 ical_server.php*
drwxr-xr-x 58 fmsistemamed fmsistemamed 4096 Oct 18 09:21 include/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2371 Oct 18 09:19 index.php*
drwxr-xr-x 6 fmsistemamed fmsistemamed 4096 Oct 18 08:15 install/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 19570 Oct 18 08:15 install.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 32173 Oct 18 09:19 install.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2275 Oct 18 09:19 json_server.php*
drwxr-xr-x 3 fmsistemamed fmsistemamed 4096 Oct 18 08:15 jssource/
drwxr-xr-x 9 fmsistemamed fmsistemamed 4096 Oct 18 09:19 lib/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2157 Oct 18 09:19 log_file_restricted.html*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2226 Oct 18 09:19 maintenance.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 865 Oct 18 08:15 manifest.php*
drwxr-xr-x 2 fmsistemamed fmsistemamed 4096 Oct 18 08:15 metadata/
drwxr-xr-x 125 fmsistemamed fmsistemamed 4096 Oct 18 08:15 modules/
drwxr-xr-x 3 fmsistemamed fmsistemamed 4096 Oct 18 08:15 nbproject/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 7608 Oct 18 08:15 ornicorporate_01_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2942 Oct 18 08:15 ornicorporate_01_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_02_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 514 Oct 18 08:15 ornicorporate_02_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 962 Oct 18 08:15 ornicorporate_03_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 1075 Oct 18 08:15 ornicorporate_04_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 1770 Oct 18 08:15 ornicorporate_04_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 8974 Oct 18 08:15 ornicorporate_05_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 388 Oct 18 08:15 ornicorporate_06_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_06_08.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_06_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_06_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_07_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_07_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 616 Oct 18 08:15 ornicorporate_08_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_08_08.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_08_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 1075 Oct 18 08:15 ornicorporate_08_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 7542 Oct 18 08:15 ornicorporate_09_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_09_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_10_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_10_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_11_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_11_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_12_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 623 Oct 18 08:15 ornicorporate_13_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_13_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_14_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_14_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_15_08.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 820 Oct 18 08:15 ornicorporate_15_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 422 Oct 18 08:15 ornicorporate_16_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 205 Oct 18 08:15 ornicorporate_16_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_17_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_17_10.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 900 Oct 18 13:16 ornicorporate_18_10.log*
-rw-r–r-- 1 fmsistemamed fmsistemamed 0 Oct 19 14:36 ornicorporate_19_10.log
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_20_08.log*
-rw-r–r-- 1 fmsistemamed fmsistemamed 0 Oct 20 12:49 ornicorporate_20_10.log
-rwxr-xr-x 1 fmsistemamed fmsistemamed 1555 Oct 18 08:15 ornicorporate_21_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_22_08.log*
-rw-r–r-- 1 fmsistemamed fmsistemamed 1703 Oct 22 13:44 ornicorporate_22_10.log
-rwxr-xr-x 1 fmsistemamed fmsistemamed 627 Oct 18 08:15 ornicorporate_23_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_23_08.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_24_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 12972 Oct 18 08:15 ornicorporate_25_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_25_08.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_25_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_26_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_26_08.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_26_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 1869 Oct 18 08:15 ornicorporate_27_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_27_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_28_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 31845 Oct 18 08:15 ornicorporate_28_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2315 Oct 18 08:15 ornicorporate_29_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 209 Oct 18 08:15 ornicorporate_29_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 752 Oct 18 08:15 ornicorporate_30_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_30_08.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 3977 Oct 18 08:15 ornicorporate_30_09.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 0 Oct 18 08:15 ornicorporate_31_07.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2751 Oct 18 09:19 pdf.php*
-rw-r–r-- 1 fmsistemamed fmsistemamed 63052 Oct 22 11:37 php.ini
-rw-r–r-- 1 fmsistemamed fmsistemamed 63053 Oct 22 10:52 php.ini-1540218689
-rwxr-xr-x 1 fmsistemamed fmsistemamed 306 Oct 18 09:19 php_version.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 310 Oct 18 09:19 phpcs.xml*
-rw-r–r-- 1 fmsistemamed fmsistemamed 21 Oct 22 11:48 phpinfor2.php
drwxr-xr-x 2 fmsistemamed fmsistemamed 4096 Oct 18 08:15 public/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 73 Oct 18 08:15 robots.txt*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 3458 Oct 18 09:19 run_job.php*
drwxr-xr-x 12 fmsistemamed fmsistemamed 4096 Oct 18 08:15 service/
drwxr-xr-x 2 fmsistemamed fmsistemamed 4096 Oct 18 08:15 soap/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 4007 Oct 18 09:19 soap.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 154 Oct 18 09:19 sugar_version.json*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2293 Oct 18 09:19 sugar_version.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 73532 Oct 18 08:15 suitecrm.log*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 173 Oct 18 09:19 suitecrm_version.php*
drwxr-xr-x 6 fmsistemamed fmsistemamed 4096 Oct 18 09:19 themes/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 93 Oct 18 09:19 travis.php.ini*
drwxr-xr-x 3 fmsistemamed fmsistemamed 4096 Oct 18 08:15 upgrade/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2398336 Oct 18 09:28 upgradeWizard.log*
drwxr-xr-x 5 fmsistemamed fmsistemamed 4096 Oct 18 08:42 upload/
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2848 Oct 18 09:19 vCard.php*
-rwxr-xr-x 1 fmsistemamed fmsistemamed 2248 Oct 18 09:19 vcal_server.p


no error log não tem nenhum recente de “Warning”, “Error” ou “Fatal”!!