2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
atomino01 |
Posted: Apr 11 2008, 05:56 PM
|
Newbie Group: Members Posts: 6 Member No.: 2873 Joined: 11-April 08 |
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? |
atomino01 |
Posted: Jun 5 2008, 03:00 PM
|
Newbie Group: Members Posts: 6 Member No.: 2873 Joined: 11-April 08 |
I've got no answer...
thank you for the helpful forum |
Sob |
Posted: Jun 5 2008, 05:21 PM
|
Member Group: Members Posts: 53 Member No.: 2881 Joined: 19-April 08 |
It looks that the php code is not executed. What about short_open_tag in php.ini? Is it set to On?
|
atomino01 |
Posted: Jun 6 2008, 09:05 AM
|
||
Newbie Group: Members Posts: 6 Member No.: 2873 Joined: 11-April 08 |
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. |
||
Sob |
Posted: Jun 7 2008, 02:09 AM
|
Member Group: Members Posts: 53 Member No.: 2881 Joined: 19-April 08 |
I don't say I don't believe you, but if I was you, I'd check it again.
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. |
atomino01 |
Posted: Jun 16 2008, 05:23 PM
|
||
Newbie Group: Members Posts: 6 Member No.: 2873 Joined: 11-April 08 |
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. |
||
Sob |
Posted: Jun 16 2008, 11:46 PM
|
Member Group: Members Posts: 53 Member No.: 2881 Joined: 19-April 08 |
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.. |
atomino01 |
Posted: Sep 25 2008, 10:54 AM
|
Newbie Group: Members Posts: 6 Member No.: 2873 Joined: 11-April 08 |
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! 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 |