[Vtigercrm-developers] Profile image - vtiger 6.4 did not save it for Contact

Tim Mohrbach preexo at googlemail.com
Thu Jan 28 05:07:01 GMT 2016


It seemed like just some code needed to be turned around, I didn’t add or delete any, just chaged the order and it works completely fine now:
http://code.vtiger.com/preexo/vtigercrm/commit/7f4309a4a8e315ba925b14d80160a76915d804ed 

Anyway, it would be good if one of the solutions can go into the master soon, let’s not forget to have that fixed in 6.5 :)


> On 24.01.2016, at 03:32, Holbok István <holbok at gmail.com> wrote:
> 
> Hi Manu,
> 
> The original error message after turn on debugging:
> Fatal error: Call to undefined function mime_content_type() in ...\data\CRMEntity.php on line 142
> 
> Regarding to suggestion, I comment Line no 167 to 171 in data/CRMEntity.php file.
> Received the too same:
> Fatal error: Call to undefined function mime_content_type() in ...\data\CRMEntity.php on line 142
> 
> Regarding to http://code.vtiger.com/vtiger/vtigercrm/issues/1 <http://code.vtiger.com/vtiger/vtigercrm/issues/1>
> I do the patch fix: http://code.vtiger.com/vtiger/vtigercrm/commit/f54a01e0415389af1a98d2a1b7ad4f4229a27201 <http://code.vtiger.com/vtiger/vtigercrm/commit/f54a01e0415389af1a98d2a1b7ad4f4229a27201>
> and turn on fileinfo php extension.
> 
> The white screen issue is resolved, but the Contact profil image is not saving to database.
> 
> Going back to suggestion, I comment again Line no 167 to 171 in data/CRMEntity.php file.
> 
> And the issue is solved.
> 
> So the total solution:
> Do the patch at http://code.vtiger.com/vtiger/vtigercrm/commit/f54a01e0415389af1a98d2a1b7ad4f4229a27201 <http://code.vtiger.com/vtiger/vtigercrm/commit/f54a01e0415389af1a98d2a1b7ad4f4229a27201>
> and finally comment Line no 167 to 171 in data/CRMEntity.php
> 
> Kindest regards:
> Istvan Holbok
> 
> 2016.01.23. 18:48 keltezéssel, Manu urs írta:
>> Hi
>> 
>> Contact  images  are not uploading as images as it is validating twice in the CRMEntity.php file.(In Line no 146 and  in  170). To fix this issue regarding the product image please comment Line no 167 to 171 in data/CRMEntity.php file.
>> 
>> http://code.vtiger.com/vtiger/vtigercrm/issues/1 <http://code.vtiger.com/vtiger/vtigercrm/issues/1>
>> http://code.vtiger.com/vtiger/vtigercrm/issues/38 <http://code.vtiger.com/vtiger/vtigercrm/issues/38>
>> Regards,
>> 
>> On 23 Jan 2016 21:51, "Holbok István" <holbok at gmail.com <mailto:holbok at gmail.com>> wrote:
>> Hi,
>> 
>> I tested the profile image saving for Contacts in 2 vtiger 6.4 fresh installation.
>> 1.) white screen without error messages
>> (php 5.5, Wndows 10, XAMPP)
>> 
>> 2.) nothing happening - the save procedure run, but the software did not save the image.
>> (php 5.6, CentOs VPS)
>> 
>> Does anybody meet this issue?
>> 
>> Kindest regards:
>> Istvan Holbok
>> 
>> _______________________________________________
>> http://www.vtiger.com/ <http://www.vtiger.com/>
> 
> 
> _______________________________________________
> http://www.vtiger.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20160128/e1c5ae03/attachment-0001.html>


More information about the vtigercrm-developers mailing list