Files Upload ERROR on XAMPP for Mac OS

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Files Upload ERROR on XAMPP for Mac OS

Postby parhum » 09. March 2009 17:14

Hi

I and others(http://forum.cmsmadesimple.org/index.php?action=printpage;topic=26347.0)! have a big problem, it is a problem within XAMPP on Mac OS: I try upload every file, there comes only the error message: "File could not be uploaded."

I change permissions to Read & Write but get this error again.

please help me, I very need upload files with cms(s)... :cry:
parhum
 
Posts: 4
Joined: 09. March 2009 17:02

Re: Files Upload ERROR on XAMPP for Mac OS

Postby kleinweby » 09. March 2009 19:44

Hello,

change/add the following in the php.ini:
Code: Select all
upload_tmp_dir=/Applications/xampp/xamppfiles/temp


Then change the rights of this temp folder:
Code: Select all
sudo chmod 777 /Applications/xampp/xamppfiles/temp


Finally restart apache/xampp and it should work.

Greets,
kleinweby
User avatar
kleinweby
AF Moderator
 
Posts: 393
Joined: 03. August 2005 19:52
Location: Magdeburg
Operating System: Mac OS X 10.7

Re: Files Upload ERROR on XAMPP for Mac OS

Postby parhum » 09. March 2009 20:29

Special thanks of you but I have questions:

1: I should use Semicolon(;) first of this line in php.ini:
Code: Select all
upload_tmp_dir=/Applications/xampp/xamppfiles/temp


2: after "=", it's not necessary use blank(space)[after "=" and before /Applications/...]?
...dir=/Applications/...
or ...dir= /Applications/... ?

3: how change permission to 777 ?
where write this code?
Code: Select all
sudo chmod 777 /Applications/xampp/xamppfiles/temp

on terminal?
parhum
 
Posts: 4
Joined: 09. March 2009 17:02

Re: Files Upload ERROR on XAMPP for Mac OS

Postby kleinweby » 09. March 2009 20:33

hi,

parhum wrote:Special thanks of you but I have questions:

1: I should use Semicolon(;) first of this line in php.ini:
Code: Select all
upload_tmp_dir=/Applications/xampp/xamppfiles/temp



No, no Semicolon.

parhum wrote:2: after "=", it's not necessary use blank(space)[after "=" and before /Applications/...]?
...dir=/Applications/...
or ...dir= /Applications/... ?


That spaces make there no difference.

parhum wrote:3: how change permission to 777 ?
where write this code?
Code: Select all
sudo chmod 777 /Applications/xampp/xamppfiles/temp

on terminal?


Oh, yes in/on a terminal. I forgot to write this.

Greets,
kleinweby
User avatar
kleinweby
AF Moderator
 
Posts: 393
Joined: 03. August 2005 19:52
Location: Magdeburg
Operating System: Mac OS X 10.7

Re: Files Upload ERROR on XAMPP for Mac OS

Postby parhum » 09. March 2009 20:48

I do, but yet don't work. :(
why?
parhum
 
Posts: 4
Joined: 09. March 2009 17:02

Re: Files Upload ERROR on XAMPP for Mac OS

Postby kleinweby » 10. March 2009 16:44

You mean uploading still don't work?

Hm,...

Edit: You have restarted Apache?
User avatar
kleinweby
AF Moderator
 
Posts: 393
Joined: 03. August 2005 19:52
Location: Magdeburg
Operating System: Mac OS X 10.7

Re: Files Upload ERROR on XAMPP for Mac OS

Postby parhum » 11. March 2009 04:02

Yes, with any CMS can not upload any file.
yes restart again, but don't work
parhum
 
Posts: 4
Joined: 09. March 2009 17:02

Re: Files Upload ERROR on XAMPP for Mac OS

Postby kleinweby » 11. March 2009 15:38

hm,....

What does the cms say about the upload error?

What say /Applications/xampp/xamppfiles/logs/error.log?

Greet,
kleinweby
User avatar
kleinweby
AF Moderator
 
Posts: 393
Joined: 03. August 2005 19:52
Location: Magdeburg
Operating System: Mac OS X 10.7


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 4 guests