New Error

7 posts by 4 authors in: Forums > CMS Builder
Last Post: September 6, 2010   (RSS)

Re: [Toledoh] New Error

By Dave - May 13, 2010

Hi Tim,

Try removing all these lines:

require_once "/var/virtual/web/w0706/html/cmsAdmin/lib/viewer_functions.php";

Let me know if that works for you.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] New Error

By Toledoh - May 13, 2010

No Dave - didn't work
Cheers,

Tim (toledoh.com.au)

Re: [Toledoh] New Error

By Dave - May 13, 2010

Well all the errors talked about require_once() and gave line numbers. What do the errors say now?
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] New Error

By Toledoh - May 13, 2010

Sorry Dave - my mistake. There were a few instances of that code, and I only removed 1. Working now. Ta!
Cheers,

Tim (toledoh.com.au)

Re: [Dave] New Error

FYI to the Interactive Tools folks. I was hosting a CMS Builder site on Hostmonster and suddenly it stopped working one day, years after installation (ie. no one had done any admin work for a long time).

The error message I was getting was
Warning: require_once(/home2/bridget4/public_html/writetruth/idara/lib/viewer_functions.php)
[function.require-once]: failed to open stream: No such file or directory in
/home3/bridget4/public_html/writetruth/index.php on line 2

Fatal error: require_once() [function.require]: Failed opening required
'/home2/bridget4/public_html/writetruth/idara/lib/viewer_functions.php'
(include_path='.:/usr/lib64/php:/usr/lib/php') in /home3/bridget4/public_html/writetruth/index.php
on line 2


On looking at the paths in directories, I realized that Hostmonster had changed the name of '/home2/bridget4/' to '/home3/bridget4/".

Once I went through all my viewers and changed the second line from home2 to home3, it all just started working again.
_____________________

For more information about Nigel Parry and nigelparry.net
websites please see http://nigelparry.net

nigelparry.net: award-winning communications
solutions for clients with something to say

Website & print design
Internet, public relations & media consulting

Re: [nigelparry.net] New Error

By Donna - September 6, 2010

Hi Nigel,

Yep, that's exactly what you should expect to happen. A lot of programs (including CMS Builder, not to mention all of our legacy programs) use your server path to determine where files are located -- your host should have let you know before changing your paths so that you could update your site accordingly *before* everything broke!

Glad to hear you got that figured out, let us know if there are any residual errors you can't track down!
Donna

--
support@interactivetools.com