Installation: "Fatal error" message

10 posts by 3 authors in: Forums > CMS Builder
Last Post: April 22, 2010   (RSS)

By NigelGordijk - April 22, 2010

Hi, All.

I've just installed CMSB on a client's server, but when I run the admin.php - http://www.wilmot.ca/cmsAdmin/admin.php - I get the following error message:

======

Notice: Use of undefined constant PATH_SEPARATOR - assumed 'PATH_SEPARATOR' in c:\inetpub\www.wilmot.ca\cmsAdmin\lib\init.php on line 125

Fatal error: Call to undefined function: get_include_path() in c:\inetpub\www.wilmot.ca\cmsAdmin\lib\init.php on line 125

======

Any idea what would cause this, please?
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [Jason] Installation: "Fatal error" message

By NigelGordijk - April 22, 2010

Hi, Jason.

This is a new install.

I uploaded the lib folder again, but I'm still getting the same error message: http://www.wilmot.ca/cmsAdmin/admin.php.

Could this mean that the client's server is incompatible with your server requirements? http://www.interactivetools.com/docs/cmsbuilder/install.html
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] Installation: "Fatal error" message

By Jason - April 22, 2010

Hi,

It's possible that their server is using an old version of PHP.
PATH_SEPARATOR should be a predefined constant in newer versions of PHP.

Try adding this to the top of your admin.php page.
<?php
if ( ! defined( "PATH_SEPARATOR" ) ) {
if ( strpos( $_ENV[ "OS" ], "Win" ) !== false )
define( "PATH_SEPARATOR", ";" );
else define( "PATH_SEPARATOR", ":" );
}
?>


Give that a try and let me know if it works for you. If not, we'll troubleshoot further.
---------------------------------------------------
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] Installation: "Fatal error" message

By NigelGordijk - April 22, 2010

Just tried your suggestion. Now I'm only getting a single error message, not two:

Fatal error: Call to undefined function: get_include_path() in c:\inetpub\www.wilmot.ca\cmsAdmin\lib\init.php on line 125
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] Installation: "Fatal error" message

By Jason - April 22, 2010

Hi,

I want you to create a file called info.php. Inside, put this code:

<?php
phpinfo();
?>


put this file anywhere on the server and run it. At the very top of the file it will say: PHP Version and give a number (ex. 5.3.0) What version number does it give you? I think they're using a version that is less than php 4.

Let me know.
---------------------------------------------------
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] Installation: "Fatal error" message

By NigelGordijk - April 22, 2010

Hi, Jason.

http://www.wilmot.ca/info.php

This says PHP Version 4.2.2.
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] Installation: "Fatal error" message

By Dave - April 22, 2010

Ahh, that's the issue. You need PHP 4.3.2+ or any version of PHP released in the last 6 years.

That version is almost 8 years old! http://php.net/ChangeLog-4.php#4.2.2

Probably time to upgrade.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [NigelGordijk] Installation: "Fatal error" message

By Jason - April 22, 2010

Hi,

CMS Builder requires PHP 4.3.2 or higher. You may want to contact the hosting provider to see about upgrading your service.

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] Installation: "Fatal error" message

By NigelGordijk - April 22, 2010

Thanks, Jason and Dave.

I'll ask my client to upgrade their server.
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net