[Vtigercrm-developers] Invalid Request on file upload

Rubén A. Estrada Orozco rulotec1 at gmail.com
Wed Apr 27 00:39:20 GMT 2022


Hi Sukhdev,

I don't think it's related to the extension. Because the file I'm having
trouble with is a pdf. I've been able to upload other pdfs, but not a
particular one. Same with zips, some get uploaded, some not.

Saludos

Rubén


On Tue, Apr 26, 2022 at 11:36 AM Sukhdev Mohan <s.mohan at myti.it> wrote:

> A while back I was dealing with uploads, I copied the code from core
> vtiger. They have a $bad_extensions global variable. May it's that, since
> you're trying to upload a zip file.
>
> Il lun 25 apr 2022, 18:22 Rubén A. Estrada Orozco <rulotec1 at gmail.com> ha
> scritto:
>
>> It's apache on CentOS. But I'm also able to reproduce the issue on
>> Ubuntu-Apache too.
>>
>> Saludos
>>
>> Rubén
>>
>>
>> On Mon, Apr 25, 2022 at 1:48 AM Matus Sopko <sopko at its4you.sk> wrote:
>>
>>> Apache or nginx webserver ?
>>> For nginx check the client_max_body_size parameter
>>>
>>> Best regards Matus
>>> IT-Solutions4You
>>>
>>> Dňa 22. 4. 2022 o 18:45 Rubén A. Estrada Orozco napísal(a):
>>>
>>> Thanks for your replies guys!
>>>
>>> Matus, my upload_max_filesize ws 20M but the post_max_size was set to
>>> 8M. After changing post_max_size to 20MB I could upload the 8.5M file that
>>> was failing in the animation. However, the file with which I was originally
>>> struggling is 18.7M. That file is still failing even after changing both
>>> max_upload_size and post_max_size to 30M. Unfortunately I cannot share that
>>> file here since it has sensitive data. I have no clue why that file is
>>> failing :(
>>>
>>> Saludos
>>>
>>> Rubén
>>>
>>>
>>> On Fri, Apr 22, 2022 at 2:23 AM Angelo Paglialonga <
>>> info at angelopaglialonga.com> wrote:
>>>
>>>> Hi Ruben, please check your php config, do you have short tags on? On
>>>> certain files vtiger fails because of this
>>>> *Dott. Angelo Paglialonga*
>>>> *Consulenza vTiger CRM ad alto ROI.*
>>>>
>>>> *Telefono: 338.6077866*
>>>>
>>>>
>>>> Il giorno 22 apr 2022, alle ore 03:00, Rubén A. Estrada Orozco <
>>>> rulotec1 at gmail.com> ha scritto:
>>>>
>>>> Hi,
>>>>
>>>> There is this bug:
>>>>
>>>> <invalid_request_upload_fail.gif>
>>>>
>>>> Does anyone have an idea of how to fix it? It happens only to some
>>>> files and the error is generated by csrf-margic.php
>>>> See more details about the error here:
>>>> https://code.vtiger.com/vtiger/vtigercrm/issues/1709
>>>>
>>>> Saludos
>>>>
>>>> Rubén
>>>> _______________________________________________
>>>> http://www.vtiger.com/
>>>>
>>>>
>>>> _______________________________________________
>>>> http://www.vtiger.com/
>>>
>>>
>>> _______________________________________________http://www.vtiger.com/
>>>
>>>
>>> _______________________________________________
>>> 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/20220426/7c1cd241/attachment-0001.html>


More information about the vtigercrm-developers mailing list