Loading...
 
Architecture / Installation

Architecture / Installation


Internal Server Error after upgrading from TW 7 to 8.2

posts: 5 United States

Hello,

Just tried to upgrade from TikiWiki 7.0 to 8.2. The database upgrade seemed to go smoothly enough, but then when I clicked on the "lock installer and enter tiki" button, I received an error message, which I will include below. Does anyone know what might be the problem? I've also opened a support ticket with my web hosting company, but thought someone here might have an idea on how to deal with the issue. Thanks in advance for any insights. Here's the message:

0
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, cgiadmin at yourhostingaccount.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

posts: 1551 Canada

Server logs will help indeed.

M ;-)


posts: 1551 Canada

This is caused because two files in 7.x no longer exist in 8.x

Thus, a fresh install is OK, but if you upgrade over an existing 7.x instance, you will have a mix of some 7.x and 8x files.

This is normally not an issue, because the files are just ignored. But in this case, Tiki scans the whole directory...

In your error logs, you will get an error like this:

Fatal error: Call to undefined method TikiLib::list_slide_styles() in lib/prefs/slide.php on line 12

Fatal error: Call to a member function list_all_groups() on a non-object in lib/prefs/wikiapproval.php on line 28

Developers didn't notice because when they do "svn up", deleted files are removed. (http://dev.tiki.org/Get+code)

Solution is to delete the two following files:
lib/prefs/slide.php
lib/prefs/wikiapproval.php

To avoid others having issues, I have added some blank files that will be part of 8.3

Reference:
http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki?view=revision&revision=39222

Best regards,

M ;-)