Loading...
 
Skip to main content

Architecture / Installation


Wiki pages do not use site template

Hi all,

I just upgraded a small proof-of-concept site from 4.2 to 5.0. After a bit of fiddling, most things work, except wiki pages. I have the three basic user classes (anonymous, registered, admin). Everyone sees the wiki welcome (home) page correctly displayed with the site template when they first hit the site. Anonymous users can navigate wiki pages, blogs and forums and always get the template. Registered and admin users can navigate blogs, file galleries etc. and get the template, but as soon as they navigate to any wiki page (including going back to the welcome page), the get just the contents of the wiki page (including edit controls) with no template — no logo, no application menu (normally on the left), no navigation links. Seems like it might be some sort of permissions problem, but I've been unable to find it. Any help would be appreciated.

/Paul

That's a strange problem; is the site public? What is the server OS - Linux, or Windows? Did the site function correctly before the upgrade to 5.0?

-- Gary

Sorry for the delay responding — I'd signed up for e-mail notification of replies and never got one. 😑

The site is public at http://mgt-web.bus.msu.edu/dsi/tiki-index.phpQuestion. I've added a user account with id 'anyone' and password 'password'. If you log in that way, you'll see the problem — the template vanishes, and you're left on a wiki page with no way to navigate. Change the URL to tiki-admin.php and you'll get an error message about lack of permission — but you'll also get back the template. If you navigate to any of the non-wiki content, the template works.

The server is Ubuntu 10.04, and the site functioned properly prior to the upgrade. IIRC, immediately after the upgrade registered users and admins got the template but anonymous users did not (which meant the index page had no template). In fixing that, I apparently toggled it. Now anonymous users get the template but admins and registered users do not (at least on the wiki).

Thanks for the interest.

/Paul


I checked but don't have any firm ideas yet. If you use the url http://mgt-web.bus.msu.edu/dsi/tiki-index_p.php?page=WelcomeQuestion, at least the page gets the HTML head section, along with stylesheets, etc. (This is the expected view - wiki content only - with the "_p" added in the URL.) I don't think there is a problem with permissions, because there isn't any permission setting that would produce this result, as far as I know. It isn't only the theme that is missing; it's the entire HTML head section along with every part of the page that displays except for the wiki content. I'm still pondering.

-- Gary


Hokey Smoke! It's working now!? The only thing I changed yesterday was to add a dummy user account. I tested the user account yesterday and confirmed the display was broken. Today anonymous, registered and admin accounts all get the full template. (I updated a few packages on the server as well, but AFAIK none of them were related to Tiki, PHP or MySQL.)

I appreciate the cogitation. Apparently you psychically induced a fix. Hope it sticks.

/Paul