Upload problem

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
maxxer
Posts: 33
Joined: Tue Apr 20, 2010 6:35 pm

Upload problem

Post by maxxer »

Hi.
I am using 2.6.4 and having troubles with file upload.
I tried both Chrome and Swiftfox (firefox 3.6) and both fails.
Whenever the upload completes, the upload box goes to

Code: Select all

admin/attachment.php?action=save
but it's a blank page.
I see no error or whatever.

What could it be?
thanks
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Upload problem

Post by Thorsten »

Hi,

any entries in the error_log?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
maxxer
Posts: 33
Joined: Tue Apr 20, 2010 6:35 pm

Re: Upload problem

Post by maxxer »

if they matters:

Code: Select all

[Mon May 03 08:49:55 2010] [error] [client 10.22.22.207] File does not exist: /var/www/kb/admin/editor/plugins/imagemanager, referer: http://10.22.22.190/kb/
admin/index.php?action=editentry&id=4&lang=it
[Mon May 03 08:49:55 2010] [error] [client 10.22.22.207] File does not exist: /var/www/kb/admin/editor/plugins/filemanager, referer: http://10.22.22.190/kb/a
dmin/index.php?action=editentry&id=4&lang=it
[Mon May 03 08:49:55 2010] [error] [client 10.22.22.207] File does not exist: /var/www/kb/admin/editor/plugins/internalfaqlinkbox, referer: http://10.22.22.1
90/kb/admin/index.php?action=editentry&id=4&lang=it
thanks
maxxer
Posts: 33
Joined: Tue Apr 20, 2010 6:35 pm

Re: Upload problem

Post by maxxer »

and this in access.log

Code: Select all

10.22.22.207 - - [03/May/2010:08:50:14 +0200] "POST /kb/admin/attachment.php?action=save HTTP/1.1" 200 - "http://10.22.22.190/kb/admin/attachment.php?record_
id=4&record_lang=it&rubrik=" "Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.23 Safari/533.4"
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Upload problem

Post by Thorsten »

Hi,

looks like a Chrome problem on Linux... it works on Chrome and Firefox 3.6 here on my Mac OS X.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
maxxer
Posts: 33
Joined: Tue Apr 20, 2010 6:35 pm

Re: Upload problem

Post by maxxer »

seems it was a speed problem...
or whatever.
I even tried locally today, before posting, and didn't work.
Now, away, works on chrome and firefox...

but is it normal that when the popup says "File attached", I press "Ok" to close the window but in the main page the attachment is not displayed?

thanks
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Upload problem

Post by Thorsten »

Hi,

yes, we're working on this.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
maxxer
Posts: 33
Joined: Tue Apr 20, 2010 6:35 pm

Re: Upload problem

Post by maxxer »

I still have an issue...
(with file uploads).

I am trying to upload a 26M file. I increased the value in PMF config to 100000000 and set 100M in php.ini.
Yet, even in local connection, I get the blank box after upload. I tried uploading a smaller file and it works.
I checked error.log and access.log, no particular issue. The only difference between the two uploads is a value next to access.log's return code:

Failed upload:
10.22.22.207 - - [04/May/2010:10:35:09 +0200] "POST /kb/admin/attachment.php?action=save HTTP/1.1" 200 - "http://myhostname/kb/admin/attachment.p ... it&rubrik=" "Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.29 Safari/533.4"

Correct upload
10.22.22.207 - - [04/May/2010:10:35:59 +0200] "POST /kb/admin/attachment.php?action=save HTTP/1.1" 200 943 "http://myhostname/kb/admin/attachment.p ... it&rubrik=" "Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.29 Safari/533.4"


any idea what could be wrong?
thanks
Post Reply