[wikka-community] 1.2 Upgrade - stuck on setup.css

Brian Koontz brian
Sat Oct 17 03:09:25 GMT 2009


On Fri, Oct 16, 2009 at 04:11:52PM -0700, Frank Kibbish wrote:
> Hey Brian;
> 
> Yes, this is an upgrade from 1.1.6.2.  And yes, the css directory still
> exists... I didn't realize that was a problem.  Where should wikka.css be if
> not in a css directory?

Its existence shouldn't be a problem; I was simply noting that the
directory was there, and nothing in 1.2 should be referencing that
directory.   This leads me to believe that, for whatever reason,
certain files that existed in your original installation were not
overwritten by the method you used to copy over your 1.2 files.

I just did some rather extensive testing on my dev box with 1.1.6.2,
upgrading to 1.2-p1 with both the tarball and via SVN.  In both cases,
I confirmed that *nothing* in the 1.2 setup refers to the old css/
directory.

In fact, it's clear to me that for whatever reason, there are still
key 1.1.6.2 files that have not been overwritten by the newer 1.2
files in your specific installation.  Case in point:

Here's the "signature" of the meta and link tags in the 1.1.6.2
installer:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="Wikka Wakka Wiki" />
<meta name="description" content="A WakkaWiki clone" />
<link rel="stylesheet" type="text/css" href="css/setup.css" media="screen" />
<link rel="icon" href="images/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />

Now, compare with the 1.2 "signature":

<meta name="keywords" content="Wikka Wakka Wiki" />
<meta name="description" content="A WakkaWiki clone" />
<link rel="icon" href="images/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />

Notice that there's not a stylesheet specified in the 1.2 installer,
because in 1.2 it's autogenerated inside a pair of
<script>...</script> tags.

Here is your HomePage "signature":

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="Wikka Wakka Wiki" />
<meta name="description" content="A WakkaWiki clone" />
<meta name="robots" content="noindex" />            /* prevent robots from crawling this development site */
<meta name="robots" content="nofollow" />           /* prevent robots from crawling links on this development site */
<link rel="stylesheet" type="text/css" href="css/setup.css" media="screen" />
<link rel="icon" href="images/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />

Clearly, there is something left over from your 1.1.6.2 install that
shouldn't be there.

My suggestion at this point would be to (1) restore your original
1.1.6.2 files and DB; (2) ensure that the wiki is working as you would
expect; (3) unzip/untar the 1.2-p1 files into your Wikka directory;
(4) run the installer without modification.  This should get you to a
working 1.2 version, after which you can make modifications.

Note that you will need to modify the header.php file in the specific
theme that will be your default (default, light, or kubrick at the
moment).

Let us know how it goes!

  --73, Brian


-- 
Brian Koontz
Wikka Development Team
Systems Support and Random Tasking Dept.




More information about the community mailing list