php - wordpress site uploaded on Plesk server gives warning and permalink issue -


i have uploaded wordpress site shared plesk parallel panel dedicated plesk parallel panel. getting 1 warning in testimonial rotator plugin follow :

warning:  file_exists() [function.file-exists]: open_basedir restriction in effect. file(path1\httpdocs/wp-content/plugins/site_url/wp-admin/edit.php) not within allowed path(s): (path_2_site;path_2_temp) 

and having problem in permalink settings. set custom structure :

/%category%/%postname%/ 

it gives 404 : page not found.

don't know problem actually, on server or in site.

because working fine on shared plesk. please me out of these issue

thanks in advance,

mona

it looks loading files second site located on same server, correct?

you need adjust open_basedir settings allow php functions access files in other site ordinarily outside of allowed access.

i think indicating site on dedicated server (that assume have full access to), if should able create vhost.conf file wordpress site adjust open_basedir settings site.

something like:

<directory /var/www/vhosts/site1.com/httpdocs/>   php_admin_value open_basedir "/var/www/vhosts/site1.com/httpdocs/:/var/www/vhosts/site2.com/httpdocs/:/tmp" </directory> 

...should work


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -