Page 1 of 1
Errors after install
Posted: Wed Jul 13, 2005 8:43 pm
by kingfhb
I am running Windows Server 2003 Enterprise, IIS 6, PHP 4.3.11 and MySQL 4.1.12. First thing was, when I try to install a new download of the latest version of CMS Made Simple with the MySQL 4.1+ option, I get an error saying Connection Failed. I have other PHP scripts running and I have resolved the MySQL and MySQLi Driver issues that plague IIS and was able to get MAMBO installed and working properly. However, I do get the MySQLi Extension error when trying to install CMS Made Simple.
SO I installed it using the MySQL (3 and 4.0) option. THe install completes successfully and I am able to get into the Admin Panel and manipulate everything, however, after the install I get the following error when trying to view the site...
Code: Select all
Warning: Smarty::fetch(c:\Inetpub\wwwroot\cms/tmp/templates_c/\%%AA^AA2^AA247E45%%db%3A1.php) [function.fetch]: failed to open stream: No such file or directory in c:\Inetpub\wwwroot\cms\lib\smarty\Smarty.class.php on line 1258
Warning: Smarty::fetch() [function.include]: Failed opening 'c:\Inetpub\wwwroot\cms/tmp/templates_c/\%%AA^AA2^AA247E45%%db%3A1.php' for inclusion (include_path='.;C:\php5\pear') in c:\Inetpub\wwwroot\cms\lib\smarty\Smarty.class.php on line 1258
any ideas?
Re: Errors after install
Posted: Wed Jul 13, 2005 9:15 pm
by Ted
Can you paste your config.php (removing password junk, and/or domain names as necessary)? I'm curious about some of the values that the installer decided on using...
Re: Errors after install
Posted: Wed Jul 13, 2005 9:21 pm
by kingfhb
Sure...
Code: Select all
<?php
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = '';
$config['db_password'] = '';
$config['db_name'] = 'cms';
$config['db_prefix'] = 'cms_';
$config['root_url'] = 'http://10.10.10.198/cms';
$config['root_path'] = 'c:\\Inetpub\\wwwroot\\cms';
$config['query_var'] = 'page';
$config['use_bb_code'] = false;
$config['use_smarty_php_tags'] = false;
$config['previews_path'] = 'c:\\Inetpub\\wwwroot\\cms/tmp/cache';
$config['uploads_path'] = 'c:\\Inetpub\\wwwroot\\cms/uploads';
$config['uploads_url'] = 'http://10.10.10.198/cms/uploads';
$config['max_upload_size'] = 1000000;
$config['debug'] = false;
$config['assume_mod_rewrite'] = false;
$config['auto_alias_content'] = true;
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['use_Indite'] = false;
$config['image_uploads_path'] = 'c:\\Inetpub\\wwwroot\\cms/uploads/images';
$config['image_uploads_url'] = 'http://10.10.10.198/cms/uploads/images';
$config['default_encoding'] = '';
$config['disable_htmlarea_translation'] = false;
$config['admin_dir'] = 'admin';
?>
Thanks.
Re: Errors after install
Posted: Wed Jul 13, 2005 9:35 pm
by Ted
Can you replace the / to \\ in any of the entries that have \\ in them? Does that make any sense?

Re: Errors after install
Posted: Wed Jul 13, 2005 9:40 pm
by kingfhb
Done... same problem.
Code: Select all
<?php
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'root';
$config['db_password'] = 'expertur';
$config['db_name'] = 'cms';
$config['db_prefix'] = 'cms_';
$config['root_url'] = 'http://10.10.10.198/cms';
$config['root_path'] = 'c:\\Inetpub\\wwwroot\\cms';
$config['query_var'] = 'page';
$config['use_bb_code'] = false;
$config['use_smarty_php_tags'] = false;
$config['previews_path'] = 'c:\\Inetpub\\wwwroot\\cms\\tmp\\cache';
$config['uploads_path'] = 'c:\\Inetpub\\wwwroot\\cms\\uploads';
$config['uploads_url'] = 'http://10.10.10.198/cms/uploads';
$config['max_upload_size'] = 1000000;
$config['debug'] = false;
$config['assume_mod_rewrite'] = false;
$config['auto_alias_content'] = true;
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['use_Indite'] = false;
$config['image_uploads_path'] = 'c:\\Inetpub\\wwwroot\\cms\\uploads\\images';
$config['image_uploads_url'] = 'http://10.10.10.198/cms/uploads/images';
$config['default_encoding'] = '';
$config['disable_htmlarea_translation'] = false;
$config['admin_dir'] = 'admin';
?>
Re: Errors after install
Posted: Wed Jul 13, 2005 10:01 pm
by Ted
I can try to look at it tomorrow at work...