Jump to content


Max. upload size problem


  • You cannot reply to this topic
2 replies to this topic

#1 Psycho Mantis

    Etomite Forum Fan

  • Member
  • Pip
  • 113 posts

Posted 23 March 2009 - 01:46 PM

Hi,

I just installed the Xinha editor and am having problems with the maximum file upload size.
The php settings allow up to 50 MB (via htaccess file). Etomite's built-in file manager does fine. Xinha's file and image manager fail, returning the error that the maximum file size of 2 MB was exeeded.

Etomite's configuration page also verifys that the maximum upload size is 50M.

Is there an extra setting for Xinha that I have to apply the larger upload size to?

Many thanks in advance!

.htaccess contents:
php_value upload_max_filesize 50M
php_value post_max_size 50M
php_value max_execution_time 300
php_value max_input_time 300

Edited by Psycho Mantis, 23 March 2009 - 01:46 PM.


#2 Psycho Mantis

    Etomite Forum Fan

  • Member
  • Pip
  • 113 posts

Posted 24 March 2009 - 10:11 AM

I was able to make it work by fixing the maximum upload size in two Xinha files.

/xinha/plugins/InsertPicture/InsertPicture.php
Line 27

and

/xinha/plugins/InsertFile/config.php
Line 119

Wouldn't it be much nicer, if they pulled the maximum upload file value from Etomite's settings?!

#3 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,505 posts
  • Gender:Male

Posted 24 March 2009 - 12:54 PM

View PostPsycho Mantis, on Mar 24 2009, 06:11 AM, said:

I was able to make it work by fixing the maximum upload size in two Xinha files.

/xinha/plugins/InsertPicture/InsertPicture.php
Line 27

and

/xinha/plugins/InsertFile/config.php
Line 119

Wouldn't it be much nicer, if they pulled the maximum upload file value from Etomite's settings?!
Hey, thanks, Psycho Mantis... I had spent some time looking for those sections yesterday but had to break away... Yes, they could be modified to use Etomite settings without much trouble... Other parts of Xinha already use them so adapting from those wouldn't be a problem...





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users