In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
73 [In-Portal CMS] Admin Interfaces bug report always 2009-06-13 14:20 2009-10-03 07:57
ilya  
Dmitry  
normal  
closed 5.0.0  
fixed  
 
none 5.0.1  
0
0000073: In-Portal CMS No Color in Header
1. I downloaded this version (just CMS, no modules): svn://source.in-portal.org/in-portal/branches/RC/

2. Installed it

Notice how the header doesn't have the blue background. Screen attached.
gif Missing Blue in Header.gif (77,152) 2009-06-13 14:20
http://tracker.in-portal.org/file_download.php?file_id=9&type=bug
gif
Issue History
2009-11-13 12:57 Dmitry Changeset attached 5.0.x r12161
2009-10-03 07:57 administrator Note Added: 0000803
2009-10-03 07:57 administrator Status resolved => closed
2009-08-08 03:10 alex Fixed in Version => 5.0.1
2009-08-05 10:59 alex Changeset attached 5.0.x r12199
2009-08-04 14:26 Dmitry Changeset attached 5.0.x r12170
2009-08-04 10:32 Dmitry Changeset attached 5.0.x r12164
2009-08-04 10:32 Dmitry Note Added: 0000228
2009-08-04 10:32 Dmitry Status needs feedback => resolved
2009-08-04 10:32 Dmitry Resolution reopened => fixed
2009-08-04 09:27 alex Note Added: 0000227
2009-08-04 09:27 alex Assigned To alex => Dmitry
2009-08-04 09:27 alex Status needs work => needs feedback
2009-08-04 09:23 alex Status needs feedback => needs work
2009-08-03 19:01 Dmitry Note Added: 0000224
2009-08-03 19:01 Dmitry Assigned To Dmitry => alex
2009-08-03 19:01 Dmitry Status reviewed and tested => needs feedback
2009-08-03 18:57 Dmitry Changeset attached 5.0.x r12161
2009-08-03 18:56 Dmitry Changeset attached 5.0.x r12160
2009-08-03 15:33 Dmitry Note Added: 0000219
2009-08-03 15:33 Dmitry Assigned To alex => Dmitry
2009-08-03 15:33 Dmitry Status needs work => reviewed and tested
2009-06-17 02:26 alex Assigned To Dmitry => alex
2009-06-17 02:26 alex Status needs testing => needs work
2009-06-17 02:06 Dmitry Status needs work => needs testing
2009-06-17 02:06 Dmitry Target Version 5.0.0 => 5.0.1
2009-06-17 02:05 Dmitry Note Added: 0000081
2009-06-17 02:05 Dmitry Status needs feedback => needs work
2009-06-17 02:02 alex Note Added: 0000080
2009-06-17 02:02 alex Status resolved => needs feedback
2009-06-17 02:02 alex Resolution no change required => reopened
2009-06-17 01:59 alex Note Added: 0000079
2009-06-16 19:04 Dmitry Status reviewed and tested => resolved
2009-06-16 19:04 Dmitry Resolution open => no change required
2009-06-16 19:04 Dmitry Status needs work => reviewed and tested
2009-06-16 19:03 Dmitry Status needs feedback => needs work
2009-06-16 19:02 ilya Status needs work => needs feedback
2009-06-16 19:01 ilya Note Added: 0000078
2009-06-16 19:01 ilya Assigned To ilya => Dmitry
2009-06-16 19:01 ilya Status needs feedback => needs work
2009-06-16 19:01 ilya Note Edited: 0000077 bug_revision_view_page.php?bugnote_id=0000077#r54
2009-06-16 18:57 ilya Note Added: 0000077
2009-06-15 02:11 alex Note Added: 0000066
2009-06-13 18:24 ilya Note Added: 0000065
2009-06-13 15:21 Dmitry Time Estimate Removed 0 =>
2009-06-13 15:21 Dmitry Note Added: 0000064
2009-06-13 15:21 Dmitry Assigned To => ilya
2009-06-13 15:21 Dmitry Status active => needs feedback
2009-06-13 14:22 Dmitry version => 5.0.0
2009-06-13 14:22 Dmitry Target Version => 5.0.0
2009-06-13 14:20 ilya New Issue
2009-06-13 14:20 ilya File Added: Missing Blue in Header.gif

Notes
(0000064)
Dmitry   
2009-06-13 15:21   
Ilya, please provide more information here since I can NOT replicate this on my end (In-Portal CMS only on Windows IIS 7.0).
(0000065)
ilya   
2009-06-13 18:24   
For PHP/MySQL/Apache, I just use this: http://www.wampserver.com/en/ on Windows Vista
(0000066)
alex   
2009-06-15 02:11   
Can't replicate this either. Seems to be windows-only problem. Slava is testing on windows (at least I assume that) and he haven't noticed anything.
(0000077)
ilya   
2009-06-16 18:57   
(edited on: 2009-06-16 19:01)
This was resolved. Issue was I named my installation "In-Portal5 CMS" (with a space). As a result, the CSS file looked like this and the background image wasn't displaying:

/* Head frame */
table.head-table {
    background: url(http://localhost/In-Portal5 CMS/core/admin_templates/img/top_frame/right_background.jpg) top right #007BF4 no-repeat;
}

(0000078)
ilya   
2009-06-16 19:01   
Resolved
(0000079)
alex   
2009-06-17 01:59   
Reminder sent to: Dmitry, ilya

Not the resolution I've expected. People can name folders with spaces and kernel should work. For example login cookies are set correctly in this case.

As valid solution I propose to replace " " with "%20" in site url used during admin skin compilation.
(0000080)
alex   
2009-06-17 02:02   
See my reminder.
(0000081)
Dmitry   
2009-06-17 02:05   
Ok, issue moved to 5.0.1 fixes branch
(0000219)
Dmitry   
2009-08-03 15:33   
We'll add single quotes around all URLs in .CSS files.
(0000224)
Dmitry   
2009-08-03 19:01   
I have changed all URL params in CSS files, but the actual problem comes from URLs we are building within the system.

I have tried adding the following to startup.php:

$ps = str_replace(' ', '%20', $ps); // replace spaces in url

But this breaks the Redirect since tries to send user to NON-escaped URL in Admin. See example below:

Proceed to redirect: http://simone1.intechnic.com/dev/SVN/in%20portal.full/admin/dev/SVN/in portal.full/admin/index.php?env=-login:m0--1--s-&next_template=index
(0000227)
alex   
2009-08-04 09:27   
Problem is in administrative console, but you've fixed css files (that were not containing spaces!) in front-end theme. Right place to fix is:
- "core/admin_templates/incs/style_template.css"
- default skin text, which is based on mentioned above file and is stored in Skins table
(0000228)
Dmitry   
2009-08-04 10:32   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000073: In-Portal CMS No Color in Header (adding CSS fixes)
(0000803)
administrator   
2009-10-03 07:57   
Closing issues from 5.0.1 version, because version was already released.