4 posts by 2 authors in: Forums > CMS Builder
Last Post: June 25, 2012   (RSS)

Re: [terryally] Couldn't load viewer library, check filepath in sourcecode

By Jason - June 23, 2012

Hi Terry,

mod_security shouldn't be an issue. Since this was a server move, the issue is most likely here:

/home/bplllih/public_html/

Chances are, that is not the correct directory anymore. If cmsAdmin is in the root of your site, you can try replacing it with this:


$libraryPath = 'cmsAdmin/lib/viewer_functions.php';
$dirsToCheck = array('/','','../','../../','../../../');
foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}


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] Couldn't load viewer library, check filepath in sourcecode

By terryally - June 24, 2012

Hi Jason,

That path is the new path not the old one.

I did however make the change the suggested and the error message remains the same.

When I did the install I noticed that CMSB automatically assigned the document root to "/usr/local/apache/htdocs" which is not correct. I changed that in the General Setting to "/home/bplllih/public_html".

The error message still remains.

Any further thoughts?

Terry

Re: [terryally] Couldn't load viewer library, check filepath in sourcecode

By Jason - June 25, 2012

Hi Terry,

Please send in a [url http://www.interactivetools.com/support]2nd Level Support Request[/url] along with a link to a page that demonstrates the problem and we'll take a look.

Thanks,
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

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