i get this Error message:
Warning: is_writable(): open_basedir restriction in effect. File(/home/.sites/613/site7859656/) is not within the allowed path(s): (/home/.sites/613/site7859656/web:/home/.sites/613/site7859656/tmp:/usr/share/pear:/usr/bin/php_safemode) in /home/.sites/613/site7859656/web/wp-content/plugins/types/vendor/toolset/types/embedded/views/image.php on line 392
Site: versteckter Link
It appears after migration to another Server.
Please help
Looks like a server configuration issue. Please check file and folder permissions -- typically Folders should have 755 permission and Files have 644. Please also contact your hosting support and ask them to confirm file and folder permissions and that opendir() function is enabled on the server, and if possible to disable the open_basedir directory restriction.
Can you guide me WHAT Folders i have to check?
Mainly the directory noted in the warning message:
/home/.sites/613/site7859656/
ok i have no access to that (is one level above).
will wait for the support from my hosting
i Think the Path is Wrong - it should be one of the order paths
/home/.sites/613/site7859656/tmp for example - tmp is allowed - can i tell toolset to use this Folder instead?
You can try setting it in your wp-config.php file like so:
define('WP_TEMP_DIR','/home/.sites/613/site7859656/tmp');
Still the Same error - wired?
Warning: is_writable(): open_basedir restriction in effect. File(/home/.sites/613/site7859656/) is not within the allowed path(s): (/home/.sites/613/site7859656/web:/home/.sites/613/site7859656/tmp:/usr/share/pear:/usr/bin/php_safemode) in /home/.sites/613/site7859656/web/wp-content/plugins/types/vendor/toolset/types/embedded/views/image.php on line 392
If you upload an image to a custom field, is it stored in the media library as expected, with or without the WP_TEMP_DIR setting?
Yes Upload is working fine.
Info from my Hosting: /home/.sites/613/site7859656/ is restricted.
I think the Problem appears because Toolset try to Scale and Crop an Image?
Oh - idea: i Importet the CPT and the Image that is imported is NOT located in the wp-content/uplaods/ folder - there is a folder wp-content/assets/ where the images are stored (from the import)
on my Development Hosting there was no Problem to scale the images there - could it be a Problem in the new Hosting.
wp-content/assets/ permissions are set to 755 and the images in there had: 644
Do you have database access? If so, please go to the wp_options table and search for the option_names "upload_path" and "upload_url_path". Let me know what you have set for these options.
Oh - idea: i Importet the CPT and the Image that is imported is NOT located in the wp-content/uplaods/ folder - there is a folder wp-content/assets/ where the images are stored (from the import)
Is this directory change temporary, or permanent?
The Images still there and loading from there - at my first Hosting the images rescaled (300x300px) in that folder so i see the files in assets with the wcf-300x300 extension
Thank you. I'm asking my 2nd tier support team to take a closer look and I'll let you know what I find out.