At the end of setup I got this error (false not existing) on three folders:
thumb_list, thumb_preview and images.
I have uploaded these folders a couple of times and checked their access rights.
![Image](http://www.coloradohomesbyfj.com/picture/questions/Setup07.gif)
What am I doing wrong?
Code: Select all
//my iis root dir is wwwroot, my phpwcms is located 2sub dirs within. i.e. wwwroot/sub1/sub2/index.php
$phpwcms["root"] = "SubDir1/SiteDir/";// default = ""
Code: Select all
define ("PHPWCMS_ROOT", "D:\wwwroot".(($phpwcms["root"]) ? "/".$phpwcms["root"] : "") ); // DOCUMENT_ROOT + phpwcms directory
The first time I installed it I also got a error like that but it was because I chmoded wrong. Here you can see what to chmodBijan Hemati wrote:
What am I doing wrong?
But if you take 1) DIR phpwcms_tmp/thumb_list on my system you can not chmod "thumb_list" before you also have chmod 777 phpwcms_tmp do you see the point?, if you have to chmod a subfolder to 777 you first have to do the same with the parent folder1) DIR phpwcms_tmp/thumb_list 777
2) DIR phpwcms_tmp/thumb_preview 777
3) DIR phpwcms_ftp 755
4) DIR phpwcms_filestorage 777
5) DIR content/images 777
6) FILE setup/setup.conf.inc.php 666
7) FILE phpwcms_template/inc_css/frontend.css 666
8.) FILE include/inc_conf/conf.pagelayout.inc.php 666
Code: Select all
<?php
session_start();
if(isset($_GET["do"])) {
$_SESSION["test"]++;
header("Location: ".$_SERVER['PHP_SELF']);
}
?>
<html>
<head>
<title>Session Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
Click for <a href="sessiontest.php?do=<?php echo intval($_SESSION["test"])?>">loading</a> session test!
<?php echo (isset($_SESSION["test"])) ? "<br><br>session var is set (".$_SESSION["test"].")" : "no session set"; ?>
</body>
</html>
Code: Select all
Click for loading session test! no session set