Etomite Community Forums: Max. upload size problem - Etomite Community Forums

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Max. upload size problem

#1 User is offline   Psycho Mantis 

  • Etomite Forum Fan
  • Pip
  • Group: Member
  • Posts: 113
  • Joined: 29-May 05
  • Location:Germany

Post icon  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

This post has been edited by Psycho Mantis: 23 March 2009 - 01:46 PM


#2 User is offline   Psycho Mantis 

  • Etomite Forum Fan
  • Pip
  • Group: Member
  • Posts: 113
  • Joined: 29-May 05
  • Location:Germany

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 User is offline   Ralph 

  • Etomite Administrator
  • Icon
  • Group: Admin
  • Posts: 6,372
  • Joined: 01-July 04
  • Gender:Male
  • Location:Jamestown, NY USA
  • Interests:Computers, Camping, Hiking, Aviation

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...

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users