Content Preview error
Posted: Fri Jan 28, 2005 3:30 pm
I've just installed CMS MS for the first time on my test environment (WinXP/SP2, Apache 1.3.27, PHP 4.2.3, MySQL 4.0)
When I click on the Preview button of the Edit Content window, I get the following messages:
Suggestions anyone? 
thanks,
Al
When I click on the Preview button of the Edit Content window, I get the following messages:
I read on another thread this has to do with the preview path of the config.php file. However my path seems to be correct but I still get the problem. This is my config.phpWarning: fopen("c:\apps\phpdev\www\cmsmadesimple/tmp/cache/cache\cmsD0.tmp", "r") - No such file or directory in c:\apps\phpdev\www\cmsmadesimple\lib\preview.functions.php on line 67
Warning: stat failed for c:\apps\phpdev\www\cmsmadesimple/tmp/cache/cache\cmsD0.tmp (errno=2 - No such file or directory) in c:\apps\phpdev\www\cmsmadesimple\lib\preview.functions.php on line 68
Warning: fread(): supplied argument is not a valid File-Handle resource in c:\apps\phpdev\www\cmsmadesimple\lib\preview.functions.php on line 68
Warning: fclose(): supplied argument is not a valid File-Handle resource in c:\apps\phpdev\www\cmsmadesimple\lib\preview.functions.php on line 69
Warning: unlink() failed (No such file or directory) in c:\apps\phpdev\www\cmsmadesimple\lib\preview.functions.php on line 70
Code: Select all
$config["dbms"] = "mysql";
$config["db_hostname"] = "localhost";
$config["db_username"] = "cms_user";
$config["db_password"] = "cmspass";
$config["db_name"] = "cms";
$config["db_prefix"] = "cms_";
$config["root_url"] = "http://localhost/cmsmadesimple";
$config["root_path"] = "c:\apps\phpdev\www\cmsmadesimple";
$config["query_var"] = "page";
$config["use_bb_code"] = false;
$config["use_smarty_php_tags"] = false;
$config["previews_path"] = "c:\apps\phpdev\www\cmsmadesimple/tmp/cache";
$config["uploads_path"] = "c:\apps\phpdev\www\cmsmadesimple/uploads";
$config["uploads_url"] = "http://localhost/cmsmadesimple/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:\apps\phpdev\www\cmsmadesimple/uploads/images";
$config["image_uploads_url"] = "http://localhost/cmsmadesimple/uploads/images";
$config["default_encoding"] = "";
$config["disable_htmlarea_translation"] = false;
thanks,
Al