View Issue Details

IDProjectCategoryView StatusLast Update
0013811MantisTouchGeneralpublic2012-03-17 04:29
Reporterheadsight2 Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
OSWindows 7 
Fixed in Version1.1.1 
Summary0013811: Installation - Missing files
Description

just tried to install MantisTouch beside a fresh Mantis 1.2.8. Installation. No way found, that I can log in as Administrator via MantisTouch. I always get "Login failed!"
Then I tried to debug and found in application/layouts/scripts/layout.phtml these lines
CODE: SELECT ALL
<?php @include( APPLICATION_PATH . '/configs/ad_head_inc.php' ); ?>

...
CODE: SELECT ALL
<?php @include( APPLICATION_PATH . '/configs/ad_body_inc.php' ); ?>

The referenced files are not existing. Are my login problems maybe related to this?
I am working with a WAMP-Environment. I have tried another Installation on an IIS, but that doesn't work either.

TagsNo tags attached.

Activities

vboctor

vboctor

2012-01-27 00:22

manager   ~0031043

The login issue shouldn't be related to these files. These are optional files that are used to include code in html header and body at the opt of each page. MantisTouch however, should check that files exist before including them to avoid errors being reported. It currently just ignores the errors.

I suspect that the issue is caused by you running an old version of MantisBT. Which version are you currently running? I suggest you upgrade to 1.2.8.

headsight2

headsight2

2012-01-27 03:07

reporter   ~0031048

Hi,I am referencing a Version 1.2.8, which I have just installed. The local.ini looks like:
"[production]
settings.admin.default_mantis_url = 'http://localhost/mantis_128/'
settings.admin.feedback_email = 'falko.xxx@xheadsight.de'
settings.website.url = 'http://localhost/mantisTouch/' "

After installation I received an error "Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'parse error in D:\Falko\webRoot\mantisTouch\application/configs/application.ini on line 20 ' in D:\Falko\webRoot\mantisTouch\library\Zend\Config\Ini.php:182 Stack trace: #0 D:\Falko\webRoot\mantisTouch\library\Zend\Config\Ini.php(202): Zend_Config_Ini->_parseIniFile('D:\Falko\webRoo...') 0000001 D:\Falko\webRoot\mantisTouch\library\Zend\Config\Ini.php(126): Zend_Config_Ini->_loadIniFile('D:\Falko\webRoo...') 0000002 D:\Falko\webRoot\mantisTouch\public\index.php(104): Zend_Config_Ini->__construct('D:\Falko\webRoo...', 'production', Array) 0000003 D:\Falko\webRoot\mantisTouch\index.php(3): include('D:\Falko\webRoo...') 0000004 {main} thrown in D:\Falko\webRoot\mantisTouch\library\Zend\Config\Ini.php on line 182"
I found out, that I had to edit application.ini as well because it didn't accept an empty string in
" settings.admin.feedback_email = '' "

However on another server I didn't have to set an E-mail in application.ini.

headsight2

headsight2

2012-01-27 03:36

reporter   ~0031051

Following error in Log found:
" [Fri Jan 27 09:32:54 2012] [error] [client 127.0.0.1] PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost/mantis_128/api/soap/mantisconnect.php?wsdl' : Premature end of data in tag definitions line 2\n in D:\Falko\webRoot\mantisTouch\library\Zend\Soap\Client\Common.php on line 51, referer: http://localhost/mantisTouch/?err=1 "

I have PHP 5.3.0 installed with SOAP extension loaded.

atrol

atrol

2012-01-27 06:35

developer   ~0031057

I have PHP 5.3.0 installed with SOAP extension loaded.
There are various known issues running MantisBT using PHP versions < 5.3.3 (especially running on Windows)
I am quite sure that running MantisTouch with PHP version 5.3.0 is also no good choice.

headsight2

headsight2

2012-01-31 04:19

reporter   ~0031086

Thanks for the hint. Tested PHP Upgrade to 5.3.4 and 5.3.9 both of which worked well.
Since the installation routine of Mantis 1.2.8 does show a green GOOD for an installation on PHP < 5.3.3 you should add a comment in the MantisTouch ReadMe to recommend PHP > 5.3.3.

Shell I close the issue?

vboctor

vboctor

2012-01-31 04:53

manager   ~0031087

I've updated the README file. @headsight, I suggest you open a bug relating to the post-installation checks for MantisBT since it gives green for a PHP version that has MantisBT doesn't support properly.

atrol

atrol

2012-01-31 05:27

developer   ~0031088

It's not that simple.
MantisBT 1.2.8 runs fine with most of the PHP 5.1.x and 5.2.x versions and also with patched versions of 5.3.2 (for example Ubuntu 10.04 LTS bundles such a version which runs fine)
That's why we check just >= 5.1.0
For 1.3 master we decided to check >= 5.3.2 to get no trouble with Ubuntu LTS.
I am quite sure we will get similar problems when 5.4.0 arrives.