Warning Message: No such file or directory in Upload

3 posts by 3 authors in: Forums > CMS Builder
Last Post: May 8, 2012   (RSS)

By fleff - May 1, 2012

The following warning message has suddenly appeared in the upload fields and on the viewer pages:

Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0 Fatal error: Unknown: Failed opening required '/data/24/2/125/54/2614380/user/2867819/cgi-bin/.php/sessions/sess_d2374d39c07f5296a9a3ba192b351c12' (include_path='/data/24/2/125/54/2614380/user/2867819/htdocs/cmsAdmin:/data/24/2/125/54/2614380/user/2867819/htdocs/cmsAdmin/3rdParty:.:/usr/services/vux/lib/php') in Unknown on line 0

I called the host, Network Solutions, and they said it is looking for a directory that isn't there and is a problem with the path on the server, and to check with you. I know they had a problem with their database server recently and thought it might be something they did. All was working fine until now.

The Website Root Directory is: /data/24/2/125/54/2614380/user/2867819/htdocs and the Uploads Directory is: uploads/

What do you think is going on here?

Thanks,

Farnham

Re: [fleff] Warning Message: No such file or directory in Upload

By Jason - May 8, 2012

Hi,

For anyone who experiences this issue, the solution was to turn off the "display errors" setting in cmsAdmin/lib/init.php

In that file you'll see this line near the top:

ini_set('display_errors', '1');

change it to this:

ini_set('display_errors', '0');

It should be noted that this is an extremely rare problem. If you upgrade your version of CMS Builder, you will need to put this fix back in place.

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/