I was having permission issues that prevented me from uploading images. The error pointed me to drupal_move_uploaded_file() in file.inc , so then I set the tmp directory path to the exact path (as per where it was located on the machine)in the php.ini file. But now I get this new error saying that my destination directory is not configured. I have no clue where this destination directory is located.
This is the error I get :
The specified file temporary://Banner_Slicksheet.jpg could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.
Thanks in advance.
Hi,
Please check for us some things below:
- Your image fields still upload normally or not?
- Fields which have media widget allow you to upload or not?
Our module uses media module so if you config in right way, you can upload images.
-The images fields do not upload normally.
-Fields which have media widget does not allow me to upload.
Although this was possible perviously before I made the changes.
Hi,
I undid the changes I made previously and got back my initial error messages when trying to upload images using MD slider.
Error message
Warning: move_uploaded_file(/var/www/html/mf-theming/tmp/BannerCyber_Blue.jpg): failed to open stream: Permission denied in drupal_move_uploaded_file() (line 1639 of /var/www/html/mf-theming/includes/file.inc).
Warning: move_uploaded_file(): Unable to move '/tmp/phpTEXXMf' to '/var/www/html/mf-theming/tmp/BannerCyber_Blue.jpg' in drupal_move_uploaded_file() (line 1639 of /var/www/html/mf-theming/includes/file.inc).
File upload error. Could not move uploaded file.
And the fields which have media widget does not allow me to upload either.
What am I doing wrong?
Please check 2 following folders: /var/www/html/mf-theming/tmp/ and /tmp/phpTEXXMf and see if decentralization is right or not. We think it should be set 755.
And you should also check in report status, maybe it will notice that your configure is not right.
I was able to fix this issue by going into /etc/apache2/envvars and changing export APACHE_RUN_USER from www-data to the admin name; made the the same changes to export APACHE_RUN_USER from www-data to the admin name.
My new problem is that the animations work only on the first slide. the animation does not work on other slides only the background image shows up. WHY?
So could you send us your site url, admin and FTP accounts (forum link as well) via email: [email protected]?
We would like to check it for you.