Sziasztok!
A következő problémában szeretnék segítséget kérni.
adott egy roundcube webmail minden nagyon jól működik kivétel a file feltöltést. config szerint a file a /var/www/roundcube/temp/ mappába kell kerüljön.
Ez meg is történik megkapja a random nevet azonban a mérete 0 kb lesz. És üzenetnek upload failed üzenetet kapok.
temp könyvtár jogai:
ls -la /var/www/roundcube/temp/
total 24
drwxr-xr-x 2 www-data www-data 12288 May 11 20:44 .
drwxr-xr-x 8 www-data www-data 4096 May 11 20:11 ..
-rw-r--r-- 1 www-data www-data 256 May 11 20:26 .htaccess
-rw-r--r-- 1 www-data www-data 257 May 11 20:25 .htaccess~
-rw------- 1 www-data www-data 0 May 11 20:44 rcmAttmnt0x5BfS
szóval már végkép nem tudom mi lehet a gond.
.httacces tartalma
# AddDefaultCharset UTF-8
AddType text/x-component .htc
php_flag display_errors Off
php_flag log_errors On
php_value error_log logs/errors
php_value upload_max_filesize 12M
php_value post_max_size 12M
php_value memory_limit 100M
php_value session.auto_start 0
php_value zlib.output_compression 0
php_value magic_quotes_gpc 0
php_value zend.ze1_compatibility_mode 0
Order allow,deny
Deny from all
Order deny,allow
Allow from all
kis részlet az errors logból is :)
[Native message: ]
[11-May-2011 20:20:54] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]
[Last executed query: DEALLOCATE PREPARE mdb2_statement_mysql_11b79b5b4132ce9eab7aaaa3d0e5ec9a34386f3cd]
[Native code: 1243]
[Native message: Unknown prepared statement handler (mdb2_statement_mysql_11b79b5b4132ce9eab7aaaa3d0e5ec9a34386f3cd) given to DEALLOCATE PREPARE]
[11-May-2011 20:20:54 +0200] DB Error: MDB2 Error: unknown error Query: _doQuery: [Error message: Could not execute statement] [Last executed query: SET$
[11-May-2011 20:20:54] PHP Fatal error: Call to a member function fetchRow() on a non-object in /var/www/roundcube/program/include/rcube_mdb2.php on li$
Tudom haldoklik de volt némi adatbázis sérülés de ez már előtte is ilyen volt :)
A segítséget előre is köszi
Üdv T