[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] PHP uploading problem on RaQ3 fopen
- Subject: [cobalt-users] PHP uploading problem on RaQ3 fopen
- From: chae <chae@xxxxxxxxxxxx>
- Date: Fri Jun 14 01:40:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi Yah,
I've just had a customer move their hosting from another provider to us.
The customer has a mysql database set-up with PHP scripting, now on one of
the pages they have a file upload routine, when the routine is run we get
the following error...
Unable to move file from tmp.
./db_images/bouquets/test_heliconia.jpg/tmp/php0p0CsQ test_heliconia.jpg
File open failed
Everything else seems to be working okay except the file uploading. I've
had a root through the archive and there was something similar back in 2000
but since then there have been many RAQ Patches and updates plus a PHP update.
I've checked the php.ini and that has the following:
allow_url_fopen = On
open_basedir = /home/sites
file_uploads = On
upload_tmp_dir = /tmp
No FrontPage so all folders in users ownership. Did see somewhere that on
one of the Cobalt updates the /tmp folder changed and it's now a sym link
which apparently Apache does like ? The other thing (be gentle just a
learner with PHP & MySQL) is I've checked the tmp folder which is really
/home/tmp and none of the files that we have tested has actually been
uploaded or gone into the tmp folder.
Is this a permissions thing on the Cobalt?
Is it a PHP thing?
Does the customer have to specify a folder within his web/XXX space to
upload to?
Even seen mention of changing the tmpinit file?
It was working on another server as I said and the server was set-up with
Sphera
Anyone any idea your help/advice would be grateful appreciated
Regards
Chae