PHPWebAdmin problem

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
coby
New user
New user
Posts: 12
Joined: 2008-12-04 18:57

PHPWebAdmin problem

Post by coby » 2008-12-04 19:01

kann mir jemand sagen was da fehlt ?

could anyone help me with this problem ?

hMailServer 5.0, build 314 (Beta)


Notice: Undefined index: defaultlanguage in C:\*******\initialize.php on line 40

Fatal error: Uncaught exception 'com_exception' with message 'Parameter 0: Typkonflikt. ' in C:\xampp\htdocs\~admin\hmailadmin\initialize.php:40 Stack trace: #0 C:\********\initialize.php(40): variant->ItemByName(NULL) #1 C:\******\index.php(15): require_once('C:\xampp\htdocs...') #2 {main} thrown in C:\*****\initialize.php on line 40


thx

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: PHPWebAdmin problem

Post by martin » 2008-12-04 19:04

What does your config.php look like?

coby
New user
New user
Posts: 12
Joined: 2008-12-04 18:57

Re: PHPWebAdmin problem

Post by coby » 2008-12-04 19:07

martin wrote:What does your config.php look like?

Code: Select all

<?php

// Global configuration. See examples below:
$hmail_config['rootpath']			= "c:/xampp/htdocs/~admin/hmailadmin/";
$hmail_config['rooturl']			= "http://admin.*****.de/hmailadmin/";



/*
	Example:
	$hmail_config['rootpath']			= "C:/Program Files/Apache Group/Apache2/htdocs/PHPWebAdmin/";
	$hmail_config['rooturl']			= "http://www.mydomain.com/PHPWebAdmin/";
	$hmail_config['includepath']		= $hmail_config['rootpath'] . "include/";
	$hmail_config['temppath']			= $hmail_config['rootpath'] . "temp/";
	$hmail_config['pluginpath']			= $hmail_config['rootpath'] . "plugins/";
	$hmail_config['defaultlanguage']	= "english";
	$hmail_config['defaulttheme']		= "default";


*/

?>

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: PHPWebAdmin problem

Post by martin » 2008-12-04 19:10

That's not the config.php which comes with b314. The config.php-dist which comes with b314 looks like this:

Code: Select all

<?php

// Global configuration. See examples below:
$hmail_config['rooturl']			= "CHANGE-ME";
$hmail_config['defaultlanguage']	= "english";

/*
	Example:
	$hmail_config['rooturl']			= "http://www.mydomain.com/PHPWebAdmin/";
	$hmail_config['defaultlanguage']	= "english";
*/

?>

coby
New user
New user
Posts: 12
Joined: 2008-12-04 18:57

Re: PHPWebAdmin problem

Post by coby » 2008-12-04 19:37

thx. it was my mistake. now it works

Post Reply