View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022632 | mantisbt | upgrade | public | 2017-03-31 08:25 | 2017-04-15 10:24 |
Reporter | aytolpgc | Assigned To | dregad | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 2.2.1 | ||||
Summary | 0022632: Updating from 1.2.19 to 2.2.1 ... Attachements wont show | ||||
Description | Hi, Just updated from 1.2.19 to 2.2.1. I use <<mysql Ver 15.1 Distrib 10.1.22-MariaDB, for Linux (x86_64) using readline 5.1>> and <<PHP 7.0.16>>. The update process went fine and i can see everything (users, issues, projects, Etc.). The only problem i have is the attachements. They show the correct name and size, but when i click on the link it shows blank (no error, just a white screen). The same happens if i create a new issue. I did a new install in the same machine to check if its a MySQL/Apache/PHP problem and attachements work fine. Attachements are saved in the DB. Any help to fix this issue will be appreciated :-) | ||||
Steps To Reproduce | update was done as described in: https://www.mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.install.upgrade | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Sorry if I'm stating the obvious, but did you check the PHP / apache logs for errors ? You may also want to try to configure your system to give debbuging information in case of error. Please follow these steps:
WARNING - SECURITY RISK: the 'show_detailed_errors' config can cause MantisBT to display sensitive information about your system. We recommend to restrict its activation to a Test environment, only for as long as necessary. If possible, do not turn it ON globally, instead limit it for specific user(s) using the Manage Configuration page.
If the output does not help you resolving the issue and you need further assistance,
|
|
Hi, Thanks for the advice! I added the debug lines u recomend and i get errors (attach html file). Seems that the main error is described as: <<'mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50552 Library:100122' in '/var/www/html/mantisbt/library/adodb/drivers/adodb-mysqli.inc.php' line 124>>. Googling a bit it seems i need to switch to "mysqlnd" (https://dev.mysql.com/downloads/connector/php-mysqlnd/). Does this seem right? Someone with the same problem switched to mysqlnd and fixed the issue? Thanks in advance for any help. error.htm (4,687 bytes)
<!DOCTYPE html> <html><head> <meta http-equiv="Content-type" content="text/html; charset=UTF-8"> <title>Error Log</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> </head> <body class="skin-3"> <div class="col-md-12 col-xs-12"><div class="space-20"></div><div class="alert alert-danger"><p class="bold">SYSTEM WARNING</p><p>'mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50552 Library:100122' in '/var/www/html/mantisbt/library/adodb/drivers/adodb-mysqli.inc.php' line 124</p><p> </p><table class="width-100"> <tbody><tr> <td>Full path: /var/www/html/mantisbt/library/adodb/drivers/adodb-mysqli.inc.php</td> </tr> <tr> <td>Line: 124</td> </tr> <tr> <td> <table class="width100" style="table-layout:fixed;"><tbody><tr><th>Variable</th><th>Value</th><th>Type</th></tr><tr><td style="width=20%; word-wrap:break-word; overflow:auto;">argHostname</td><td style="width=70%; word-wrap:break-word; overflow:auto;">localhost</td><td style="width=10%;">string</td></tr> <tr><td style="width=20%; word-wrap:break-word; overflow:auto;">argUsername</td><td style="width=70%; word-wrap:break-word; overflow:auto;">{user}</td><td style="width=10%;">string</td></tr> <tr><td style="width=20%; word-wrap:break-word; overflow:auto;">argPassword</td><td style="width=70%; word-wrap:break-word; overflow:auto;">{password}</td><td style="width=10%;">string</td></tr> <tr><td style="width=20%; word-wrap:break-word; overflow:auto;">argDatabasename</td><td style="width=70%; word-wrap:break-word; overflow:auto;">bugtracker</td><td style="width=10%;">string</td></tr> <tr><td style="width=20%; word-wrap:break-word; overflow:auto;">persist</td><td style="width=70%; word-wrap:break-word; overflow:auto;"></td><td style="width=10%;">boolean</td></tr> <tr><td colspan="3" style="word-wrap:break-word"><br><strong>arr</strong></td></tr><tr><td colspan="3"><table class="width100" style="table-layout:fixed;"><tbody><tr><th>Variable</th><th>Value</th><th>Type</th></tr><tr><td style="width=20%; word-wrap:break-word; overflow:auto;">0</td><td style="width=70%; word-wrap:break-word; overflow:auto;">5</td><td style="width=10%;">integer</td></tr> <tr><td style="width=20%; word-wrap:break-word; overflow:auto;">1</td><td style="width=70%; word-wrap:break-word; overflow:auto;">0</td><td style="width=10%;">integer</td></tr> </tbody></table></td></tr></tbody></table> </td> </tr> </tbody></table> <p></p><p></p><div class="table-responsive"><table class="table table-bordered table-striped table-condensed"><tbody><tr><th>Filename</th><th>Line</th><th></th><th></th><th>Function</th><th>Args</th></tr><tr><td>/var/www/html/mantisbt/library/adodb/drivers/adodb-mysqli.inc.php</td><td>124</td><td>-</td><td>-</td><td>mysqli_real_connect</td><td>( <Object><mysqli> ( [affected_rows] => NULL, [client_info] => NULL, [client_version] => NULL, [connect_errno] => NULL, [connect_error] => NULL, [errno] => NULL, [error] => NULL, [error_list] => NULL, [field_count] => NULL, [host_info] => NULL, [info] => NULL, [insert_id] => NULL, [server_info] => NULL, [server_version] => NULL, [stat] => NULL, [sqlstate] => NULL, [protocol_version] => NULL, [thread_id] => NULL, [warning_count] => NULL ), <string>'localhost', <string>'mantis', <string>'mantis.207', <string>'bugtracker', <integer>3306, <string>'', <integer>0 )</td></tr><tr><td>/var/www/html/mantisbt/library/adodb/adodb.inc.php</td><td>670</td><td>ADODB_mysqli</td><td>-></td><td>_connect</td><td>( <string>'localhost', <string>'mantis', <string>'mantis.207', <string>'bugtracker' )</td></tr><tr><td>/var/www/html/mantisbt/core/database_api.php</td><td>143</td><td>ADOConnection</td><td>-></td><td>Connect</td><td>( <string>'localhost', <string>'mantis', <string>'mantis.207', <string>'bugtracker' )</td></tr><tr><td>/var/www/html/mantisbt/core.php</td><td>225</td><td>-</td><td>-</td><td>db_connect</td><td>( <string>'', <string>'localhost', <string>'mantis', <string>'mantis.207', <string>'bugtracker' )</td></tr><tr><td>/var/www/html/mantisbt/index.php</td><td>31</td><td>-</td><td>-</td><td>require_once</td><td>( <string>'/var/www/html/mantisbt/core.php' )</td></tr></tbody></table><p></p></div></div> <script type="text/javascript" src="error_files/bootstrap-3.js"></script> </div></body></html> |
|
Confirmed, installing php7-mysqlnd fixed the issue. Thanks for all the help and hope this is usefull for someone in the future :-) |
|
Thanks for the feedback, glad you were able to fix your problem. |
|