Page 1 of 2
chapter new installation missing
Posted: Fri Dec 15, 2006 1:09 pm
by Arnold Nijboer
Hey guy's,
i've updated to 1.04 and discoverd an odity, the title from serendipity_admin.php?serendipity[step]=2b (of 2a) is "missing" but when you select it with the mouse the text "Serendipity installation" becomes vissible.
Should be something with a style i think.
Greatings
Arnold Nijboer
Posted: Fri Dec 15, 2006 3:08 pm
by judebert
This occurs during installation? I just did a 1.1b install, and didn't see any missing titles. Perhaps it's already fixed in the next update.
Posted: Fri Dec 15, 2006 3:16 pm
by Arnold Nijboer
Thanks for the fast reaction judebert,
i believe the problem solved itself (sort of) indeed i installed 1.04,
but i later downloaded 1.04a and i think it's okey now.
Greatings
Arnold nijboer
Posted: Fri Dec 15, 2006 3:27 pm
by judebert
I love solutions that require no work.

Posted: Sat Dec 16, 2006 4:19 pm
by Arnold Nijboer
i'm sorry Judebert IT'S BACK
luckely for me i'm not that interisted in the title,
does it relate to the removel of the database check installer.inc.php
Code: Select all
echo CHECK_DATABASE_EXISTS .'...';
$t = serendipity_db_query("SELECT * FROM {$serendipity['dbPrefix']}authors", false, 'both', false, false, false, true);
if ( is_array($t) ) {
echo ' <strong>'. THEY_DONT .'</strong>';
echo '<br />';
it's at the bottem of the file line 461.
and then the removel of the } at line 493. or should this be another line?
greatings
Arnold
Posted: Sun Dec 17, 2006 3:23 am
by judebert
So, the title is missing? I don't think it's got anything to do with the code you've removed: all that relates to is databases, and it doesn't happen until step 3.
I'm betting the problem is in the serendipity_parseTemplate() call. The 2a and 2b calls are different.
Hmmm, I'm looking at the code, and it's just not jumping out at me. Must be the sleep thing again. Can you give me a URL where I can see the problem in action? If not, I can always try to install 1.0.4 myself somewhere...
Posted: Sun Dec 17, 2006 3:17 pm
by Arnold Nijboer
okey here it is..
test.manegekleinoever.nl/serendipity_ad ... y[step]=2a
by the way there is one other thing i've changed to the serendipity code.
Code: Select all
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error verbinding met database');
mysql_select_db('user') or die ('Kan database niet vinden');
$Select = mysql_query("SELECT * FROM user WHERE cid=(SELECT max(cid) FROM user)") or exit ("Ongeldige query " . mysql_error());
$last_id = mysql_fetch_row($Select);
$username = $last_id[1];
$userpass = $last_id[3];
$useremail = $last_id[2];
$blogname = $last_id[4];
$blogdscr = $last_id[5];
$url = "http://".$blogname.".manegekleinoever.nl";
$res = array();
this is inside the config_local.inc.php inside the include/admin dir.
what it does, it implants previeus variables from user input, as folowing:
Code: Select all
'items' => array(array('var' => 'user',
'title' => INSTALL_USERNAME,
'description' => INSTALL_USERNAME_DESC,
'type' => 'string',
'default' => $username,
'permission' => 'siteConfiguration',
'flags' => array('installOnly', 'local')),
array('var' => 'pass',
'title' => INSTALL_PASSWORD,
'description' => INSTALL_PASSWORD_DESC,
'type' => 'protected',
'default' => $userpass,
'permission' => 'siteConfiguration',
'flags' => array('installOnly', 'local')),
Note the default values!
Greatings
Arnold Nijboer
Posted: Sun Dec 17, 2006 3:24 pm
by Timbalu
I just installed your system using above url, sorry for that!

Everything seem ok - what are you missing?
Ian
Posted: Sun Dec 17, 2006 4:17 pm
by Arnold Nijboer
timbalu, thank for that!
Whell you saw the complete installation butten (offcourse).
but in the left top corner there was the text "serendipity installation"
this has blent in with the background, so if you select it with your mouse it gets a visible.
other visitors please do not press complete installation
just read this entyre topic and then repley!
Greatings
Arnold
Posted: Sun Dec 17, 2006 4:58 pm
by Timbalu
Sorry for this, Arnold!
I see what you mean.
change in serendipity_admin.css the color line
Code: Select all
#serendipityAdminBanner h1 {
- color: #fff;
+ color: #333;
font-size : 20px;
padding-left:15px;
padding-top: 10px;
margin: 0px;
text-decoration: none; }
Ian
Posted: Sun Dec 17, 2006 5:05 pm
by Arnold Nijboer
okey great sulution, but?! is it a bug in 1.04a or is it just my installation? does anyone else have the same issue.
thanks for the quiq response timbalu all is forgiven
many thanks...
Arnold
Posted: Sun Dec 17, 2006 5:18 pm
by Arnold Nijboer
just one question remains....
what file do you mean?
inside the admin dir there is no css file,
there is no file called serendipity_admin.css
inside the serendipity.css.php there is no such text.
the only possible file i could vindt is inside the template/admin,
but that means i have to change all templates/admin right?
and bisides it doesn't look like you typed,
it looks like
Code: Select all
#serendipityAdminBanner h1 {
padding-left: 20px;
font-size: 1.8em;
margin: 0;
}
Greatings
Arnold
Posted: Sun Dec 17, 2006 5:22 pm
by Timbalu
Hi Arnold
The default admin css file is in serendipity-1.0.4a/serendipity/templates/carl_contest/admin/style.css
there you can put your changes to the administration panel.
Well, I can't tell you anything about the installing steps 2a -> 2b -> 3 issue itself, but css tweaking is not really ab bug. And we could even do it a little bit better, I think:
Code: Select all
#serendipityAdminFrame {
text-align: left;
width: 90%;
margin: auto;
background: #FFF;
+ margin-top: 10px;
+ border: 1px solid #235587; }
- border-top: 1px solid #333;
- border-right:1px solid #235587;
- border-left:1px solid #235587;
- border-bottom:1px solid #235587; }
Ian
Posted: Mon Dec 18, 2006 5:31 pm
by judebert
Interesting. I always thought default/ was the default template.
Anyway... I committed the color correction. As it's Carl's template, I'm not going to mess with it any further unless he directs me to.
Posted: Mon Dec 18, 2006 5:40 pm
by Arnold Nijboer
hey judebert,
youre right default is the default template, and even with the changes timbalu sugested i still get the same result. even when i change into the default template css.
let me change the subject, does anyone know how to skip setup 2a or 2b and go straight to setup 3. i get a import() error, i guess it the variables from 2a that are not imported to 3 when i skip them.
Greatings
Arnold