View Issue Details

IDProjectCategoryView StatusLast Update
0024389mantisbtupgradepublic2018-05-02 04:53
Reportererdesc Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version2.13.1 
Summary0024389: Cannot add ticket after upgrade to 2.13.1 (can't access api from $g_core_path)
Description

Hello,

After upgrade to MantisBT-2.13.1 and to 2.14.0 I get this message when submitting a new bug report :

'require_once(/var/www/mantisbt-base/core/commands/../../api/soap/mc_api.php): failed to open stream: No such file or directory' in '/var/www/mantisbt-base/core/commands/IssueAddCommand.php' line 36

As you can see, core and library are located in /var/www/mantisbt-base/ while api is located in /var/www/mantisbt/api/.

I can add ticket if I copy or move the api directiry inside /var/www/mantisbt-base/.

Is there any misconfiguration or is it a bug in MantisBT ?

My best Regards!

Eric

Steps To Reproduce

Have core/, lang/ and library/ outside of mantisbt DocumentRoot.

MantisBT version 2.13.1 or 2.14.0.

Report issue > complete it > Submit Issue

Error message:
'require_once(/var/www/mantisbt-base/core/commands/../../api/soap/mc_api.php): failed to open stream: No such file or directory' in '/var/www/mantisbt-base/core/commands/IssueAddCommand.php' line 36

Additional Information

Worked perfectly using version 2.12.0

TagsNo tags attached.

Relationships

related to 0023998 closedvboctor Implement IssueAddCommand and use it from SOAP, REST and Web UI 
related to 0024236 closedatrol IssueAddCommand Prevents API Folder Removal 

Activities

There are no notes attached to this issue.