Installation problems..
-
- Posts: 8
- Joined: Tue 4. May 2004, 16:47
Installation problems..
We are experiencing problems with installing PHPwCMS. After entering all settings, the installation page of step 5 says a couple of directories don't exist. But when I take a look in my FTP account all directories are available. We've already added the correct file rights. Please note that ImageMagick and GhostScript are not installed yet, but we think this problem has nothing to do with that software. Our path is: /home/.sites/28/site1/web/~lld269/
did you?
1) DIR phpwcms_tmp/thumb_list 777
2) DIR phpwcms_tmp/thumb_preview 777
3) DIR phpwcms_ftp 777
4) DIR phpwcms_filestorage/1...10 777
5) DIR content/images 777
6) FILE setup/setup.conf.inc.php 666
7) FILE phpwcms_template/inc_css/frontend.css 666
FILE phpwcms_template/inc_default/startup.html 666
http://www.studmed.dk Portal for doctors and medical students in Denmark
-
- Posts: 8
- Joined: Tue 4. May 2004, 16:47
We've already added the correct file rights.
conf.inc.php:
<?php
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "lld269";
$phpwcms["db_pass"] = "******";
$phpwcms["db_table"] = "test";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://proto4.thinkquest.nl/";
$phpwcms["admin_email"] = "timdriever@hotmail.com";
// paths
$phpwcms["root"] = ""; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["file_tmp"] = "phpwcms_tmp"; //default: "phpwcms_tmp"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["dir_thlist"] = "thumb_list"; //default: "thumb_list"
$phpwcms["dir_preview"] = "thumb_preview"; //default: "thumb_preview"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"
// content values
$phpwcms["file_maxsize"] = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"] = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"] = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"] = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"] = 538; //max width of the large preview image
$phpwcms["img_prev_height"] = 400; //max height of the large preview image
$phpwcms["max_time"] = 1800; //logout after max_time/60 seconds
// other stuff
$phpwcms["compress_page"] = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"] = 0; //0 = GD, 1 = ImageMagick convert
$phpwcms["imagick_path"] = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"] = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"] = 0; //whether URL should be rewritable
$phpwcms["wysiwyg_editor"] = 3; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"] = 1; //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"] = "en"; //default language
$phpwcms["charset"] = "utf-8"; //default charset 'iso-8859-1'
// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"] = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"] = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"] = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'
// smtp values
$phpwcms['SMTP_FROM_EMAIL'] = 'timdriever@hotmail.com'; // reply/from email address
$phpwcms['SMTP_FROM_NAME'] = 'Tim Driever'; // reply/from name
$phpwcms['SMTP_HOST'] = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER'] = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS'] = ''; // default SMTP password
?>
conf.inc.php:
<?php
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "lld269";
$phpwcms["db_pass"] = "******";
$phpwcms["db_table"] = "test";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://proto4.thinkquest.nl/";
$phpwcms["admin_email"] = "timdriever@hotmail.com";
// paths
$phpwcms["root"] = ""; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["file_tmp"] = "phpwcms_tmp"; //default: "phpwcms_tmp"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["dir_thlist"] = "thumb_list"; //default: "thumb_list"
$phpwcms["dir_preview"] = "thumb_preview"; //default: "thumb_preview"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"
// content values
$phpwcms["file_maxsize"] = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"] = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"] = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"] = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"] = 538; //max width of the large preview image
$phpwcms["img_prev_height"] = 400; //max height of the large preview image
$phpwcms["max_time"] = 1800; //logout after max_time/60 seconds
// other stuff
$phpwcms["compress_page"] = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"] = 0; //0 = GD, 1 = ImageMagick convert
$phpwcms["imagick_path"] = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"] = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"] = 0; //whether URL should be rewritable
$phpwcms["wysiwyg_editor"] = 3; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"] = 1; //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"] = "en"; //default language
$phpwcms["charset"] = "utf-8"; //default charset 'iso-8859-1'
// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"] = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"] = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"] = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'
// smtp values
$phpwcms['SMTP_FROM_EMAIL'] = 'timdriever@hotmail.com'; // reply/from email address
$phpwcms['SMTP_FROM_NAME'] = 'Tim Driever'; // reply/from name
$phpwcms['SMTP_HOST'] = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER'] = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS'] = ''; // default SMTP password
?>
hello
i was at the domain! http://proto4.thinkquest.nl/ but there is no runnig phpwcms installation! did you install it in an sub dir!?
if yes change the path in the conf.inc.php
from
to
i was at the domain! http://proto4.thinkquest.nl/ but there is no runnig phpwcms installation! did you install it in an sub dir!?
if yes change the path in the conf.inc.php
from
Code: Select all
http://proto4.thinkquest.nl/
Code: Select all
http://proto4.thinkquest.nl/subdir
-
- Posts: 8
- Joined: Tue 4. May 2004, 16:47
hello
try this in the conf.inc.php
try this in the conf.inc.php
Code: Select all
// site values
$phpwcms["site"] = "http://proto4.thinkquest.nl/~lld269/
";
$phpwcms["admin_email"] = "timdriever@hotmail.com";
// paths
$phpwcms["root"] = "cms2"; //default: ""
-
- Posts: 8
- Joined: Tue 4. May 2004, 16:47
It doesn't work..
This is the error:
Warning: main(/home/.sites/28/site1/web/cms2/include/inc_conf/conf.pagelayout.inc.php): failed to open stream: No such file or directory in /home/.sites/28/site1/.users/31/lld269/web/cms2/include/inc_front/content.func.inc.php on line 131
Warning: main(): Failed opening '/home/.sites/28/site1/web/cms2/include/inc_conf/conf.pagelayout.inc.php' for inclusion (include_path='.:/usr/lib/php') in /home/.sites/28/site1/.users/31/lld269/web/cms2/include/inc_front/content.func.inc.php on line 131
This is the error:
Warning: main(/home/.sites/28/site1/web/cms2/include/inc_conf/conf.pagelayout.inc.php): failed to open stream: No such file or directory in /home/.sites/28/site1/.users/31/lld269/web/cms2/include/inc_front/content.func.inc.php on line 131
Warning: main(): Failed opening '/home/.sites/28/site1/web/cms2/include/inc_conf/conf.pagelayout.inc.php' for inclusion (include_path='.:/usr/lib/php') in /home/.sites/28/site1/.users/31/lld269/web/cms2/include/inc_front/content.func.inc.php on line 131
hello did you try also
Code: Select all
// site values
$phpwcms["site"] = "http://proto4.thinkquest.nl/~lld269/cms2/
";
$phpwcms["admin_email"] = "timdriever@hotmail.com";
// paths
$phpwcms["root"] = ""; //default: ""
-
- Posts: 8
- Joined: Tue 4. May 2004, 16:47
I'm able to login now (great
) but when I go to index some errors appear.
Warning: main(/home/.sites/28/site1/web/cms2/include/inc_conf/conf.pagelayout.inc.php): failed to open stream: No such file or directory in /home/.sites/28/site1/.users/31/lld269/web/cms2/include/inc_front/content.func.inc.php on line 131
Warning: main(): Failed opening '/home/.sites/28/site1/web/cms2/include/inc_conf/conf.pagelayout.inc.php' for inclusion (include_path='.:/usr/lib/php') in /home/.sites/28/site1/.users/31/lld269/web/cms2/include/inc_front/content.func.inc.php on line 131
(thanks for the fast replies)

Warning: main(/home/.sites/28/site1/web/cms2/include/inc_conf/conf.pagelayout.inc.php): failed to open stream: No such file or directory in /home/.sites/28/site1/.users/31/lld269/web/cms2/include/inc_front/content.func.inc.php on line 131
Warning: main(): Failed opening '/home/.sites/28/site1/web/cms2/include/inc_conf/conf.pagelayout.inc.php' for inclusion (include_path='.:/usr/lib/php') in /home/.sites/28/site1/.users/31/lld269/web/cms2/include/inc_front/content.func.inc.php on line 131
(thanks for the fast replies)
Maybe this thread will shed some light:
http://www.phpwcms.de/forum/viewtopic.php?p=6373#6373
http://www.phpwcms.de/forum/viewtopic.php?p=6373#6373
What is your host server setup? win? linux? apache? IIS?
are your sessions working correctly?
create a file called sessiontest.php and copy this in to it and save the file within the phpwcms root dir. then call it from your browser (or link to it and call the link)
if the numbers go up each click your sessions are fine.
are your sessions working correctly?
create a file called sessiontest.php and copy this in to it and save the file within the phpwcms root dir. then call it from your browser (or link to it and call the link)
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>
-
- Posts: 8
- Joined: Tue 4. May 2004, 16:47
The sessions are working and the server is using linux.
More system specifications:
Apache: 1.3.20
PHP: 4.3.4
phpMyAdmin 2.5.4
MySQL 3.23.54
groff-perl-1.17.2-3
Perl-5.6.0-9
perl-net-dns-0.12-C1
perl-Devel-Symdump-2.00-2
libwww-perl-5.53-1C1
perl-Convert-ASN1-0.07-1
perl-perl-ldap-0.19-1
perl-IO-1.20-1
perl-quota-1.3.4-1C1
perl-XML-Parser-2.29-1
perl-Jcode-0.79-1
postgresql-perl-7.2.3-1C1
perl-handler-utils-1.3.0-11
mod_perl-1.3.20
Python 2.0
BeOpen-Python-2.0-1
rpm-python-3.0.6-6x
pythonlib-1.23-1
postgresql-python-7.2.3-1C1
ASP
Frontpage Extensions
More system specifications:
Apache: 1.3.20
PHP: 4.3.4
phpMyAdmin 2.5.4
MySQL 3.23.54
groff-perl-1.17.2-3
Perl-5.6.0-9
perl-net-dns-0.12-C1
perl-Devel-Symdump-2.00-2
libwww-perl-5.53-1C1
perl-Convert-ASN1-0.07-1
perl-perl-ldap-0.19-1
perl-IO-1.20-1
perl-quota-1.3.4-1C1
perl-XML-Parser-2.29-1
perl-Jcode-0.79-1
postgresql-perl-7.2.3-1C1
perl-handler-utils-1.3.0-11
mod_perl-1.3.20
Python 2.0
BeOpen-Python-2.0-1
rpm-python-3.0.6-6x
pythonlib-1.23-1
postgresql-python-7.2.3-1C1
ASP
Frontpage Extensions