Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-18682

Eztokenform error while uploading a bigger file than setted in the max file size

    Details

      Description

      When trying to upload a media file bigger than the limit that has been set in the creation of the class it raises the following error

      Missing token from Form in /var/www/ezp/.run/extension/ezformtoken/event/ezxformtoken.php on line 62

      Steps to reproduce

       
       
      Setup - Create an Object Relations class
       
      1.Login as admin on administration interface
      2.Click on Setup tab on top menu
      3.Click on Classes on left menu
      4.Click on Content on Class Group block
      5.Click on New Class button
        Name : A Media Class
        Identifier : a_media_class
        Object name pattern : <name>
      6. Add a text line attribute
        Name : Name
        Identifier : name
       
      7. Add a Media attribute
        Name : Media
        Identifier : media
        Media player type: Html5 Video
        Max file size: 3Mb
      8. Click on Ok button
       
      Add a new object
       
      1. Click on content structure, from the top menu
      2. Click on Create New and chose A Media Class from the drop-down list
      Name: Movie
       
      3. Click on "Choose..." button
      4. Chose a file bigger than 3Mb
      5. Click on "Send for publishing" button
      
      

        Activity

        Hide
        Pedro Resende added a comment -

        After a few tests I found out that this issue is related with the post_max_size defined in the php.ini file.
        If it's defined bigger than the chosen file, then there is no issue.

        Show
        Pedro Resende added a comment - After a few tests I found out that this issue is related with the post_max_size defined in the php.ini file. If it's defined bigger than the chosen file, then there is no issue.
        Hide
        ezrobot added a comment -

        This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

        Show
        ezrobot added a comment - This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

          People

          • Assignee:
            unknown
            Reporter:
            Pedro Resende
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: