There was an error uploading this file to the server

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
asterios2000
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Sat May 25, 2013 8:11 pm

There was an error uploading this file to the server

Post by asterios2000 » Thu Jul 10, 2014 5:57 am

Hello to everyone,

In a new site where i installed Joomla 3.3.1 from the company's administration site (plesk) i get the
"There was an error uploading this file to the server" error

Even though i talked to the company and they increased the upload file size to 64 MB i still get this error along with "Small PHP file upload size" (to 2 MB) and "The PHP temporary directory is not set" errors

The server's PHP version is 5.4.2 (if this has something to do wtih that).

Please help me I cannot install anything, even though when i try to "Intall From Directory" the most of the times fails because it cannot access/create some folders like there are no priviledges!!!

Thanks in advance everyone!

iextensions
I've been banned!
Posts: 1498
Joined: Fri Jul 12, 2013 5:37 pm
Contact:

Re: There was an error uploading this file to the server

Post by iextensions » Thu Jul 10, 2014 6:19 am

what is your link site?
Try to use one file with phpinfo(); and you can check server's info?

asterios2000
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Sat May 25, 2013 8:11 pm

Re: There was an error uploading this file to the server

Post by asterios2000 » Thu Jul 10, 2014 6:44 am

I can check the php info both from joomla administration and the plesk! They both say 64M!!!!

Site: www.spelluxury.com

iextensions
I've been banned!
Posts: 1498
Joined: Fri Jul 12, 2013 5:37 pm
Contact:

Re: There was an error uploading this file to the server

Post by iextensions » Thu Jul 10, 2014 7:28 am

check the correct path of folder: tmp and logs in your server

asterios2000
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Sat May 25, 2013 8:11 pm

Re: There was an error uploading this file to the server

Post by asterios2000 » Fri Jul 11, 2014 6:10 am

I've told to my hosting service (because i do not own the server) to set the tmp directory as it is in my joomla configuration. They keep telling my nonsenses that i try to install templates or add ons that are not compatible with joomla 3.3.1 but when i try to install from url everything works fine with them (the same happens when i do that from install from directory), only "upload and install" button returns "There was an error uploading this file to the server". So I have some more questions if someone can help me...

1. I know that all 3.x joomla extensions and templates work with 3.3.1 (my installation), is there even a minor possibility they might not work?! (I know it's a stupid thing to ask, but i want to be very sure from better experts than me in order to answer to my hosting service)

2. All three options to install anything on joomla 3.3.1 (a. Upload & Install, b. Install from Directory and 3.Install from URL) work the same way?! Or i may face any future problems during installation, because when i tried for a couple of times to install extplorer (uploaded and extracted and then -> install from directory) i got no installation errors but when i got to the extension i was getting a 404 error!!!
The same happened when i tried to install languages where the ownership of the folders e.g. it-IT belonged to apache and not to my site.

Sorry if i was very long but i'm very confused and it's the first time in 2 years that i work with joomla that have all those problems together!

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30940
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: There was an error uploading this file to the server

Post by Per Yngve Berg » Fri Jul 11, 2014 2:19 pm

Please use the Forum Post Assistant. http://forum.joomla.org/viewtopic.php?f=621&t=582860

organicshampoo
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Jul 11, 2014 2:34 pm
Contact:

Re: There was an error uploading this file to the server

Post by organicshampoo » Fri Jul 11, 2014 2:38 pm

Thank you Per, Having the exact same problem will have a look at the link you posted. ;)

my joomla skills need improving big time lol

User avatar
atomik
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Fri Oct 24, 2008 7:02 pm

Re: There was an error uploading this file to the server

Post by atomik » Tue Jul 29, 2014 3:45 pm

I had the same problem on one of my sites. I tried to search the web but the only solution I've found was to increase upload_max_filesize and elevate folder permissions which I've already done before to no avail :(

Finally I've found a solution by myself so I post it here.

In my case, the problem was with temporary directory but not the one specified in configuration.php as $tmp_path variable. There is another temporary directory which is used by PHP itself and named upload_tmp_dir. You can see its value in administration backend System->System information->PHP information

In my case, directory listed there didn't exist at all. After I created it with 755 permissions, all problems vanished!

I hope it helps somebody :) Good luck!

jazzysmith
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jul 30, 2014 11:56 am
Contact:

Re: There was an error uploading this file to the server

Post by jazzysmith » Wed Jul 30, 2014 12:03 pm

Same problem i am also suffering my web...
Hope i will able to solve my query here.

Regards,
Last edited by imanickam on Tue Aug 05, 2014 7:30 am, edited 1 time in total.
Reason: Manual Signature Removed

User avatar
atomik
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Fri Oct 24, 2008 7:02 pm

Re: There was an error uploading this file to the server

Post by atomik » Wed Jul 30, 2014 1:56 pm

jazzysmith wrote:Same problem i am also suffering my web...
Hope i will able to solve my query here.
Have you tried my solution described above?
I'm curious :D


Locked

Return to “Administration Joomla! 3.x”