Author Topic: Error: Exceeds the maximum size  (Read 5141 times)

Offline ENavarro

  • Jr. Member
  • **
  • Posts: 12
Error: Exceeds the maximum size
« on: March 17, 2017, 06:15:31 PM »
Hi, I have my roundcube mounted on ubuntu, everything works fine, the only problem I have is when I try to attach a file and I get the error: "the file exceeds the maximum size (2 mb)", I could help with that Problem please, where I have to correct, I await your response, thank you.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Error: Exceeds the maximum size
« Reply #1 on: March 17, 2017, 07:20:51 PM »
Change the upload_max_filesize and post_max_size options in the php.ini.

Offline ENavarro

  • Jr. Member
  • **
  • Posts: 12
Re: Error: Exceeds the maximum size
« Reply #2 on: March 21, 2017, 10:44:37 AM »
Change the upload_max_filesize and post_max_size options in the php.ini.

Hello, my php.ini configuration does not have any line where they say those options that give me to change, I have to create or is created by default those lines?  :o

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Error: Exceeds the maximum size
« Reply #3 on: March 21, 2017, 10:53:36 AM »
They would be in the full php.ini file but I'm guessing your trying to overwrite the file so you would need to add the lines if there not current in the file.

Offline ENavarro

  • Jr. Member
  • **
  • Posts: 12
Re: Error: Exceeds the maximum size
« Reply #4 on: March 21, 2017, 04:50:33 PM »
They would be in the full php.ini file but I'm guessing your trying to overwrite the file so you would need to add the lines if there not current in the file.

Hello, since I thank you for your help in all my post, now I did what I was told and the time I entered my roundcube webmail I got the following error, I have installed my roundcube in ubuntu and the roundcube does not allow me to upload files as Max 2 mb, could you please guide me, thank you.

« Last Edit: March 22, 2017, 10:21:22 AM by ENavarro »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Error: Exceeds the maximum size
« Reply #5 on: March 21, 2017, 04:54:38 PM »
That configuration needs to go in the php.ini not in Roundcube config file.

Offline rm13

  • Full Member
  • ***
  • Posts: 129
Re: Error: Exceeds the maximum size
« Reply #6 on: March 23, 2017, 07:18:51 PM »
Did you restart the web server after changing php.ini ? I think it needs to reload it to see the changes.

Also check  /etc/roundcube/htaccess

That will override the php.ini in a default setup.