Jump to content

There is an error! The upload folder there isn't. Check your config.php file.


Recommended Posts

Hello,

I upgraded my prestashop site from 1.6.0.14 to 1.6.1.0. But while trying to upload a picture from my desktop to add it in the content body, i keep geting this message below;

 

"There is an error! The upload folder there isn't. Check your config.php file."

 

Your help towrds this will be highly appreciated

 

Thank you

Ronnie

Link to comment
Share on other sites

  • 1 month later...

Hello guy, I found a way to fix this issue.

 

In my file admin/filemanager/dialog.php it was something like :
 

<?php if (@opendir($R5BE2189EB2A912678F23F2073A3BC854.$RA4BFDF845AF4F7BD4D840F616BDC06E7.$R72B348B27FF345F641BA18E350517021) === false){ ?>   <br/>   <div class="alert alert-error">There is an error! The upload folder there isn't. Check your config.php file.   </div>  <?php } ...

so I remove the complet file and replace by the one from prestashop zip. This one contain this:

<?php if (@opendir($current_path.$subfolder.$subdir) === false) {
    ?>
		<br/>
		<div class="alert alert-error">There is an error! The upload folder there isn't. Check your config.php file.
		</div>
	<?php 
} ...

And now it's working.

 

Good luck!!

 

Tidjean

Link to comment
Share on other sites

  • 2 weeks later...

Dear, tidjean

I'm using 1.6.0.11, and I get the same message below while trying to upload a picture from my desktop to add it in the content body.

 

"There is an error! The upload folder there isn't. Check your config.php file."

 

I tried the way you suggested, but it doesn't work.

 

Could you please recommend me another solution?

 

Thank you in advance!

Edited by michaelkim (see edit history)
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

Hi,

 

This error appears when your installation of Presta is missing with the "cms" directory inside "img" directory on root. If it's not there, just create "cms" directory inside "img" directory and this error will not appear again.

 

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...