Installation: "Fatal error" message
10 posts by 3 authors in: Forums > CMS Builder
Last Post: April 22, 2010 (RSS)
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?
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
Is this a new install or an upgrade?
Try re-uploading the lib folder to the server.
Let me know if that works.
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
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
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
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
Fatal error: Call to undefined function: get_include_path() in c:\inetpub\www.wilmot.ca\cmsAdmin\lib\init.php on line 125
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
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
http://www.wilmot.ca/info.php
This says PHP Version 4.2.2.
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
That version is almost 8 years old! http://php.net/ChangeLog-4.php#4.2.2
Probably time to upgrade.
Hope that helps!
interactivetools.com
Re: [NigelGordijk] Installation: "Fatal error" message
By Jason - April 22, 2010
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
I'll ask my client to upgrade their server.
Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net