I am receiving this error when uploading photos to my website. function.file-exists]: open_basedir restriction in effect. File(C:\Windows\Temp\php2797.tmp) is not within the allowed path(s): (C:\Inetpub\vhosts\atlanticmkt.com\httpdocs\) in C:\Inetpub\vhosts\atlanticmkt.com\httpdocs\wordpress\wp-includes\functions.php on line 1830 http://atlanticmkt.com/wordpress/wp...ockphoto_Marketing_Business_Sales_2784485.jpg" /> does anyone know how to fix this and how I can upload files and be able to see them right away?
Hello, You are getting this problem because you are using the theme in the local computer. At server you will not get any such problem To solve this issue you just need to place Code: define('WP_TEMP_DIR','/tmp'); in wp-config.php file. To know more about this issue. Check the link. http://wordpress.org/support/topic/file_exists-functionfile-exists-open_basedir-restriction-in-effect Thanks Pankaj Agarwa InkThemes.com
Okay. I accidentally posted this code in the wrong area and now my entire website looks like Parse error: syntax error, unexpected '(', expecting '&' or T_VARIABLE in C:\Inetpub\vhosts\atlanticmkt.com\httpdocs\wordpress\wp-content\themes\themiatheme\functions\theme-options.php on line 6 I can't login. I can't do anything. Someone please help me.
Hello, Open the theme using your FTP details and then remove that code which you have entered or you can replace the file by downloading the fresh copy of theme from members area. It will solve your problem and your website will come again.