Roundcube Community Forum

 

Unable to attach files in 0.4 or 0.3

Started by futurecis, May 06, 2010, 06:30:55 PM

Previous topic - Next topic

futurecis

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.

SKaero

Quote from: futurecis;27310In 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?

futurecis

Quote from: skaero;27311Are 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?

aberrio

Hello,

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

Any suggestion?

Kind regards,

Al

SKaero

Are you have the problem on a fresh install or did you upgrade RoundCube?

aberrio

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

aberrio

Hi,

Anu help in here?

Kind reagrds,

Al

aberrio

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

JohnDoh

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

aberrio

#9
Thk John.


SOLVED

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

Regards,

Al