Cannot to go page ../mantis/bug_report_advanced_page.php
Moderators: Developer, Contributor
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
Can someone pls help me here?
I checked the bug_report.php and its referring to string_api.php in the same directory, however the string_api.php is placed in the core directory. Why is it configured so?
I did the following but still not able to submit the report
1) updated all references in bug_report.php to refer to core directory
$ grep core_path bug_report.php_backup
$t_core_path = config_get( 'core_path' );
require_once( $t_core_path.'string_api.php' );
require_once( $t_core_path.'file_api.php' );
require_once( $t_core_path.'bug_api.php' );
require_once( $t_core_path.'custom_field_api.php' );
2) moved the string_api.php into same directory as bug_report.php
I checked the bug_report.php and its referring to string_api.php in the same directory, however the string_api.php is placed in the core directory. Why is it configured so?
I did the following but still not able to submit the report
1) updated all references in bug_report.php to refer to core directory
$ grep core_path bug_report.php_backup
$t_core_path = config_get( 'core_path' );
require_once( $t_core_path.'string_api.php' );
require_once( $t_core_path.'file_api.php' );
require_once( $t_core_path.'bug_api.php' );
require_once( $t_core_path.'custom_field_api.php' );
2) moved the string_api.php into same directory as bug_report.php
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
my older server running mantis was php 5.3.3
the current new server is php 5.5.9
the current new server is php 5.5.9
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
from my last step/post, this is the error i saw:
Does the php version affect how the scripts perform? SHould i just run install of the latest version of mantis?
Code: Select all
[Wed Jun 10 04:11:03.073282 2015] [:error] [pid 29465] [client 175.141.238.71:57466] PHP Warning: ob_start(): function 'compress_handler' not found or invalid function name in /var/www/vhosts/support.smssb.com/mantis/core.php on line 18, referer: http://support.smssb.com/mantis/login_select_proj_page.php?ref=bug_report_advanced_page.php
[Wed Jun 10 04:11:03.073340 2015] [:error] [pid 29465] [client 175.141.238.71:57466] PHP Notice: ob_start(): failed to create buffer in /var/www/vhosts/support.smssb.com/mantis/core.php on line 18, referer: http://support.smssb.com/mantis/login_select_proj_page.php?ref=bug_report_advanced_page.php
[Wed Jun 10 04:11:05.325206 2015] [:error] [pid 29465] [client 175.141.238.71:57466] PHP Warning: ob_start(): function 'compress_handler' not found or invalid function name in /var/www/vhosts/support.smssb.com/mantis/core.php on line 18, referer: http://support.smssb.com/mantis/bug_report_advanced_page.php
[Wed Jun 10 04:11:05.325248 2015] [:error] [pid 29465] [client 175.141.238.71:57466] PHP Notice: ob_start(): failed to create buffer in /var/www/vhosts/support.smssb.com/mantis/core.php on line 18, referer: http://support.smssb.com/mantis/bug_report_advanced_page.php
[Wed Jun 10 04:11:05.339390 2015] [:error] [pid 29465] [client 175.141.238.71:57466] PHP Fatal error: Call to undefined function form_security_validate() in /var/www/vhosts/support.smssb.com/mantis/bug_report.php on line 36, referer: http://support.smssb.com/mantis/bug_report_advanced_page.php
[Wed Jun 10 04:16:32.758629 2015] [:error] [pid 29466] [client 175.141.238.71:57600] PHP Warning: ob_start(): function 'compress_handler' not found or invalid function name in /var/www/vhosts/support.smssb.com/mantis/core.php on line 18, referer: http://support.smssb.com/mantis/login_select_proj_page.php?ref=bug_report_advanced_page.php
[Wed Jun 10 04:16:32.758690 2015] [:error] [pid 29466] [client 175.141.238.71:57600] PHP Notice: ob_start(): failed to create buffer in /var/www/vhosts/support.smssb.com/mantis/core.php on line 18, referer: http://support.smssb.com/mantis/login_select_proj_page.php?ref=bug_report_advanced_page.php
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
I am quite sure this causes at least some of your problems, maybe even all.karishma wrote:my older server running mantis was php 5.3.3
the current new server is php 5.5.9
The Mantis version you use has been released in 2005.
You are a lucky man that it runs on PHP 5.3.3 which has been released in 2010.
You shouldn't expect that it runs on PHP 5.5.9 which has been released in 2014.
If you really want to use PHP 5.5 you would have to check the Mantis source for the incompatible changes mentioned at
http://php.net/manual/en/migration54.php
http://php.net/manual/en/migration55.php
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
Should I just get the appropriate version of mantis for my php 5.5.9? DOwngrading my php on the ubuntu 12 is going to be a challenge from what I read.
WHich is the latest version of mantis, and would it be able to inherit/import all my exisiting data into it?
WHich is the latest version of mantis, and would it be able to inherit/import all my exisiting data into it?
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
I assume you mean Ubuntu 14.04 as 12.04 comes with PHP 5.3.10. Right?karishma wrote:Should I just get the appropriate version of mantis for my php 5.5.9? DOwngrading my php on the ubuntu 12 is going to be a challenge from what I read.
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
You are right, mine is ubuntu14.
Ubuntu 12 would be ok but if we do an update it will go to ubuntu 14.
How about centos 5? would the php 5.1.x be compatible?
Ubuntu 12 would be ok but if we do an update it will go to ubuntu 14.
How about centos 5? would the php 5.1.x be compatible?
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
Hard to say what would be the best option for you.
For a long term solution (update to a newer MantisBT running on a newer PHP) you should check what I recommended.
For a long term solution (update to a newer MantisBT running on a newer PHP) you should check what I recommended.
For a short term solution, Centos 5 might work.atrol wrote: I recommend to download the whole original package and compare all files with your ones
http://sourceforge.net/projects/mantisb ... /1.0.0rc1/
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
For this version /1.0.0rc1/, how do I know its compatibility with php?
I am thinking of centos 6.5 as a long term solution, its with php v5.3.3
I am thinking of centos 6.5 as a long term solution, its with php v5.3.3
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
Thus, Centos with the same PHP version might also work.karishma wrote:my older server running mantis was php 5.3.3
But keep in mind that Mantis 1.0.0 RC1 has been released in July 2005 whereas PHP 5.3.3 five years later in 2010.
This is the original documentation of this versionkarishma wrote:For this version /1.0.0rc1/, how do I know its compatibility with php?
https://github.com/mantisbt/mantisbt/bl ... oc/INSTALL
It tells: PHP 4.0.6 and higher
Still the same from my side:
atrol wrote:Hard to say what would be the best option for you.
For a long term solution (update to a newer MantisBT running on a newer PHP) you should check what I recommended.For a short term solution, Centos 5 might work.atrol wrote: I recommend to download the whole original package and compare all files with your ones
http://sourceforge.net/projects/mantisb ... /1.0.0rc1/
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
I dont really have the resources to completely upgrade to the latest mantis, so basically i am trying to make my current scripts work.
Ive got centos 6.5 with php 5.3.3 cli, BUT yet the page bug_report_advanced_page.php appears blank.
I keep getting this error when trying to run page bug_report_advanced_page.php
I had used the exact scripts from my previous server. This is crazy.
Ive got centos 6.5 with php 5.3.3 cli, BUT yet the page bug_report_advanced_page.php appears blank.
I keep getting this error when trying to run page bug_report_advanced_page.php
Code: Select all
[Wed Jun 17 01:23:15 2015] [error] [client 175.141.237.121] PHP Parse error: syntax error, unexpected $end in /var/www/vhosts/support.smssb.com/mantis/bug_report_advanced_page.php on line 500
[Wed Jun 17 01:36:09 2015] [error] [client 175.141.237.121] PHP Parse error: syntax error, unexpected $end in /var/www/vhosts/support.smssb.com/mantis/bug_report_advanced_page.php on line 500
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
I found my solution, turns out it was the php configuration, the default in the new servers was short_open_tag = off, by setting it to on it works now.
Thanks atrol for your kind replies & suggestions.
Thanks atrol for your kind replies & suggestions.
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
Thanks for coming back and telling the solution.
Quite strange, as short open tags should be removed since 2002 in version 0.17.0, see https://www.mantisbt.org/bugs/view.php?id=983
Maybe you use short open tags in your own changed files (maybe in config_inc.php)
Nevertheless, great that it's running now.
Quite strange, as short open tags should be removed since 2002 in version 0.17.0, see https://www.mantisbt.org/bugs/view.php?id=983
Maybe you use short open tags in your own changed files (maybe in config_inc.php)
Nevertheless, great that it's running now.
Re: Cannot to go page ../mantis/bug_report_advanced_page.php
I realise I am still having this error:
Can someone help?
Due to this my mantis app is unable to send out any email alerts.PHP Notice: ob_start(): failed to create buffer in /var/www/vhosts/support.smssb.com/mantis/core.php on line 18, referer: http://support.smssb.com/mantis/manage_ ... il_set.php
Can someone help?