But I can't login -> look this
Code: Select all
Fatal error: Call to undefined function: getremoteip() in daten:/usr/vhosts/4AL04/www.feuerwehr-wallern.at/htdocs/login.php on line 165
Code: Select all
Fatal error: Call to undefined function: getremoteip() in daten:/usr/vhosts/4AL04/www.feuerwehr-wallern.at/htdocs/login.php on line 165
The new one at /config/phpwcms/conf.inc.php1.1RC.... wrote:// site values
$phpwcms["site"] = "http://www.phpwcms.de/";
$phpwcms["admin_email"] = "";
// paths
$phpwcms["root"] = "";
$phpwcms["file_path"] = "phpwcms_filestorage";
$phpwcms["file_tmp"] = "phpwcms_tmp";
$phpwcms["templates"] = "phpwcms_template";
$phpwcms["dir_thlist"] = "thumb_list";
$phpwcms["dir_preview"] = "thumb_preview";
$phpwcms["content_path"] = "content";
$phpwcms["cimage_path"] = "images";
$phpwcms["ftp_path"] = "phpwcms_ftp";
And please compare your old config (1.1.RC) to your new one (1.2.6).conf.inc.php wrote:// site values
$phpwcms["site"] = "http://".$_SERVER['SERVER_NAME']."/";
$phpwcms["admin_email"] = "webmaster@example.com";
// paths
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "";
$phpwcms["file_path"] = "phpwcms_filestorage";
$phpwcms["templates"] = "phpwcms_template";
$phpwcms["content_path"] = "content";
$phpwcms["cimage_path"] = "images";
$phpwcms["ftp_path"] = "phpwcms_ftp";
Code: Select all
// database values
$phpwcms["db_host"] = "db02.....at";
$phpwcms["db_user"] = "Username";
$phpwcms["db_pass"] = "password";
$phpwcms["db_table"] = "my_wcms";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://".$_SERVER['SERVER_NAME']."/";
$phpwcms["admin_email"] = "webmaster@example.com";
// paths
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "";
$phpwcms["file_path"] = "phpwcms_filestorage";
$phpwcms["templates"] = "phpwcms_template";
$phpwcms["content_path"] = "content";
$phpwcms["cimage_path"] = "images";
$phpwcms["ftp_path"] = "phpwcms_ftp";
Code: Select all
phpwcms DOCUMENT_ROOT test
This file has to be placed in your web root - do not
put it into any subdir of your webspace
1) your default $_SERVER['DOCUMENT_ROOT']: daten:/usr
2) real DOCUMENT_ROOT based on this file : daten:/usr/vhosts/4AL04/www.meinedomain.at/htdocs/setup
If (1) and (2) not equal then add following
line at the end of your conf.inc.php but before ending "?>":
$_SERVER['DOCUMENT_ROOT'] = 'daten:/usr/vhosts/4AL04/www.feuerwehr-wallern.at/htdocs/setup';
Check if this is corresponding with the subdir
in which phpwcms is installed:
$phpwcms['root'] = "vhosts/4AL04/www.meinedomaint/htdocs/setup";
If so - everything is fine too, also if this is empty.
Maybe some leading/ending slash "/" is there.
That's no problem here, but remove leading or
ending slashes. Do never use the backslash "\"
in paths on Windows - this may fail.
Code: Select all
$_SERVER['DOCUMENT_ROOT'] = 'daten:/usr/vhosts/4AL04/www.feuerwehr-wallern.at/htdocs/setup';
Code: Select all
$_SERVER['DOCUMENT_ROOT'] = 'daten:/usr/vhosts/4AL04/www.feuerwehr-wallern.at/htdocs';