Installation Help: Upload error


page 1 of 1


toggle post quote post Post #215 by themystic 1 year, 9 months ago

Hi!

From a clean install of Lucid I'm having trouble uploading to Lucid Desktop. No matter what I try to upload to no matter where, i get the error: "Error: undefined". The error message is displayed in the lower left corner of the File Browser window. Just to test it out, I also tried the Lucid demo site, and got the same error message there. Which leads me to believe I might have set some permissions wrong? Under Administration Panel the setting api.filesystem.upload is set to be allowed by default.

Please help :)

  • Chris


toggle post quote post Post #217 by psychcf 1 year, 9 months ago

Hi,

We disable file uploads on the demo if I remember correctly, so that's not the issue. Try looking at the following in the troubleshooting doc:

http://www.lucid-desktop.org/documentation/en/dev/user/troubleshoot/#can-t-modify-files

http://www.lucid-desktop.org/documentation/en/dev/user/troubleshoot/#problem-when-uploading-large-files

If trying those two things doesn't work for you, post in this thread again with your server info (php version, web server, etc.). Thanks!

« previous This message has been revised


toggle post quote post Post #218 by themystic 1 year, 9 months ago

Hi!

Thank you for your reply. I should have mentioned in my first post that I've already looked at the troubleshooting guide and tried the solutions provided there. I had an extra look and checked and doublechecked now, but it doesn't seem to correct anything. All help would be greatly appreciated :)

Apache: 2.2.14, MySQL: 5.1.36, PHP: 5.2.11



toggle post quote post Post #219 by psychcf 1 year, 9 months ago

Ok, I think the permissions are fine, it's most likely some other error. If you could open your browser's javascript debug console and see if there are any error messages either there or in your PHP error logs when you upload a file, that may lead to some insight as to what's going on.



toggle post quote post Post #263 by BobbyBurton 9 months ago

I report the same problem, however I did check FireFox's java debug and it gave me nothing. So..just the error: undefined, very frustrating.



toggle post quote post Post #266 by internaut 9 months ago

I am having the same problem. Nothing in Firebug that can help .. just error: undefined

Php 5.2.14, Apache 2.2.14 5.1.36



toggle post quote post Post #267 by psychcf 8 months, 4 weeks ago

I assume both of you have gone through the trouble shooting guide?

Also, please look in your PHP error logs for any relevant bits, it would help me figure out what's going on.

Sorry for the late reply.



toggle post quote post Post #271 by internaut 8 months, 4 weeks ago

I've gone through the apache logs. This is taken from the apache access_log, when I tried to upload a very small file, a few bites:

192.168.2.5 - - [12/May/2011:18:34:19 +0300] "POST /lucid/backend/api/fs.php?section=io&action=getFolder HTTP/1.1" 200 186 192.168.2.5 - - [12/May/2011:18:34:20 +0300] "POST /lucid/backend/api/crosstalk.php?section=io&action=checkForEvents HTTP/1.1" 200 2 192.168.2.5 - - [12/May/2011:18:34:23 +0300] "POST /lucid/backend/api/fs_uploader_workaround.php?vars=737f7925ea1a9cb018ddf6d835e40dca?path=public%3A%2F%2F HTTP/1.1" 200 69 192.168.2.5 - - [12/May/2011:18:34:23 +0300] "POST /lucid/backend/api/fs.php?section=io&action=getFolder HTTP/1.1" 200 186 192.168.2.5 - - [12/May/2011:18:34:23 +0300] "POST /lucid/backend/api/crosstalk.php?section=io&action=checkForEvents HTTP/1.1" 200 2 192.168.2.5 - - [12/May/2011:18:34:23 +0300] "POST /lucid/backend/core/config.php?section=stream&action=save HTTP/1.1" 200 1 192.168.2.5 - - [12/May/2011:18:34:25 +0300] "POST /lucid/backend/api/crosstalk.php?section=io&action=checkForEvents HTTP/1.1" 200 2 192.168.2.5 - - [12/May/2011:18:34:26 +0300] "POST /lucid/backend/api/crosstalk.php?section=io&action=checkForEvents HTTP/1.1" 200 2 192.168.2.5 - - [12/May/2011:18:34:28 +0300] "POST /lucid/backend/api/crosstalk.php?section=io&action=checkForEvents HTTP/1.1" 200 2 192.168.2.5 - - [12/May/2011:18:34:30 +0300] "POST /lucid/backend/api/crosstalk.php?section=io&action=checkForEvents HTTP/1.1" 200 2 192.168.2.5 - - [12/May/2011:18:34:31 +0300] "POST /lucid/backend/api/crosstalk.php?section=io&action=checkForEvents HTTP/1.1" 200 2 192.168.2.5 - - [12/May/2011:18:34:33 +0300] "POST /lucid/backend/api/crosstalk.php?section=io&action=checkForEvents HTTP/1.1" 200 2 192.168.2.5 - - [12/May/2011:18:34:35 +0300] "POST /lucid/backend/api/crosstalk.php?section=io&action=checkForEvents HTTP/1.1" 200 2 192.168.2.5 - - [12/May/2011:18:34:37 +0300] "POST /lucid/backend/api/crosstalk.php?section=io&action=checkForEvents HTTP/1.1" 200 2 192.168.2.5 - - [12/May/2011:18:34:38 +0300] "POST /lucid/backend/api/crosstalk.php?section=io&action=checkForEvents HTTP/1.1" 200 2

This is taken from error log: [Thu May 12 18:34:24 2011] [error] [client 192.168.2.5] , referer: http://192.168.2.2/lucid/desktop/index.html

And yes, I did had a look at the troubleshooting guide. Didn't help.

« previous This message has been revised


toggle post quote post Post #275 by psychcf 8 months, 1 week ago

Hmm, this is definitely weird. I have a feeling it may have to do with the flash uploader, but iirc we disabled that, so maybe not. Have you ever been able to use any other PHP scripts that have file uploads?



toggle post quote post Post #277 by Rocla 8 months, 1 week ago

Hi, I have this problem as well with the version 1.0.1. I think it's a problem with the upgrade of Dojo to 1.3.3, since the version 1.0.0 it's working fine for the upload.. I fixed the upload on the 1.0.1 with another uploader, I am using Juploader. But it's not very nice... In conclusion I guess it's a problem with Dojo 1.3.3..



toggle post quote post Post #278 by psychcf 8 months, 1 week ago

Yeah, Dojo's uploader is kind of wonky, we've had problems with it in the past, so it doesn't surprise us. I'll see if I can get someone to fix it and I'll release a new version, since there are some minor fixes that have been floating around in the repo that have yet to be released. Right now I'm hard at work on 2.0, so I rather not fix this, but if I can't get anyone else to fix it, I'll look into it.



toggle post quote post Post #279 by Rocla 8 months ago

Thank you psychcf :)



toggle post quote post Post #285 by clu55ter 7 months, 3 weeks ago

I have managed to install lucid 1.0.1 on my server now but unfortunatley I have this same problem and cant upload I get Error Undefined I am getting the following bug report.

However I did manage to upload a image with ftp and changed the wall paper my desktop.

Below are a few of the repeated errore Im getting in my php error report

[Sun Jun 12 15:19:05 2011] [error] [client 81.109.225.185] File does not exist: /home/sites/xxxxxxxxxxxx.co.uk/public_html/desktop/dojotoolkit/dojo/dojo.js, referer: http://socialone.co.uk/

[Sun Jun 12 16:35:54 2011] [error] [client 81.109.225.185] , referer: http://xxxxxxxxxxxx.co.uk/desktop/index.html [Sun Jun 12 16:36:54 2011] [error] [client 81.109.225.185] , referer: http://xxxxxxxxxxxx.co.uk/desktop/index.html [Sun Jun 12 16:37:54 2011] [error] [client 81.109.225.185] , referer: http://xxxxxxxxxxxx.co.uk/desktop/index.html

Any help will be apreciated



toggle post quote post Post #286 by psychcf 7 months, 3 weeks ago

clu55ter Wrote:

I have managed to install lucid 1.0.1 on my server now but unfortunatley I have this same problem and cant upload I get Error Undefined I am getting the following bug report.

However I did manage to upload a image with ftp and changed the wall paper my desktop.

Below are a few of the repeated errore Im getting in my php error report

[Sun Jun 12 15:19:05 2011] [error] [client 81.109.225.185] File does not exist: /home/sites/xxxxxxxxxxxx.co.uk/public_html/desktop/dojotoolkit/dojo/dojo.js, referer: http://socialone.co.uk/

[Sun Jun 12 16:35:54 2011] [error] [client 81.109.225.185] , referer: http://xxxxxxxxxxxx.co.uk/desktop/index.html [Sun Jun 12 16:36:54 2011] [error] [client 81.109.225.185] , referer: http://xxxxxxxxxxxx.co.uk/desktop/index.html [Sun Jun 12 16:37:54 2011] [error] [client 81.109.225.185] , referer: http://xxxxxxxxxxxx.co.uk/desktop/index.html

Any help will be apreciated

Ok, your problem involves files not being uploaded completely, try re-uploading everything under /desktop/dojotoolkit/, or making sure it's accessible from the server, and see if it works then.



toggle post quote post Post #288 by q23p 7 months, 1 week ago

Same error, undefined!

Lucid Version 1.0.0.rc2

Webserver nginx/1.0.4

MySQL Ver 14.14 Distrib 5.5.13, for Linux (x86_64) using readline 5.1

PHP Version 5.3.6 with Zend Engine v2.3.0 and Suhosin v0.9.32.1

Look for yourself: http://webtop.q23p.de

« previous This message has been revised


toggle post quote post Post #291 by psychcf 6 months, 3 weeks ago

q23p Wrote:

Same error, undefined!

Lucid Version 1.0.0.rc2

Webserver nginx/1.0.4

MySQL Ver 14.14 Distrib 5.5.13, for Linux (x86_64) using readline 5.1

PHP Version 5.3.6 with Zend Engine v2.3.0 and Suhosin v0.9.32.1

Look for yourself: http://webtop.q23p.de

Try updating to Lucid 1.0.1 and see if you still have the same issue. If that doesn't solve it, it's our problem most likely.



toggle post quote post Post #323 by malek.dalati 1 month, 3 weeks ago

I have problem, I always get [Error:Undefined] every time I try to upload any file, no matter what the file size is. Can you please give me a solution, I don't think its about security. Please Im waiting your reply. Thank you.



page 1 of 1


You need to sign in to post messages.

You are not logged in. You must log in or create an account to contribute to discussions.


This community is powered by Snapboard