Warning in cmsAdmin init.php showing up on pages

5 posts by 2 authors in: Forums > CMS Builder
Last Post: February 17, 2011   (RSS)

By eduran582 - February 17, 2011

In every case where the cmsAdmin library is being referenced I'm getting the following Warning:


Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/acsovisiting.com/httpdocs) is not within the allowed path(s): (/var/www/vhosts/acsovisiting.com/httpdocs/:/tmp/) in /var/www/vhosts/acsovisiting.com/httpdocs/cmsAdmin/lib/init.php on line 169

Help please?

TIA,

Eric

Re: [eduran582] Warning in cmsAdmin init.php showing up on pages

By Jason - February 17, 2011

Hi Eric,

It looks like the hosting provider is restricting the use of certain PHP functions. If everything else seems to be working, you can suppress this error by going into cmsAdmin/lib/init.php and going to line 169. Where you see is_dir, you can add a @ in front (@is_dir)

This should suppress the error. If this doesn't work, or you find other issues cropping up, you can contact your service provider about allowing these functions.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [eduran582] Warning in cmsAdmin init.php showing up on pages

By Jason - February 17, 2011

Hi Eric,

If the Website Root Directory being stored in CMS Builder is correct, then I would contact your hosting provider to see what they can do. Again, the best solution would be for them to allow open_basedir().

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Warning in cmsAdmin init.php showing up on pages

By eduran582 - February 17, 2011

Thanks again, Jason. I'll contact them.

Eric