Fork me on GitHub

Announcement

The oneye project has been discontinued. You might not expect further fixes and support from us. All community related systems are set to read-only mode. Though feel free to download and use oneye as-is or even fork it over at GitHub.

#1 2012-09-18 13:35:21

bene
Member
Registered: 2012-09-18
Posts: 4

Can`t upload files

Hi,

I have a problem. I have installed eyeos and I get an error message if I try to upload some files: Error uploading files: Error occured during file move /tmp/phpTNx7Gf => home://~root/Documents/Powerline.JPG. I am using PHP Version 5.3.13.

Could someone help me?

Greetings benedikt

Offline

#2 2012-09-18 15:27:15

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: Can`t upload files

Welcome Benedikt,

this seems to be a quite ugly bug. What OS do you use? It's centered on Ubuntu Lucid (but occured on CentOS and others, too...)

* Sometimes updating PHP helped. There's PHP 5.3.17 out there right now.
* Sometimes upgrading to Ubuntu Maverick has helped.
* Please, check the owner (chown) and permissions (chmod) of /tmp:

chmod 755 /tmp
chown nobody.nobody /tmp

Sorry for this "leaving things undefined", but searching in the web does not seem to help and I couldn't reproduce this myself...


Best regards,
Lars Knickrehm

The oneye project.

Offline

#3 2012-09-18 15:32:50

bene
Member
Registered: 2012-09-18
Posts: 4

Re: Can`t upload files

I have installed it at my hoster. I can`t use chown. tmp is 777 at the moment

Offline

#4 2012-09-18 15:39:10

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: Can`t upload files

Does other upload script work? In case you can not easily test this, please tell me, so I can provide you a simple testing script. That might help us, figuring out the problem - hopefully wink


Best regards,
Lars Knickrehm

The oneye project.

Offline

#5 2012-09-18 15:47:16

bene
Member
Registered: 2012-09-18
Posts: 4

Re: Can`t upload files

Hmmm I only know the upload filefunction ^^is there another one? sorry I don`t know eyeos so good big_smile

Offline

#6 2012-09-18 17:03:09

s0600204
Member
From: UK
Registered: 2012-01-22
Posts: 118
Website

Re: Can`t upload files

Greetings Benedikt,

May we ask which version of oneye/eyeos you have installed, and the name of the hoster? And if you can answer it, the name and version of the web server (Apache, IIS, etc.).

Assuming you're using the built-in file upload app, which tab are you using, and what happens if you use a different one?

And welcome to the oneye community.

Offline

#7 2012-09-18 20:55:39

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: Can`t upload files

Okay, I got a free minute. Just take the script over at http://pastebin.com/zKX3MLhH and save it as php file on your server - best you do so in a new folder. Now direct your browser to that php file and try to upload a file. Finally you should either see a success message or an error when failing.

There's a second thing: Afer uploading, the file can be found in the same directory, the php file is in. (You might need to give it enough rights!)

Finally I highly recommend you to remove that script, since it's possible to upload any kind of untrusted and critical ware, too!


Best regards,
Lars Knickrehm

The oneye project.

Offline

#8 2012-09-18 21:05:58

bene
Member
Registered: 2012-09-18
Posts: 4

Re: Can`t upload files

Hi thanks for your answer. hoststar.ch is the provider. its an apache server. eyeos 2.5.0. Maybe my files are broken. is there a link for the complete package?

Offline

Board footer

Powered by FluxBB