Jump to content

Can’t upload to the backend, an error occurred/missing folder..


freekdl

Recommended Posts

I know this question has been asked over and over, but I tried many possible solutions and still got nowhere..

I am using V1.6.1.17 and encounter following problems:

- When I try to change the logo and upload a file I get the message ‘The settings have been successfully updated’, but the logo doesn’t change.

- When I try to change the home hook image I get following message: ‘An error occurred during the image upload’. I tried a .jpg file with the same resolution, so that can’t be the problem. I tried a 128Kb file too, also didn’t work.

- When I try to upload a zipped theme, I get ‘Missing temporary folder’. I can avoid this by uploading with FTP, but I’d rather get the problem fixed :)

What I’ve tried:

- Setting 755 or 777 as permission for public_html and all subfolders.

- Adding a /tmp folder to root manually.

- I tried modifying uploader.php and filemanager.php.

What I didn’t try is modifying php.ini because I don’t have access to it on my shared hosting. But since I can’t even upload small files and get missing folder errors, I think I might have other problems than php.ini..

I tried adding the max file size information in .htaccess instead (after generating one from the backend) but this resulted in an internal server error.

Finally I wanted to check my php settings in Directadmin but since the php version was set to native I could not see extensions nor settings. When I change the php version from native to 7.1 (I tried everything from 4.4 to 7.1), my webshop goes offline. I even tried reinstalling Prestashop after changing the php version but no luck.

Any suggestions would be very welcome :)

EDIT: Before going to sleep I tried setting it to php version 7.1 again with following settings:

wbt0lh.jpg

2cia35g.jpg

After that I reinstalled the shop again. It's not working now but maybe it needs some time to adjust the php version and will be working when I wake up :)

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

I'm not sure if I did everything right, I turned off Smarty & CCC and then changed false to true in defines.inc.php (there's also a defines_uri.inc.php didn't touch that one). How do I see the error reporting? If I try to upload a theme I get the same missing folder message. I see errors on the website however, but not in the backend

Edited by freekdl (see edit history)
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...