View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 05352 | Bug reports | ComfortUpdate | public | 2011-07-19 15:34 | 2011-08-02 17:18 |
| Reporter | mot | Assigned To | mot | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 1.91+ | ||||
| Summary | 05352: Probably Regression on output logic ref 05217 | ||||
| Description | While I updated my SVN stable to HEAD, limesurvey asked me to run the database upgrade. I run the database upgrade but then was seeing a duplicated header. This might be related to 05217. | ||||
| Tags | No tags attached. | ||||
| Attached Files | 05352-00-double-admin-header.diff (796 bytes)
### Eclipse Workspace Patch 1.0
#P Limesurvey 1.x trunk stable
Index: admin/update/updater.php
===================================================================
--- admin/update/updater.php (revision 10602)
+++ admin/update/updater.php (working copy)
@@ -627,7 +627,7 @@
{
if(isset($_GET['continue']) && $_GET['continue']==1)
{
- echo getAdminHeader()."<div style='width:90%; padding:1% 10%;background-color:#eee;'>";
+ echo "<div style='width:90%; padding:1% 10%;background-color:#eee;'>";
$upgradedbtype=$databasetype;
if ($upgradedbtype=='mssql_n' || $upgradedbtype=='odbc_mssql' || $upgradedbtype=='odbtp') $upgradedbtype='mssql';
if ($upgradedbtype=='mssqlnative') $upgradedbtype = 'mssqlnative';
| ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 10545 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Firefox | ||||
| Database type & version | Mysql 5 Family | ||||
| Server OS (if known) | Linux (Fedora 14) | ||||
| Webserver software & version (if known) | Apache 2.2 | ||||
| PHP Version | 5.3.6 | ||||
| Git branch / Pull Request URL | |||||
|
Yes, I can see that too. Can you have another look and check what's wrong, please? |
|
|
Will do. |
|
|
Found the culprit, will commit it. There is only one place left where that function was invoked /admin/install/index.php#65 and it looks like it's mislplaced there as well. In case not, add the admin header again, but there. |
|
|
1.91+ version released. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-07-19 15:34 | mot | New Issue | |
| 2011-07-19 15:34 | mot | Status | new => assigned |
| 2011-07-19 15:34 | mot | Assigned To | => c_schmitz |
| 2011-07-19 15:34 | mot | File Added: Selection_011.png | |
| 2011-07-21 18:15 | c_schmitz | Assigned To | c_schmitz => mot |
| 2011-07-21 18:15 | c_schmitz | Note Added: 15819 | |
| 2011-07-22 01:01 | mot | Note Added: 15824 | |
| 2011-07-28 19:09 | mot | File Added: 05352-00-double-admin-header.diff | |
| 2011-07-28 19:10 | mot | Note Added: 15876 | |
| 2011-07-28 19:15 | mot | Status | assigned => resolved |
| 2011-07-28 19:15 | mot | Resolution | open => fixed |
| 2011-08-02 17:18 | c_schmitz | Note Added: 15935 | |
| 2011-08-02 17:18 | c_schmitz | Status | resolved => closed |