no upload to filearchive: "This is a fault of server!"

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
egerlach
Posts: 74
Joined: Thu 25. Aug 2005, 21:29
Location: Karlsruhe (Germany)

no upload to filearchive: "This is a fault of server!"

Post by egerlach »

Hi,
using phpwcms 1.3.3 (2007/05/02). Suddenly no file upload to filearchive is possible:

Bitte nicht erneut versuchen! Dies ist ein Serverfehler! Setzen Sie sich unverzüglich mit Ihrem webmaster in Verbindung!
my translation to english: "please don't try again, fault of server. Contact your webmaster"

The fault occurs with *any* file, even files with 10 bytes size.

I've installed phpwcms on my linux box here. "df" shows disk space enought (maximum 70%), the same error occurs on my internet providers site, so I'm sure its *NOT* a server problem.


gerlach@rex3:/web/liburg/phpwcms/filearchive>df
Dateisystem 1K-Blöcke Benutzt Verfügbar Ben% Eingehängt auf
/dev/sda1 30969568 17927212 11469196 61% /
/dev/sda6 93309 13768 74724 16% /boot
/dev/sda2 92091328 31867632 55545544 37% /home
/dev/sda5 3842376 2080676 1566512 58% /var

I always sync my files to internet, sql-database is exported an imported with phpMyAdmin. File system rights (here my local installation) are right I hope:

gerlach@rex3:/web/liburg/phpwcms>l
insgesamt 284
drwxrwxr-x 10 gerlach users 4096 2007-10-23 15:00 ./
drwxrwxr-x 4 gerlach users 4096 2008-09-12 13:47 ../
-rw-rw-r-- 1 gerlach users 48437 2007-05-02 12:08 changelog.txt
drwxrwxr-x 3 gerlach users 4096 2007-05-02 12:51 config/
drwxrwxrwx 9 gerlach users 4096 2007-05-02 12:51 content/
-rw-rw-r-- 1 gerlach users 2064 2007-02-18 21:05 dbdown.php
-rw-rw-r-- 1 gerlach users 3715 2007-02-18 21:05 download.php
-rw-rw-r-- 1 gerlach users 8733 2007-04-27 11:19 feeds.php
drwxrwxr-x 3 gerlach users 4096 2008-09-11 18:01 filearchive/
-rw-rw-r-- 1 gerlach users 17070 2007-04-30 23:58 filebrowser.php
-rw-rw-r-- 1 gerlach users 9379 2007-03-21 11:35 fileinfo.php
-rw-rw-r-- 1 gerlach users 16461 2007-02-21 22:46 GPL.html
-rw-rw-r-- 1 gerlach users 17993 2007-02-22 00:03 GPL.txt
-rw-rw-r-- 1 gerlach users 1591 2006-08-05 08:28 _.htaccess
-rw-rw-r-- 1 gerlach users 4211 2007-02-18 21:05 image_resized.php
-rw-rw-r-- 1 gerlach users 2415 2007-03-16 13:39 image_zoom.php
drwxrwxr-x 18 gerlach users 4096 2007-05-02 12:51 img/
drwxrwxr-x 12 gerlach users 4096 2007-09-17 13:10 include/
-rw-rw-r-- 1 gerlach users 8990 2007-10-23 15:00 index.php
-rw-rw-r-- 1 gerlach users 9007 2007-10-23 14:50 index.php~
-rw-rw-r-- 1 gerlach users 2641 2007-02-22 00:39 LICENSE.txt
-rw-rw-r-- 1 gerlach users 15812 2007-03-25 10:13 login.php
-rw-rw-r-- 1 gerlach users 27249 2007-03-21 11:15 phpwcms.php
drwxrwxr-x 3 gerlach users 4096 2007-05-02 12:52 picture/
-rw-rw-r-- 1 gerlach users 1425 2007-02-18 21:05 rss.php
-rw-rw-r-- 1 gerlach users 4410 2007-03-16 14:28 sitemap.php
drwxrwxrwx 14 gerlach users 4096 2007-05-02 12:52 template/
drwxrwxrwx 2 gerlach users 4096 2007-04-18 19:08 upload/
-rw-rw-r-- 1 gerlach users 3528 2007-02-18 21:05 verify.php

gerlach@rex3:/web/liburg/phpwcms/filearchive>l
insgesamt 9056
drwxrwxr-x 3 gerlach users 4096 2008-09-11 18:01 ./
drwxrwxr-x 10 gerlach users 4096 2007-10-23 15:00 ../
-rw-rw-r-- 1 gerlach users 1773399 2008-09-08 01:54 018ee66a87d63148fd31744b4a80f274.pdf
-rw-rw-r-- 1 gerlach users 146025 2007-06-18 02:31 07edd44b0a7cc61695c7aad0cadd860d.jpg
-rw-rw-r-- 1 gerlach users 29230 2008-09-08 01:49 15a9cbfe1c317ce168e24bd61abc00b7.jpg
-rw-rw-r-- 1 gerlach users 4542 2007-06-19 20:25 1c387a9804da040a81252b03027daa82.jpg
-rw-rw-r-- 1 gerlach users 37694 2007-06-22 16:50 1fa1f5419059664fd089643bfe24c226.png
-rw-rw-r-- 1 gerlach users 117114 2007-06-18 03:04 231b4faab40b79ff72148dd930975896.jpg
-rw-rw-r-- 1 gerlach users 26933 2008-09-11 18:01 2aa2ffdf42cc65bc51fc2fbb3d2869ce.png
-rw-rw-r-- 1 gerlach users 99057 2007-06-22 16:09 2d0dc6954fe54e3086e1238c2e77bf76.jpg
[...]

I've searched in archive of this list:
phpInfo:
PHP Core
- max_execution_time
- memory_limit
- upload_max_filesize

Here is the output (of my local LAMP-linux-box):
max_execution_time 30 30
memory_limit 8M 8M
upload_max_filesize 2M 2M

I moved a big pdf-file 1,7MB to /tmp so that the directory filearchive has 7.3MB instead of 9.0MB but no success: I can't load up any file (eg. file of 10bytes).

I worked last two weeks without problems. My waste bucket is empty.
Only filearchive is buggy! Adding a content part "WYSIWYG with picture" I can load up a picture (to picture/upload/ !) and all woks fine! Thats the proof that not disk space is the problem! Only filearchive is suddenly buggy!

ideas?
thx
Eckard
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: no upload to filearchive: "This is a fault of server!"

Post by flip-flop »

Hi,

memory_limit 8M is definitely to small.
There is one image blasting your server memory during thumb generating.
(E.g. gdlib unpack the images to a bitmap file and tries to generate an thumb. This process is catching a lot of memory).

drwxrwxr-x 3 gerlach users 4096 2008-09-11 18:01 filearchive/ isn´t right.
-> drwxrwxrwx

And please make an update to rXXX -> http://jgbm.de/checkout.phtml

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
egerlach
Posts: 74
Joined: Thu 25. Aug 2005, 21:29
Location: Karlsruhe (Germany)

[solved] Re: no upload to filearchive: "This is a fault of .

Post by egerlach »

flip-flop wrote: drwxrwxr-x 3 gerlach users 4096 2008-09-11 18:01 filearchive/ isn´t right.
-> drwxrwxrwx
Knut
that was the solution! I don't know why rights have changed .... !

thx Knut!

Update to latest version is planned next week. I need some features for customizing. But relaunch was more important. see: http://liburg.de liburg.com will be revieved next days
Eckard
Post Reply