mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Uploading Email to History with attachment, error for view attachment #1360
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#1360
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GrupImatica on GitHub (Oct 21, 2016).
Hi, i'm getting error 500 when i go to see an uploaded file without any problems in History / Attach Email / With Attachments
After save with any error, i go to the email, and try to open file and i get error 500
Your Environment
@shogunpol commented on GitHub (Oct 26, 2016):
@GrupImatica , can you follow by template when you create an issue? So i am not able to replicate the issue, because i do not have enough information about an issue, i do not know what module, operation or functionalities you use. So: when you start, what you select, where you upload/download file. Please provide step-by-step reproducing issue section.
Thanks for your contribution.
@GrupImatica commented on GitHub (Oct 27, 2016):
Hi, i go to an account:

i go to history:

i add new item with attachment (any PDF)

And i go to new item created:

When i clic to see PDF:

@GrupImatica commented on GitHub (Oct 27, 2016):
I attach PHP LOG:
[27-Oct-2016 12:29:40 Asia/Kuwait] PHP Warning: Declaration of SugarEmailAddress::save($id, $module, $new_addrs = Array, $primary = '', $replyTo = '', $invalid = '', $optOut = '', $in_workflow = false) should be compatible with SugarBean::save($check_notify = false) in C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\include\SugarEmailAddress\SugarEmailAddress.php on line 1162
[27-Oct-2016 12:29:52 Asia/Kuwait] PHP Warning: Declaration of SugarEmailAddress::save($id, $module, $new_addrs = Array, $primary = '', $replyTo = '', $invalid = '', $optOut = '', $in_workflow = false) should be compatible with SugarBean::save($check_notify = false) in C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\include\SugarEmailAddress\SugarEmailAddress.php on line 1162
[27-Oct-2016 12:30:02 Asia/Kuwait] PHP Warning: Declaration of SugarEmailAddress::save($id, $module, $new_addrs = Array, $primary = '', $replyTo = '', $invalid = '', $optOut = '', $in_workflow = false) should be compatible with SugarBean::save($check_notify = false) in C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\include\SugarEmailAddress\SugarEmailAddress.php on line 1162
[27-Oct-2016 12:30:02 Asia/Kuwait] PHP Notice: Undefined offset: 1 in C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\download.php on line 110
[27-Oct-2016 12:30:02 Asia/Kuwait] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\download.php:174
Stack trace:
#0 C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\include\MVC\Controller\SugarController.php(864): require_once()
#1 C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\include\MVC\Controller\SugarController.php(394): SugarController->handleEntryPoint()
#2 C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\include\MVC\Controller\SugarController.php(307): SugarController->process()
#3 C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\include\MVC\SugarApplication.php(105): SugarController->execute()
#4 C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\index.php(52): SugarApplication->execute()
#5 {main}
thrown in C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\download.php on line 174
[27-Oct-2016 12:30:26 Asia/Kuwait] PHP Warning: Declaration of SugarEmailAddress::save($id, $module, $new_addrs = Array, $primary = '', $replyTo = '', $invalid = '', $optOut = '', $in_workflow = false) should be compatible with SugarBean::save($check_notify = false) in C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\include\SugarEmailAddress\SugarEmailAddress.php on line 1162
[27-Oct-2016 12:30:31 Asia/Kuwait] PHP Warning: Declaration of SugarEmailAddress::save($id, $module, $new_addrs = Array, $primary = '', $replyTo = '', $invalid = '', $optOut = '', $in_workflow = false) should be compatible with SugarBean::save($check_notify = false) in C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\include\SugarEmailAddress\SugarEmailAddress.php on line 1162
[27-Oct-2016 12:30:35 Asia/Kuwait] PHP Warning: Declaration of SugarEmailAddress::save($id, $module, $new_addrs = Array, $primary = '', $replyTo = '', $invalid = '', $optOut = '', $in_workflow = false) should be compatible with SugarBean::save($check_notify = false) in C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\include\SugarEmailAddress\SugarEmailAddress.php on line 1162
[27-Oct-2016 12:30:36 Asia/Kuwait] PHP Warning: Declaration of SugarEmailAddress::save($id, $module, $new_addrs = Array, $primary = '', $replyTo = '', $invalid = '', $optOut = '', $in_workflow = false) should be compatible with SugarBean::save($check_notify = false) in C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\include\SugarEmailAddress\SugarEmailAddress.php on line 1162
[27-Oct-2016 12:30:41 Asia/Kuwait] PHP Warning: Declaration of SugarEmailAddress::save($id, $module, $new_addrs = Array, $primary = '', $replyTo = '', $invalid = '', $optOut = '', $in_workflow = false) should be compatible with SugarBean::save($check_notify = false) in C:\inetpub\wwwroot\GRUPIMATICA\SuiteCRM\include\SugarEmailAddress\SugarEmailAddress.php on line 1162
@shogunpol commented on GitHub (Oct 27, 2016):
After additional information i been able to replicate an issue in recent version of suiteCRM(7.7.6), however it appear only in Windows/MSSQL environment.
We label this issue as a "Bug"
@GrupImatica , thanks for your contribution.
@GrupImatica commented on GitHub (Nov 16, 2016):
Hi, what is the planing of this Bug ?
We cannot use any file on any form of Suite CRM.
All getting error at opening files.
@GrupImatica commented on GitHub (Nov 18, 2016):
@shogunpol, @willrennie , @JimMackin Do you know where is the error for correct manually in our installation before the bug is fixed? We need this urgently :(
Thanks a lot.
Ivan
@sgaved commented on GitHub (Dec 5, 2016):
This issue is caused by not having the Fileinfo extension enabled in php.ini.
@caspervzla commented on GitHub (May 8, 2017):
Hi,
I have the same problem.
SuiteCRM Version used: 7.8.2
Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Chrome 57.0.2987.133
Environment name and version (e.g. MySQL, PHP 7): MySQL 5.5, PHP 5.3.8
Operating System and version (e.g Ubuntu 16.04): Windows Server 2008 R2