advice with Documents/Attachements pls

Hi, I need advice pls, dont understand if this is a bug or if I misunderstand something

I want to add a png or word file to a contact/account

I tried Documents and Attachments,both…
both same result…I see that a document is attached with nam and link, but I cannot open that document again, the link does not work

Does that make any sense?

Thx

Dan

You might have permissions problems in your “upload” directory.

Also, what is your version of SuiteCRM? Bugs have been fixed regarding this.

If you’re a technical person and you want some background reading you have this: https://pgorod.github.io/How-Attachments-Stored/

Hi pgr,

thank you so much…

I use Version 7.10.3, its a new installation starting with Version 7.10.2 and there also the issue started…

Can you pls point me to the upload folder I needd to check and what permissions would it need?
Edit: Am technical enough to understand the text to find the folder /uploads

it comes with 755 permission amnd owner:group is account owner (cpanel)

THx a million

Dan

Can you access your server via SSH?

If so, please cd into the root directory of your SuiteCRM installation and issue this command:

ls -al upload

and post the results here.

great help and support, thank you!!

this is the result, I changed the group:owners name a little

total 4632
drwxr-xr-x 4 consXXXX consXXXX 4096 Apr 5 15:45 ./
drwxr-x— 22 consXXXX nobody 4096 Apr 6 15:40 …/
-rw-r–r-- 1 consXXXX consXXXX 167918 Apr 3 11:49 29059349-860f-2c34-f8d6-5ac34e133e1c
-rw-r–r-- 1 consXXXX consXXXX 167918 Apr 3 11:48 38bb4bf9-ee51-c371-2e85-5ac34d36fecf
-rw-r–r-- 1 consXXXX consXXXX 164406 Apr 4 16:32 3f732fe6-e607-7ff3-6904-5ac4e1e06b97
-rw-r–r-- 1 consXXXX consXXXX 48111 Apr 5 15:45 74ca2970-9597-60b9-1224-5ac6288f3d59
-rw-r–r-- 1 consXXXX consXXXX 171078 Apr 3 18:30 826f8dd2-eb8a-d8de-4765-5ac3ac0800f8
-rw-r–r-- 1 consXXXX consXXXX 189867 Apr 3 11:52 a8bdc63f-7003-f41a-a279-5ac34eb61726
-rw-r–r-- 1 consXXXX consXXXX 82913 Apr 5 15:44 b65f5aa9-ece7-f497-da40-5ac62860dbbc
-rw-r–r-- 1 consXXXX consXXXX 164406 Apr 4 14:25 e2c7da87-e400-261b-ca2f-5ac4c47436b0
-rw-r–r-- 1 consXXXX consXXXX 2603 Apr 3 11:31 e7da5a75-8c7a-754f-f38b-5ac3499b5225
-rw-r–r-- 1 consXXXX consXXXX 32 Apr 4 16:54 .htaccess
drwxrws— 2 consXXXX consXXXX 4096 Apr 4 13:35 import/
-rw-r–r-- 1 consXXXX consXXXX 3539797 Apr 4 13:34 IMPORT_Contact_1
-rw-r–r-- 1 consXXXX consXXXX 56 Mar 29 12:55 index.html
drwxr-x— 7 consXXXX consXXXX 4096 Apr 3 19:06 upgrades/

thx!!!

Try chmodding those files to 775 and see if it let’s you access them.

If not, what do you have in that .htaccess file? Can you make it more permissive, even if only as a test to see if that is the problem?

Hi pgr,

really appreciate this…
I 755ed it all with filezilla (recursive) but still same issue (I havent tried uploading another file yet though?)

When I click on the document, a new tab opens with a link like this, but it stays empty
http://crm.XXXX.de/index.php?entryPoint=download&id=e2c7da87-e400-261b-ca2f-5ac4c47436b0&type=Documents

htaccess is a bit beyond me…any hint how I could make it less “thick” ?

UPDATE: I tried to upload a new file (pdf), but still same results

# BEGIN SUGARCRM RESTRICTIONS
RedirectMatch 403 .*\.log$
RedirectMatch 403 /+not_imported_.*\.txt
RedirectMatch 403 /+(soap|cache|xtemplate|data|examples|include|log4php|metadata|modules)/+.*\.(php|tpl)
RedirectMatch 403 /+emailmandelivery\.php
RedirectMatch 403 /+upload
RedirectMatch 403 /+cache/+diagnostic
RedirectMatch 403 /+files\.md5$
<IfModule mod_rewrite.c>
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /
    RewriteRule ^cache/jsLanguage/(.._..).js$ index.php?entryPoint=jslang&modulename=app_strings&lang=$1 [L,QSA]
    RewriteRule ^cache/jsLanguage/(\w*)/(.._..).js$ index.php?entryPoint=jslang&modulename=$1&lang=$2 [L,QSA]
    RewriteRule ^cache/jsLanguage/(.._..).js$ index.php?entryPoint=jslang&module=app_strings&lang=$1 [L,QSA]
    RewriteRule ^cache/jsLanguage/(\w*)/(.._..).js$ index.php?entryPoint=jslang&module=$1&lang=$2 [L,QSA]
    RewriteRule ^api/(.*?)$ lib/API/public/index.php/$1 [L]
    RewriteRule ^api/(.*)$ - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
# END SUGARCRM RESTRICTIONS
<IfModule mod_rewrite.c>
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /
    RewriteRule ^cache/jsLanguage/(.._..).js$ index.php?entryPoint=jslang&modulename=app_strings&lang=$1 [L,QSA]
    RewriteRule ^cache/jsLanguage/(\w*)/(.._..).js$ index.php?entryPoint=jslang&modulename=$1&lang=$2 [L,QSA]
    RewriteRule ^api/(.*?)$ lib/SuiteCRM/API/public/index.php/$1 [L]
    RewriteRule ^api/(.*)$ - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
<FilesMatch "\.(jpg|png|gif|js|css|ico)$">
        <IfModule mod_headers.c>
                Header set ETag ""
                Header set Cache-Control "max-age=2592000"
                Header set Expires "01 Jan 2112 00:00:00 GMT"
        </IfModule>
</FilesMatch>
<IfModule mod_expires.c>
        ExpiresByType text/css "access plus 1 month"
        ExpiresByType text/javascript "access plus 1 month"
        ExpiresByType application/x-javascript "access plus 1 month"
        ExpiresByType image/gif "access plus 1 month"
        ExpiresByType image/jpg "access plus 1 month"
        ExpiresByType image/png "access plus 1 month"
</IfModule>

Thx a million

Dan

Is that the .htaccess file you have inside “upload”? It looks like the one on the root directory instead.

Tell me what you have in the upload directory one, or if it is this one, try renaming it to something else and restarting your web server.

Also, please check php_errors.log and suitecrm.log for any errors when you try to access the file and can’t.

1 Like

HI,

yes, that was the main htaccess

here is the /upload htaccess

Order Deny,Allow
Deny from all

attached is a screenshot from my filezilla

here is the error log:
[06-Apr-2018 10:27:27 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 10:27:31 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 10:28:37 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 10:28:40 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 10:28:56 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 10:28:58 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 10:29:07 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 10:29:10 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 14:01:45 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 14:01:49 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 16:38:23 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/conXXX/crm/download.php:180
Stack trace:
#0 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1014): require_once()
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleEntryPoint()
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#3 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#4 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#5 {main}
thrown in /home/conXXX/crm/download.php on line 180
[06-Apr-2018 17:02:44 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/conXXX/crm/download.php:180
Stack trace:
#0 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1014): require_once()
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleEntryPoint()
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#3 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#4 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#5 {main}
thrown in /home/conXXX/crm/download.php on line 180
[06-Apr-2018 17:06:55 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 17:06:58 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 17:08:11 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/conXXX/crm/download.php:180
Stack trace:
#0 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1014): require_once()
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleEntryPoint()
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#3 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#4 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#5 {main}
thrown in /home/conXXX/crm/download.php on line 180
[06-Apr-2018 17:10:12 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 17:10:14 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[06-Apr-2018 17:11:06 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/conXXX/crm/download.php:180
Stack trace:
#0 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1014): require_once()
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleEntryPoint()
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#3 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#4 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#5 {main}
thrown in /home/conXXX/crm/download.php on line 180

and here is the SuiteCRM.log
Tue Apr 3 09:35:58 2018 [22822][1][FATAL] field_defs should be an array
Tue Apr 3 09:42:29 2018 [23487][1][FATAL] field_defs should be an array
Tue Apr 3 09:43:20 2018 [23558][1][FATAL] field_defs should be an array
Tue Apr 3 09:46:22 2018 [24034][1][FATAL] field_defs should be an array
Tue Apr 3 09:47:48 2018 [24096][1][FATAL] field_defs should be an array
Tue Apr 3 09:48:19 2018 [24120][1][FATAL] Exception handling in /home/conXXX/crm/include/MVC/Controller/SugarController.php:402
Tue Apr 3 09:48:19 2018 [24120][1][FATAL] Exception in Controller: Subpanel was not defined
Tue Apr 3 09:48:19 2018 [24120][1][FATAL] backtrace:
#0 /home/conXXX/crm/include/SubPanel/SubPanelViewer.php(61): sugar_die(‘Subpanel was no…’)
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1081): require_once(’/home/conXXX/…’)
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleActionMaps()
#3 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#4 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#5 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#6 {main}
Tue Apr 3 09:48:27 2018 [24126][1][FATAL] field_defs should be an array
Tue Apr 3 09:49:00 2018 [24147][1][FATAL] field_defs should be an array
Tue Apr 3 09:52:37 2018 [24562][1][FATAL] Exception handling in /home/conXXX/crm/include/MVC/Controller/SugarController.php:402
Tue Apr 3 09:52:37 2018 [24562][1][FATAL] Exception in Controller: Subpanel was not defined
Tue Apr 3 09:52:37 2018 [24562][1][FATAL] backtrace:
#0 /home/conXXX/crm/include/SubPanel/SubPanelViewer.php(61): sugar_die(‘Subpanel was no…’)
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1081): require_once(’/home/conXXX/…’)
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleActionMaps()
#3 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#4 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#5 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#6 {main}
Tue Apr 3 10:03:59 2018 [25596][1][FATAL] Exception handling in /home/conXXX/crm/include/MVC/Controller/SugarController.php:402
Tue Apr 3 10:03:59 2018 [25596][1][FATAL] Exception in Controller: Subpanel was not defined
Tue Apr 3 10:03:59 2018 [25596][1][FATAL] backtrace:
#0 /home/conXXX/crm/include/SubPanel/SubPanelViewer.php(61): sugar_die(‘Subpanel was no…’)
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1081): require_once(’/home/conXXX/…’)
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleActionMaps()
#3 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#4 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#5 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#6 {main}
Tue Apr 3 10:14:37 2018 [28526][1][FATAL] field_defs should be an array
Tue Apr 3 10:15:08 2018 [28706][1][FATAL] field_defs should be an array
Tue Apr 3 10:24:40 2018 [29551][1][FATAL] field_defs should be an array
Tue Apr 3 10:44:06 2018 [31466][1][FATAL] Caught error: stat(): stat failed for upload/import/error_1.csv
Tue Apr 3 10:44:06 2018 [31466][1][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
Tue Apr 3 10:44:33 2018 [31466][1][FATAL] Caught error: stat(): stat failed for upload/import/status_1.csv
Tue Apr 3 10:44:33 2018 [31466][1][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
Tue Apr 3 14:44:22 2018 [29807][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:44:22 2018 [29807][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:05 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:05 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:05 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:05 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:05 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:05 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:05 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:05 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:06 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:07 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:08 2018 [29942][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:08 2018 [29942][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:17 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:17 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:17 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:17 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:17 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:17 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:17 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:17 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:17 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:17 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:18 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:19 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:19 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:19 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:19 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:19 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:19 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:19 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:19 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:19 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:19 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:19 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:19 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:20 2018 [29966][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:20 2018 [29966][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:30 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:31 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:32 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:32 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:32 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:32 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:32 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:32 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:32 2018 [30028][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:32 2018 [30028][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:43 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:43 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:43 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:43 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:44 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:45 2018 [30042][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:56 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:56 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:56 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:56 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:56 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:56 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:56 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:56 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:56 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:56 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:56 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:56 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:57 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:58 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:58 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:58 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:58 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:58 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:58 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:45:58 2018 [30065][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:45:58 2018 [30065][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:46:06 2018 [30074][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:46:06 2018 [30074][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:46:06 2018 [30074][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:46:06 2018 [30074][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:46:07 2018 [30074][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:46:07 2018 [30074][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:46:07 2018 [30074][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:46:07 2018 [30074][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 14:46:07 2018 [30074][1][FATAL] error loading relationship project_resource
Tue Apr 3 14:46:07 2018 [30074][1][FATAL] error loading relationship am_projecttemplates_resources
Tue Apr 3 16:30:49 2018 [13895][1][FATAL] Exception handling in /home/conXXX/crm/include/MVC/Controller/SugarController.php:402
Tue Apr 3 16:30:49 2018 [13895][1][FATAL] Exception in Controller: Subpanel was not defined
Tue Apr 3 16:30:49 2018 [13895][1][FATAL] backtrace:
#0 /home/conXXX/crm/include/SubPanel/SubPanelViewer.php(61): sugar_die(‘Subpanel was no…’)
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1081): require_once(’/home/conXXX/…’)
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleActionMaps()
#3 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#4 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#5 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#6 {main}
Tue Apr 3 16:32:34 2018 [14155][1][FATAL] field_defs should be an array
Tue Apr 3 16:56:24 2018 [16380][1][FATAL] field_defs should be an array
Tue Apr 3 17:00:56 2018 [16980][1][FATAL] field_defs should be an array
Wed Apr 4 09:41:58 2018 [2631][1][FATAL] Exception handling in /home/conXXX/crm/include/MVC/Controller/SugarController.php:402
Wed Apr 4 09:41:58 2018 [2631][1][FATAL] Exception in Controller: Subpanel was not defined
Wed Apr 4 09:41:58 2018 [2631][1][FATAL] backtrace:
#0 /home/conXXX/crm/include/SubPanel/SubPanelViewer.php(61): sugar_die(‘Subpanel was no…’)
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1081): require_once(’/home/conXXX/…’)
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleActionMaps()
#3 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#4 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#5 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#6 {main}
Wed Apr 4 10:22:35 2018 [8615][1][FATAL] Caught error: stat(): stat failed for upload/import/error_1.csv
Wed Apr 4 10:22:35 2018 [8615][1][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
Wed Apr 4 10:22:48 2018 [8615][1][FATAL] Caught error: stat(): stat failed for upload/import/status_1.csv
Wed Apr 4 10:22:48 2018 [8615][1][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
Wed Apr 4 10:56:04 2018 [12049][1][FATAL] Caught error: stat(): stat failed for upload/import/error_1.csv
Wed Apr 4 10:56:04 2018 [12049][1][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
Wed Apr 4 10:56:10 2018 [12049][1][FATAL] Caught error: stat(): stat failed for upload/import/status_1.csv
Wed Apr 4 10:56:10 2018 [12049][1][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
Wed Apr 4 11:34:52 2018 [17573][1][FATAL] Loading import map properties.
Wed Apr 4 11:35:47 2018 [17712][1][FATAL] Caught error: stat(): stat failed for upload/import/status_1.csv
Wed Apr 4 11:35:47 2018 [17712][1][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
Wed Apr 4 12:11:46 2018 [23897][1][FATAL] field_defs should be an array
Wed Apr 4 12:23:30 2018 [25097][1][FATAL] Exception handling in /home/conXXX/crm/include/MVC/Controller/SugarController.php:402
Wed Apr 4 12:23:30 2018 [25097][1][FATAL] Exception in Controller: Subpanel was not defined
Wed Apr 4 12:23:30 2018 [25097][1][FATAL] backtrace:
#0 /home/conXXX/crm/include/SubPanel/SubPanelViewer.php(61): sugar_die(‘Subpanel was no…’)
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1081): require_once(’/home/conXXX/…’)
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleActionMaps()
#3 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#4 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#5 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#6 {main}
Wed Apr 4 12:25:17 2018 [25262][1][FATAL] Exception handling in /home/conXXX/crm/include/MVC/Controller/SugarController.php:402
Wed Apr 4 12:25:17 2018 [25262][1][FATAL] Exception in Controller: Subpanel was not defined
Wed Apr 4 12:25:17 2018 [25262][1][FATAL] backtrace:
#0 /home/conXXX/crm/include/SubPanel/SubPanelViewer.php(61): sugar_die(‘Subpanel was no…’)
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1081): require_once(’/home/conXXX/…’)
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleActionMaps()
#3 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#4 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#5 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#6 {main}
Wed Apr 4 14:32:05 2018 [8488][1][FATAL] Exception handling in /home/conXXX/crm/include/MVC/Controller/SugarController.php:402
Wed Apr 4 14:32:05 2018 [8488][1][FATAL] Exception in Controller: Subpanel was not defined
Wed Apr 4 14:32:05 2018 [8488][1][FATAL] backtrace:
#0 /home/conXXX/crm/include/SubPanel/SubPanelViewer.php(61): sugar_die(‘Subpanel was no…’)
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1081): require_once(’/home/conXXX/…’)
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleActionMaps()
#3 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#4 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#5 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#6 {main}
Wed Apr 4 14:53:48 2018 [10828][1][FATAL] Query Failed: ALTER TABLE email_addresses ADD confirm_opt_in VARCHAR(255) DEFAULT ‘opt-in’ NULL: MySQL error 1060: Duplicate column name ‘confirm_opt_in’
Wed Apr 4 15:17:02 2018 [14709][1][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Thu Apr 5 13:44:12 2018 [30792][1][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Fri Apr 6 17:08:54 2018 [14364][1][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Fri Apr 6 17:09:11 2018 [14377][1][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Fri Apr 6 17:10:06 2018 [14497][1][FATAL] Exception handling in /home/conXXX/crm/include/MVC/Controller/SugarController.php:402
Fri Apr 6 17:10:06 2018 [14497][1][FATAL] Exception in Controller: Subpanel was not defined
Fri Apr 6 17:10:06 2018 [14497][1][FATAL] backtrace:
#0 /home/conXXX/crm/include/SubPanel/SubPanelViewer.php(61): sugar_die(‘Subpanel was no…’)
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1081): require_once(’/home/conXXX/…’)
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleActionMaps()
#3 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#4 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#5 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#6 {main}

will try your suggestions

Thx amillion
Dan

UPDATE: renamed the uploadsfolder to uploads old, restarted Apache and uploaded a bnew file… same issue

You need to fix ALL of those FATAL errors.

What is your version of PHP?

Is this your own server, or is it shared hosting? Windows or Linux?

ohhh… this is def beyond me… hope my admin can help

my VPN, Linux

:scared: :slight_smile:

Make sure your PHP version fits this

https://docs.suitecrm.com/admin/compatibility-matrix/

Tell me later if your admin has any questions.

excellent thx!!!

on a quick check of the list you sent me:

Server Version: Apache/2.4.33 (cPanel)
CENTOS 7.4
ea-php70
MySQL 5.6
Browser FF 60b

from what I see ibn the doc my server does have all the necessary software?

really appreciate your help!!

Have a great Weekend

Dan

HI, sorry, took a little longer, my Admins was busy

so we installed SOAP and the error messgs got much less… basically no more errors in suitecrm_log, only some errors in error:log, but these errors must still stop documents from working for me…still get dead link

and my admin is not sure what to do about these errors, do you have an idea?

[16-Apr-2018 12:16:46 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[16-Apr-2018 12:16:49 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SpotsDashlet has a deprecated constructor in /home/conXXX/crm/modules/Spots/Dashlets/SpotsDashlet/SpotsDashlet.php on line 45
[16-Apr-2018 12:21:41 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/conXXX/crm/download.php:180
Stack trace:
#0 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1014): require_once()
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleEntryPoint()
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#3 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#4 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#5 {main}
thrown in /home/conXXX/crm/download.php on line 180
[16-Apr-2018 13:42:46 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/conXXX/crm/download.php:180
Stack trace:
#0 /home/conXXX/crm/include/MVC/Controller/SugarController.php(1014): require_once()
#1 /home/conXXX/crm/include/MVC/Controller/SugarController.php(465): SugarController->handleEntryPoint()
#2 /home/conXXX/crm/include/MVC/Controller/SugarController.php(373): SugarController->process()
#3 /home/conXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#4 /home/conXXX/crm/index.php(52): SugarApplication->execute()
#5 {main}
thrown in /home/conXXX/crm/download.php on line 180

this looks like Sugar stuff to me, nopt server related?

Thx a million

Dan

Ignore the “deprecated” errors, focus on the FATAL.

To try and solve your FATAL error, try enabling fileinfo module on php.ini

HI, wow, great hint… right now only see DEPRECATED" anymore, no more FATAL

and it works!!! tested with pdf so far…

THANK YOU!!!

Dan

HI, new FATAL ERROR occured… any idea what this is and how to amend it?

[05-Jun-2018 07:34:37 UTC] PHP Fatal error:  Uncaught Error: Class name must be a valid object or a string in /home/consetus/crm/include/EditView/SubpanelQuickCreate.php:93
Stack trace:
#0 /home/consXXX/crm/modules/Home/SubpanelCreates.php(77): SubpanelQuickCreate->__construct(NULL, 'EditView')
#1 /home/consXXX/crm/include/MVC/View/SugarView.php(812): include_once('/home/consetus/...')
#2 /home/consXXX/crm/include/MVC/View/views/view.classic.php(74): SugarView->includeClassicFile('modules/Home/Su...')
#3 /home/consXXX/crm/include/MVC/View/SugarView.php(207): ViewClassic->display()
#4 /home/consXXX/crm/include/MVC/Controller/SugarController.php(432): SugarView->process()
#5 /home/consXXX/crm/include/MVC/Controller/SugarController.php(375): SugarController->processView()
#6 /home/consXXX/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#7 /home/consXXX/crm/index.php(52): SugarApplication->execute()
#8 {main}
  thrown in /home/consXXX/crm/include/EditView/SubpanelQuickCreate.php on line 93

Thx a million!!

Dan

Post the contents of your include/EditView/SubpanelQuickCreate.php

and tell me exactly which is line 93 in the file.

1 Like

HI, and thank you so much!
This is the file:

<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
 * SugarCRM Community Edition is a customer relationship management program developed by
 * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.

 * SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd.
 * Copyright (C) 2011 - 2014 Salesagility Ltd.
 *
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License version 3 as published by the
 * Free Software Foundation with the addition of the following permission added
 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along with
 * this program; if not, see http://www.gnu.org/licenses or write to the Free
 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301 USA.
 *
 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
 *
 * The interactive user interfaces in modified source and object code versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU Affero General Public License version 3.
 *
 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
 * these Appropriate Legal Notices must retain the display of the "Powered by
 * SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not
 * reasonably feasible for  technical reasons, the Appropriate Legal Notices must
 * display the words  "Powered by SugarCRM" and "Supercharged by SuiteCRM".
 ********************************************************************************/

require_once('include/EditView/EditView2.php');
/**
 * Quick create form in the subpanel
 * @api
 */
class SubpanelQuickCreate{
    public $defaultProcess = true;

    /**
     * The view type to use
     *
     * @var string
     */
    public $viewType = 'QuickCreate';

    public function __construct($module, $view='QuickCreate', $proccessOverride = false)
    {
        $this->viewType = $view;

        //treat quickedit and quickcreate views as the same
        if($this->viewType == 'QuickEdit') {
            $this->viewType = 'QuickCreate';
        }

        // Get the viewdefs source file, called here to ensure proper viewType setting
        $source = $this->getModuleViewDefsSourceFile($module, $this->viewType);

		// locate the best viewdefs to use: 1. custom/module/quickcreatedefs.php 2. module/quickcreatedefs.php 3. custom/module/editviewdefs.php 4. module/editviewdefs.php
		$base = 'modules/' . $module . '/metadata/';
		$source = 'custom/' . $base . strtolower($view) . 'defs.php';
		if (!file_exists( $source))
		{
			$source = $base . strtolower($view) . 'defs.php';
			if (!file_exists($source))
			{
				//if our view does not exist default to EditView
				$view = 'EditView';
				$source = 'custom/' . $base . 'editviewdefs.php';
				if (!file_exists($source))
				{
					$source = $base . 'editviewdefs.php';
				}
			}
		}

        $this->ev = $this->getEditView();
		$this->ev->view = $this->viewType;
		$this->ev->showVCRControl = false;
		$this->ev->ss = new Sugar_Smarty();
		//$_REQUEST['return_action'] = 'SubPanelViewer';

        $class = $GLOBALS['beanList'][$module];
        $bean = new $class();
        if(!empty($_REQUEST['record'])) {
            $bean->retrieve($_REQUEST['record']);
        }
		$this->ev->setup($module, $bean, $source);
		unset($bean);


		// Bug 49219 - Check empty before set defaults, or the settings from viewdefs above will be overridden.
        if (!isset($this->ev->defs['templateMeta']['form']['headerTpl']))
        {
            $this->ev->defs['templateMeta']['form']['headerTpl'] = 'include/EditView/header.tpl';
        }

		if (!isset($this->ev->defs['templateMeta']['form']['footerTpl']))
        {
            $this->ev->defs['templateMeta']['form']['footerTpl'] = 'include/EditView/footer.tpl';
        }
		// Comment below, breaks many out of the box viewdefs
		/*if (empty($this->ev->defs['templateMeta']['form']['buttons'])) $this->ev->defs['templateMeta']['form']['buttons'] = array('SUBPANELSAVE', 'SUBPANELCANCEL', 'SUBPANELFULLFORM');*/
		$this->ev->defs['templateMeta']['form']['buttons'] = array('SUBPANELSAVE', 'SUBPANELCANCEL', 'SUBPANELFULLFORM');

        //Load the parent view class if it exists.  Check for custom file first
        loadParentView('edit');

		$viewEditSource = 'modules/'.$module.'/views/view.edit.php';
		if (file_exists('custom/'. $viewEditSource)) {
			$viewEditSource = 'custom/'. $viewEditSource;
		}

		if(file_exists($viewEditSource) && !$proccessOverride) {
            include($viewEditSource);
            $c = $module . 'ViewEdit';

            $customClass = 'Custom' . $c;
            if(class_exists($customClass)) {
                $c = $customClass;
            }

            if(class_exists($c)) {
	            $view = new $c;
	            if($view->useForSubpanel) {
	            	$this->defaultProcess = false;

	            	// Check if we should use the module's QuickCreate.tpl file.
	            	if($view->useModuleQuickCreateTemplate && file_exists('modules/'.$module.'/tpls/QuickCreate.tpl')) {
	            	   $this->ev->defs['templateMeta']['form']['headerTpl'] = 'modules/'.$module.'/tpls/QuickCreate.tpl';
	            	}

		            $view->ev = & $this->ev;
		            $view->ss = & $this->ev->ss;
					$class = $GLOBALS['beanList'][$module];
					if(!empty($GLOBALS['beanFiles'][$class])){
						require_once($GLOBALS['beanFiles'][$class]);
						$bean = new $class();
						$view->bean = $bean;
					}
					$this->ev->formName = 'form_Subpanel'.$this->ev->view .'_'.$module;
					$view->showTitle = false; // Do not show title since this is for subpanel
		            $view->display();
	            }
            }
		} //if

		if($this->defaultProcess && !$proccessOverride) {
		   $this->process($module);
		}
	}

	/**
	 * @deprecated deprecated since version 7.6, PHP4 Style Constructors are deprecated and will be remove in 7.8, please update your code, use __construct instead
	 */
	public function SubpanelQuickCreate($module, $view='QuickCreate', $proccessOverride = false){
		$deprecatedMessage = 'PHP4 Style Constructors are deprecated and will be remove in 7.8, please update your code';
		if(isset($GLOBALS['log'])) {
			$GLOBALS['log']->deprecated($deprecatedMessage);
		}
		else {
			trigger_error($deprecatedMessage, E_USER_DEPRECATED);
		}
		self::__construct($module, $view, $proccessOverride);
	}

	function process($module){
        if($_REQUEST['target_action'] == 'QuickCreate'){
            $this->ev->view = 'QuickCreate';
        }
        $form_name = 'form_Subpanel'.$this->ev->view .'_'.$module;
        $this->ev->formName = $form_name;
        $this->ev->process(true, $form_name);
		echo $this->ev->display(false, true);
	}

    /**
     * Get EditView object
     * @return EditView
     */
    protected function getEditView()
    {
        return new EditView();
    }


    /**
     * Finds and returns the best viewdefs to use:
     *  1. custom/module/quickcreatedefs.php
     *  2. module/quickcreatedefs.php
     *  3. custom/module/editviewdefs.php
     *  4. module/editviewdefs.php
     *
     * @param $module
     * @param $view
     * @return string The path to the viewdefs file to use
     */
    public function getModuleViewDefsSourceFile($module, $view) {
        $base = 'modules/' . $module . '/metadata/';
		$source = 'custom/' . $base . strtolower($view) . 'defs.php';
		if (!file_exists($source)) {
			$source = $base . strtolower($view) . 'defs.php';
			if (!file_exists($source)) {
				//if our view does not exist default to EditView
				$this->viewType = 'EditView';
				$source = 'custom/' . $base . 'editviewdefs.php';
				if (!file_exists($source)) {
					$source = $base . 'editviewdefs.php';
				}
			}
		}

        return $source;
    }
}

and in line 93

 $bean = new $class();

Thx a million

Dan

perhaps this error has to do with this?
https://suitecrm.com/suitecrm/forum/suitecrm-7-0-discussion/19413-can-t-add-new-user

then repair work/update to .6 has solved it

Thx

Dan

1 Like