Page 1 of 2
Installation Error
Posted: Fri 12. Dec 2003, 04:14
by PortoMarco
Warning: fopen("setup.conf.inc.php", "w+b") - Permission denied in /usr/local/psa/home/vhosts/fcporto-online.com/httpdocs/cms/setup/setup.func.inc.php on line 38
Warning: Cannot add header information - headers already sent by (output started at /usr/local/psa/home/vhosts/fcporto-online.com/httpdocs/cms/setup/setup.func.inc.php:38) in /usr/local/psa/home/vhosts/fcporto-online.com/httpdocs/cms/setup/setup.php on line 66
---
Im at the phase where I create my DB (localhost etc...etc..) I already created the mySQL via the plesk system used by my host. I don't undertstand what is going on here. Is the DB not connecting?
Posted: Fri 12. Dec 2003, 09:05
by frold
Posted: Wed 17. Dec 2003, 00:06
by PortoMarco
Warning: stat failed for /usr/local/psa/home/vhosts/fcporto-online.com/httpdocs/cms/phpwcms_tmp/thumb_list (errno=13 - Permission denied) in /usr/local/psa/home/vhosts/fcporto-online.com/httpdocs/cms/setup/inc/step5.inc.php on line 26
thumbnail list: thumb_list FALSE (not existing)
Warning: stat failed for /usr/local/psa/home/vhosts/fcporto-online.com/httpdocs/cms/phpwcms_tmp/thumb_preview (errno=13 - Permission denied) in /usr/local/psa/home/vhosts/fcporto-online.com/httpdocs/cms/setup/inc/step5.inc.php on line 26
preview images: thumb_preview FALSE (not existing)
frontend content: content OK (exists + writable)
Warning: stat failed for /usr/local/psa/home/vhosts/fcporto-online.com/httpdocs/cms/content/images (errno=13 - Permission denied) in /usr/local/psa/home/vhosts/fcporto-online.com/httpdocs/cms/setup/inc/step5.inc.php on line 26
frontend images: images FALSE (not existing)
ftp takeover: phpwcms_ftp OK (exists + writable)
OK PROBLEM
Download the created config file and copy it to ./include/inc_conf/conf.inc.php — you can also edit values manually. Maybe you must rename the file if you download using Internet Explorer.
---
I uploaded the created file, and I get this message/ Help please

Posted: Wed 17. Dec 2003, 01:12
by DeXXus
My "constructive" suggestion would be to:
1. delete- the database created for phpWCMS
2. ensure access rights for files and folders
see
http://www.phpwcms.de/index.php?id=10,0,0,1,0,0
3. execute setup steps
4. remember to save "generated" copy of conf.inc.php and use it to replace the "original" in folder /include/inc_conf/
5. If errors persist... post copy of config.inc.php here (without passwords)
Hang in there

Posted: Wed 17. Dec 2003, 01:15
by PortoMarco
I have every intention of hanging in here
Care to come back in about an hour and a half? I'll give you an update. Im going to follow your steps

Posted: Wed 17. Dec 2003, 02:48
by PortoMarco
Tried to login:
Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/fcporto-online.com/httpdocs/cms/login.php on line 26
Fatal error: Failed opening required 'include/inc_conf/conf.inc.php' (include_path='.:/usr/local/psa/apache/lib/php') in /usr/local/psa/home/vhosts/fcporto-online.com/httpdocs/cms/login.php on line 26
Posted: Wed 17. Dec 2003, 02:49
by PortoMarco
conf inc:
<?
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "**";
$phpwcms["db_pass"] = "***";
$phpwcms["db_table"] = "cms";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "***";
$phpwcms["admin_email"] = "";
// paths
$phpwcms["root"] = "cms"; //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; //if 1 = page compression, 0 = no compression
// debugging timer
$phpwcms["timer"] = 0; //is for displaying a how long it needs to create
$phpwcms["imagick"] = 0; //0 = GD, 1 = ImageMagick convert
$phpwcms["imagick_path"] = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"] = 1; //0 = GD1, 1 = GD2
?>
Posted: Wed 17. Dec 2003, 03:05
by DeXXus
Any special reason for hiding this??:
// site values
$phpwcms["site"] = "***";
It works in conjunction with:
// paths
$phpwcms["root"] = "cms"; //default: ""
Posted: Wed 17. Dec 2003, 03:07
by PortoMarco
Posted: Wed 17. Dec 2003, 03:11
by DeXXus
Is this your own server or an online webhost?
Posted: Wed 17. Dec 2003, 03:14
by PortoMarco
// site values
$phpwcms["site"] = "
www.fcporto-online.com";
the server is
http://www.echolima.com
Posted: Wed 17. Dec 2003, 03:18
by DeXXus
Could you create a file called "phpinfo.php" in root dir where login .php is... with:
<?
echo $_SERVER['DOCUMENT_ROOT'] ;
phpinfo();
?>
Posted: Wed 17. Dec 2003, 03:23
by PortoMarco
Posted: Wed 17. Dec 2003, 03:27
by DeXXus
have you tried?:
// site values
$phpwcms["site"] = "
http://localhost/";
Posted: Wed 17. Dec 2003, 03:29
by PortoMarco
just did. Nothing changed. Tried to login:
Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/fcporto-online.com/httpdocs/cms/login.php on line 26
Fatal error: Failed opening required 'include/inc_conf/conf.inc.php' (include_path='.:/usr/local/psa/apache/lib/php') in /usr/local/psa/home/vhosts/fcporto-online.com/httpdocs/cms/login.php on line 26
----