XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Webmail Add-ons > Please Help!


Posted by: atomino01 Apr 11 2008, 05:56 PM
I am using Xmailserver 1.24 on SuSE 10.2 with XPAI 1.16 Frontend.
It works fine for a long time.
After a update from Apache_mod_php and PHP 5.2.0 to 5.2.5
I can not login to the XPAI frontend.
<?=$loginuser?> appers in the username field and
0)) { if (count($servers) > 1) { echo '"; } else { echo key($servers); echo ''; } } else echo 'No server configured!'; ?> on Server field.
Anything changed in PHP...?
Can anyone help me to solv the problem?

Posted by: atomino01 Jun 5 2008, 03:00 PM
I've got no answer... smile.gif
thank you for the helpful forum

Posted by: Sob Jun 5 2008, 05:21 PM
It looks that the php code is not executed. What about short_open_tag in php.ini? Is it set to On?

Posted by: atomino01 Jun 6 2008, 09:05 AM
QUOTE (Sob @ Jun 5 2008, 05:21 PM)
What about short_open_tag in php.ini? Is it set to On?

Thank you Sob for helping.
short_open_tag was Off, I set it to On but it doesn't works.
In former version of PHP (5.2.0) ist works with short_open_tag = Off.

Posted by: Sob Jun 7 2008, 02:09 AM
I don't say I don't believe you, but if I was you, I'd check it again. smile.gif

Because if you look at includes/login.php, then you'll see that both content of username and server fields are starting with "<?" and it's short open tag and I say there's no way how it could ever work with short_open_tag Off.

Try to create file phpinfo.php in the same directory where you have XPA, insert the following:

<?php
phpinfo();
?>

then open it in browser and search for short_open_tag.

Posted by: atomino01 Jun 16 2008, 05:23 PM
QUOTE (Sob @ Jun 7 2008, 02:09 AM)
...but if I was you, I'd check it again. smile.gif


Hallo Sob,

thank you very much for your help.
When I tested it before, I did not restart the httpd.
I restart the machine and now short_open_tag works.
It means the webfrontend looks like before...
but login is not possible.
It must be another reason in the php-code...
If anyone had an idea it is welcome.

Posted by: Sob Jun 16 2008, 11:46 PM
I'm pretty sure that the current php.ini in use is not the same as was before the update.
Try to find the original file and put it instead of the current one.
Probably some required extension is not enabled in current php.ini, or something like that..

Posted by: atomino01 Sep 25 2008, 10:54 AM
Hallo Xpai-Users,

the failure was in the xpai config.php.
In '$servers = array' I changed "localhost"=>"localhost:6017"
with "real server name"=>"IP adress:6017".
In my case "mailserver"=>"10.250.154.253:6017".
Now it works! smile.gif
You can see the servername on the login page.
If you have some servers in the array you can choose
a server on the login page.

atomino01
greetings from germany

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)