Author Topic: Unable to attach files in 0.4 or 0.3  (Read 4588 times)

Offline futurecis

  • Jr. Member
  • **
  • Posts: 22
    • http://www.futurecis.com
Unable to attach files in 0.4 or 0.3
« on: May 06, 2010, 06:30:55 PM »
I know there are several threads out there on this topic already but none of them seemed like the same scenario.


I am running both a 0.3 and a .04 instance and both cannot upload. I have made sure the following is configured:
     - temp is writeable
     - nothing in the error logs for anything
     - php.ini is configured because I can perform uploads through squirrelmail

In 0.3 I get the upload window but when I click on 'upload' I get the error message "Failed to Upload".

In 0.4, when I click on the plus sign (+) it does nothing. Doesnt even seem to be doing any type of call back function via AJAX.

Is anyone else experiencing these types of issues? Any assistance is appreciated.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Unable to attach files in 0.4 or 0.3
« Reply #1 on: May 06, 2010, 06:42:20 PM »
Quote from: futurecis;27310
In 0.4, when I click on the plus sign (+) it does nothing. Doesnt even seem to be doing any type of call back function via AJAX.

Are you using the default theme?

Offline futurecis

  • Jr. Member
  • **
  • Posts: 22
    • http://www.futurecis.com
Unable to attach files in 0.4 or 0.3
« Reply #2 on: May 06, 2010, 06:56:05 PM »
Quote from: skaero;27311
Are you using the default theme?


No I am using the 'Air' Theme. But I put the default theme back and it worked so that is the issue. Thank you for identifying. Now the question is, what do I need to modify to fix the attach issue? Which files are associated with uploads in the skins directory?

Offline aberrio

  • Jr. Member
  • **
  • Posts: 24
Unable to attach files in 0.4 or 0.3
« Reply #3 on: April 27, 2011, 10:17:49 PM »
Hello,

I having the same problem but I am using the default theme.

Any suggestion?

Kind regards,

Al

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Unable to attach files in 0.4 or 0.3
« Reply #4 on: April 28, 2011, 02:41:04 AM »
Are you have the problem on a fresh install or did you upgrade RoundCube?

Offline aberrio

  • Jr. Member
  • **
  • Posts: 24
Unable to attach files in 0.4 or 0.3
« Reply #5 on: April 28, 2011, 09:12:59 AM »
Hi,

This was a fresh install.  I am able to use Mozilla and outlook to attach files, my files is just a two page .doc file.

I downloaded the latest version last night but I do have problem login, but that is a difference story I will deal when I am ready to upgrade.


Kind regards,

Al

Offline aberrio

  • Jr. Member
  • **
  • Posts: 24
Unable to attach files in 0.4 or 0.3
« Reply #6 on: April 30, 2011, 10:41:02 AM »
Hi,

Anu help in here?

Kind reagrds,

Al

Offline aberrio

  • Jr. Member
  • **
  • Posts: 24
Unable to attach files in 0.4 or 0.3
« Reply #7 on: May 01, 2011, 04:26:56 AM »
Hi,

I found this error in my log file?

[01-May-2011 03:06:40] PHP Warning:  finfo_open(): open_basedir restriction in effect. File(/usr/share/misc/magic) is not within the allowed path(s): (/srv/www/htdocs/webmail.xxxxxxxxxxxxxx.net:/tmp") in /srv/www/htdocs/webmail.xxxxxxxxx.net/program/include/rcube_shared.inc on line 463

Please advise,
Regards,

Al

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Unable to attach files in 0.4 or 0.3
« Reply #8 on: May 01, 2011, 05:51:54 AM »
I think that error tells you everything you need to know, your PHP setup has "open_basedir restriction in effect" that means the it is preventing RC from opening a file it needs, namely /usr/share/misc/magic. stick that error into a search engine and you will find lots of info about it.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline aberrio

  • Jr. Member
  • **
  • Posts: 24
Unable to attach files in 0.4 or 0.3
« Reply #9 on: May 01, 2011, 01:58:44 PM »
Thk John.


SOLVED

the directive in the http conf missed a "." within the line

Regards,

Al
« Last Edit: May 01, 2011, 02:40:29 PM by aberrio »