Post by drofenaz » Sat Jan 07, 2012 4:04 pm

When I try to upload images via the file manager I get the error "Warning: Please select a file!" I get the warning on all browsers.

I have searched the forums but no one seems to have a working solution.

The part that is triggering the error is in "/admin/controller/common/filemanager.php" It's this if statement that isn't being fulfilled:

Code: Select all

if (isset($this->request->files['image']) && $this->request->files['image']['tmp_name'])
If anyone could help me solve this issue that would be great.

Thanks!

Attachments

Capture.PNG

Capture.PNG (40.43 KiB) Viewed 2741 times


Newbie

Posts

Joined
Sat Jan 07, 2012 3:55 pm

Post by MarketInSG » Sat Jan 07, 2012 6:59 pm

Hi

A quick solution, try re-uploading the admin folder. This will surely fix the problem.

Regards
MarketInSG


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by drofenaz » Sun Jan 08, 2012 2:08 am

MarketInSG wrote:Hi

A quick solution, try re-uploading the admin folder. This will surely fix the problem.

Regards
MarketInSG
I did a complete reinstall with a different version and I still have the same problem. I'm wondering if it's something sever-side. Any ideas?

Newbie

Posts

Joined
Sat Jan 07, 2012 3:55 pm

Post by JAY6390 » Sun Jan 08, 2012 3:29 am

This sounds like a permissions error to be honest. Check with your hosting that you have access to files via the apache user like this

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by MarketInSG » Sun Jan 08, 2012 8:23 am

drofenaz wrote:
MarketInSG wrote:Hi

A quick solution, try re-uploading the admin folder. This will surely fix the problem.

Regards
MarketInSG
I did a complete reinstall with a different version and I still have the same problem. I'm wondering if it's something sever-side. Any ideas?
If that's the case, the problem lies with your server settings. Try setting permission to all your folders 777. That might solve the problem.

Regards
MarketInSG


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by drofenaz » Sun Jan 08, 2012 9:46 am

MarketInSG wrote: If that's the case, the problem lies with your server settings. Try setting permission to all your folders 777. That might solve the problem.

Regards
MarketInSG
Still no luck :'(

Any other ideas?

Newbie

Posts

Joined
Sat Jan 07, 2012 3:55 pm

User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by riflebird » Thu Jan 26, 2012 6:33 pm

Did you manage to solve issue via host and, if so, could you please offer solution?

Exactly same issue with newly installed 1.5.1.3 running on windows IIS. Tried various image formats, small size files, alternative browsers etc. Permissions all writable and can FTP to image directory but need to deliver via admin for client.

Any help greatly appreciated.

Newbie

Posts

Joined
Tue Jun 01, 2010 6:56 pm

Post by muhupower » Thu Feb 09, 2012 5:37 am

Hi,

I have the same problem with open cart when trying to upload a file.

It says, please select a file..

Did you resolve this?

Thanks,
-Owen

Newbie

Posts

Joined
Sat Apr 10, 2010 1:37 am

Post by MarketInSG » Thu Feb 09, 2012 8:18 pm

You guys should try contacting your host for help. That should be able to solve your problem. I have many up and running OpenCart and all is fine.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by muhupower » Thu Feb 09, 2012 10:16 pm

Why would it be a hosting issue? I have used open cart on several other godaddy account and never had this problem.

Newbie

Posts

Joined
Sat Apr 10, 2010 1:37 am

Post by muhupower » Thu Feb 09, 2012 11:19 pm

FINE! I called godaddy it was the host.

they had to create a session directory

Newbie

Posts

Joined
Sat Apr 10, 2010 1:37 am

User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by trytry » Sun Feb 12, 2012 9:03 pm

Dear muhupower,
FINE! I called godaddy it was the host.

they had to create a session directory
I am also on Godaddy and encounter such a problem. Do you know if we can create session directory ourself? How to fix this?

Looking forward to hearing from you.

Thanks,

Newbie

Posts

Joined
Sun Feb 12, 2012 8:59 pm

Post by MarketInSG » Sun Feb 12, 2012 9:03 pm

Just contact their support group, they will do it for you very quickly. No worries.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by trytry » Sun Feb 12, 2012 9:33 pm

Ok let me contact them for help.

Thanks

Newbie

Posts

Joined
Sun Feb 12, 2012 8:59 pm

Post by trytry » Mon Feb 13, 2012 5:43 pm

Dear MarketInSG / muhupower,

Without luck, they don't support me as it is a third party application.

Could you identify how to solve this?

Thanks

Newbie

Posts

Joined
Sun Feb 12, 2012 8:59 pm

Post by MarketInSG » Mon Feb 13, 2012 7:33 pm

He could contact Godaddy, so why couldn't you? It's their error on their side, so they gotta fix it somehow.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by riflebird » Mon Feb 13, 2012 8:06 pm

The creation of the session directory was key - big thanks muhupower for bringing this up. I've been working with hosting firm on this - ensuring permissions all OK etc but long trial and error process to pinpoint the problem.

First time I've hosted on Windows and no problems in past on Linux. Perhaps this issue is worthy of a mention in installation instructions?

Thanks again to all for help in resolving the problem.

Newbie

Posts

Joined
Tue Jun 01, 2010 6:56 pm

Post by trytry » Mon Feb 13, 2012 10:28 pm

Dear MarketInSG,

They said it is a third party app and they only have little support for it. We should pin point that the problem is from the hosting itself otherwise they wont support.

Can't we create that session directory by ourself?

What else should I do?

Newbie

Posts

Joined
Sun Feb 12, 2012 8:59 pm
Who is online

Users browsing this forum: No registered users and 85 guests