PDA

View Full Version : Errors at first login


pciccone
10-17-2007, 08:05 PM
Installation went OK, except that the current installer has a problem (as of latest ZIP file)... You must install from the /cerb4/install directory not the /cerb4 directory - otherwise you get an endless loop after trying to accept the terms and conditions. Installing from the install directory seemed to work OK.

Problem is, on first login I get this:

Warning: require(C:\hshome\forman\helpdesk.forman-industries.com/framework.config.php) [function.require]: failed to open stream: No such file or directory in C:\hshome\forman\helpdesk.forman-industries.com\cerb4\index.php on line 55

Fatal error: require() [function.require]: Failed opening required 'C:\hshome\forman\helpdesk.forman-industries.com/framework.config.php' (include_path='.\;C:\HSphere.NET\3rdparty\PHP\5.2. 3\PEAR') in C:\hshome\forman\helpdesk.forman-industries.com\cerb4\index.php on line 55

The framework.config.php file exists in the cerb4 directory, seems the path coded in index.php is wrong.... or something else..... ??

ZIP file as of 10/17 3PM EST time.

Thanks!

Phil

pciccone
10-24-2007, 07:27 PM
(bump)

I just tried again a couple weeks later with the current SVN as of now. Same problem, so it must be a configuration setting? The PHP checks all pass, installation works OK but yet on the first login I still have this. Jeff does this tell you anything? Thanks - Phil

Warning: require(C:\hshome\forman\helpdesk.forman-industries.com/framework.config.php) [function.require]: failed to open stream: No such file or directory in C:\hshome\forman\helpdesk.forman-industries.com\cerb4\index.php on line 55

Fatal error: require() [function.require]: Failed opening required 'C:\hshome\forman\helpdesk.forman-industries.com/framework.config.php' (include_path='.\;C:\HSphere.NET\3rdparty\PHP\5.2. 3\PEAR') in C:\hshome\forman\helpdesk.forman-industries.com\cerb4\index.php on line 55

TravisT
10-24-2007, 07:35 PM
Check your framework.config.php file. I had to manually add the correct info here before my installation woudl work.

TR

pciccone
10-24-2007, 09:08 PM
As far as I can tell its correct, I have no baseline to know if its not. The database information at the top is all correct. I am unsure as to the rest of it, devblocks, paths, etc. It looks to be defaulted on everything else - which makes sense since its a fresh install.

TravisT
10-24-2007, 10:45 PM
This is probably nothing, but the path above:

(include_path='.\;C:\HSphere.NET\3rdparty\PHP\5.2. 3\PEAR')

has space in it before the '3'. Is that correct? Coudl be just the way the error is displayed too.

Also, I thought someone on the board here mentioned that PEAR dependencies were not used in Cerberus 4. Here is a clip from another post:

"That's a missing PEAR module, but those dependancies were removed from the project by build 363. I'd recommend getting a fresh copy from SVN and starting over."

However - this person's fix was to download the zip file, not use SVN and they got it working.

TR

pciccone
10-24-2007, 11:02 PM
That is odd having that space, I am not sure where that is coming from. I know for me at least, this problem exists on the ZIP file I first tried, then now today via the SVN as a fresh install.

I checked the php.ini file and the space does NOT exist in the include_path.

Phil

jstanden
10-25-2007, 12:21 AM
Hey Phil,

I've heard of this popping up a couple times, but we can't reproduce what the exact circumstances are.

Any chance you could help us out there with some guest access or an IM convo where we could troubleshoot a couple things?

Thanks!

pciccone
10-25-2007, 02:47 PM
Sure Jeff, we can do IM anytime today. The server is protected from RDP behind a firewall which requires a VPN for it to work. Too much to change from a security standpoint.

Can you send me a PM when ready with your favorite IM screen name?

Thanks.

Phil

pciccone
10-27-2007, 03:33 PM
Just wanted to let you know I am still standing by. Just drop me a line when ready.

Thanks.

Phil

jstanden
10-27-2007, 09:21 PM
The problem is definitely:
Fatal error: require() [function.require]: Failed opening required 'C:\hshome\forman\helpdesk.forman-industries.com/framework.config.php' (include_path='.\;C:\HSphere.NET\3rdparty\PHP\5.2. 3\PEAR') in C:\hshome\forman\helpdesk.forman-industries.com\cerb4\index.php on

The \cerb4\ section of your path is not present in the framework.config.php part.

In your cerb4\index.php and cerb4\ajax.php files, try replacing this line at the top:
require(getcwd(). '/framework.config.php');

with:
require(dirname(__FILE__) . '/framework.config.php');

pciccone
10-29-2007, 12:39 AM
OK Jeff, made the changes. Here is new result:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

Edit: (changed header in code so I can see real error, which is:)

Error in my_thread_global_end(): 1 threads didn't exit

THis is on IIS with PHP 5.2.3

Phil

pciccone
10-31-2007, 06:39 PM
Interesting that today I did an SVN update and still get the same problem, but sometimes if I refresh the page enough it loads (at least partially). Most of the images are broken. I think this is a hint to the problem:

http://helpdesk.forman-industries.com/cerb4/index.php/resource/cerberusweb.core/images/menuSep.gif

Take a look at the URL, especially the image.php as being part of the URL. Somehow the index.php file is being confused for all the paths.

Hope this helps on this problem.

Phil

jstanden
11-03-2007, 04:53 AM
Hey there,

index.php/ should be part of the URL (as it is). All resources (scripts, stylesheets, images) are accessed through a proxy in Cerb4. This is because content can be loaded from plugins, and you also don't want to betray any physical disk paths to content.

However, from your error it appears the proxy may not be returning all the HTTP headers required by your server. When I get a chance I'll have to dig into this a little more.

We have an IIS Q/A machine set up, and we're testing ISAPI and CGI on most releases. I haven't seen this pop-up, but perhaps I can Google for some options to make it more strict.

pciccone
11-03-2007, 10:56 AM
OK Jeff. I will standby for updates to try what is needed. Odds are if we have it, someone else will as well at some point. This is a standard IIS Windows 2003 server running H-Sphere control panel.

Thanks.

Phil