my current conf file:
Code: Select all
// paths
$phpwcms["DOC_ROOT"] = $_SERVER['DOCUMENT_ROOT']; //default: $_SERVER['DOCUMENT_ROOT']
$phpwcms["root"] = ""; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"
and in server i have it under /phpwcms/
errors have changed to:
Warning: main(/srv/www/htdocs//include/inc_ext/ss_image/ss_image.class.php): failed to open stream: No such file or directory in /srv/www/htdocs/phpwcms/include/inc_lib/imagick.convert.inc.php on line 34
Warning: main(): Failed opening '/srv/www/htdocs//include/inc_ext/ss_image/ss_image.class.php' for inclusion (include_path='.:') in /srv/www/htdocs/phpwcms/include/inc_lib/imagick.convert.inc.php on line 34
and
Warning: main(/srv/www/htdocs//phpwcms_template/inc_default/startup.php): failed to open stream: No such file or directory in /srv/www/htdocs/phpwcms/phpwcms.php on line 425
Warning: main(): Failed opening '/srv/www/htdocs//phpwcms_template/inc_default/startup.php' for inclusion (include_path='.:') in /srv/www/htdocs/phpwcms/phpwcms.php on line 425
im pretty useless in codeing so correct me if im wrong but i think "$_SERVER['DOCUMENT_ROOT']" part asks for the right path in server