Installation, Configuration, & Upgrades  :: 
Upgrade from 0.7.2.3
 Top

  • I'm trying to upgrade a PostNuke installation from 0.7.2.3. The upgrade appears to take place correctly, but afterwards I'm unable to change to any theme other than ExtraLite.

    I've tried with a couple of different user accounts. Everytime I go into the Theme Selection screen it shows ExtraLite as the current entry in the list box, and changing it never results in the page changing.

    Trying to set the default theme makes matters worse: I get the following error at the bottom of the admin page, just after the list of modules:

    Quote

    Fatal error: Call to undefined function: opentable() in /home/markc/public_html/otnews/modules/Admin/pntemplates/plugins/function.automatednews.php on line 65


    And if I try to get into the "Settings" module to change the theme back again, I just get this:

    Quote

    Fatal error: call to undefined function: themeheader() in /home/markc/public_html/otnews/header.php on line 42


    I also get this message when I try to access the main page of the site.


    Can anyone give me any suggestions as to what to try next?
  • Unfortunately Search seems to be broken this morning (searches that worked yesterday give me 0 hits today) and the site changes made the FAQ go away - because I believe this has been identified before.

    I suspect there are missing files (my first thought when I see call to undefined function). I'd start by re-uploading the files.

    Perhaps one of the devs can point to where the old FAQ is now hiding?

    --
    Peace
    ______________________________________
    The commonest cause of problems is solutions.
  • pheski

    I suspect there are missing files (my first thought when I see call to undefined function). I'd start by re-uploading the files.


    Thanks for the reply, but I don't think that's the problem. This installation is on my local machine rather than the live copy, so I haven't had to upload the files, they've come straight out of the PostNuke download.

    I've checked the md5 of the downloaded file, and it is correct. I've also run a diff between the extracted contents of the downloaded file, and the installed version on my server. The only things that showed up as different were the config file and some files in the pnRender_compiled directory.

  • A bit more information: I've used the PostNuke Swiss Army Knife to reset the default theme to ExtraLite and can now see the site again.

    From the information in the upgrade section of docs/manual.txt it looks like the problem is with Xanthia themes.


    Edit: I've solved this problem. The Xanthia module needed to be enabled (it wasn't present at all in my 0.7.2.3 install, which is probably why it was disabled after the upgrade), and then the individual themes had to be enabled in the Xanthia module. Themes are now working.
  • Right, next problem :)

    I can see the site now and all the articles are listed as I would expect. However if I try to click on the article title (i.e. follow a link such as: http://localhost/~markc/otnews/index.php?name=News&file=article&sid=643) I get "Error! Sorry! Bad arguments passed to API function". But this only happens with a logged-in user; if I log out then I can follow the same link with no problems.

    I've tried logging out, deleting cookies for this site, closing the browser then starting it up and logging in again. The problem still persists.

    Anyone got any ideas about this one?
This list is based on the users active over the last 60 minutes.