Skip to:
Content
Pages
Categories
Search
Top
Bottom

Upgrading old version – safe to go from 2.0 to 2.5.3


  • mjpg
    Participant

    @mjpg

    My site is using v2.0.
    Can I upgrade directly to 2.5.3?

    Where can I find out if any versions have specific requirements (I checked TRAC)

Viewing 7 replies - 1 through 7 (of 7 total)

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    You should be fine. You may need to run some of the recount tools afterwards though.


    mjpg
    Participant

    @mjpg

    Many thanks


    mjpg
    Participant

    @mjpg

    I’ve done a test install.

    Links like this are breaking (I’m getting ‘Page not found):

    http://www.mydomain.com/forums/forum/forum-name

    I have run all the recounts.

    I suspect the way the slugs work has changed.

    On the working site, the settings are:

    Archive Slugs
    Forums base: forums
    Topics base: topics

    Single Slugs
    [v] Prefix your forum area with the Forum Base slug
    Forum slug: forum
    Topic slug: topic

    The test upgrade site has this:

    Forum Root Slug
    Forum Root: forums
    [v] Prefix all forum content with the Forum Root slug
    Forum root should show [forum index]

    Single Forum Slugs
    Forum: forum
    Topic: topic

    Any ideas?

    Thanks


    mjpg
    Participant

    @mjpg

    I should add that topic links like this:

    http://www.mydomain.com/forums/topic/my-topic-title

    still work OK


    mjpg
    Participant

    @mjpg

    I also tried saving permalinks – did not help.

    Running define(‘SAVEQUERIES’, true) shows that the forum queries are being run:

    [19] => Array
    (
    [0] => SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_name = ‘FORUMNAME’ AND wp_posts.post_type = ‘forum’ AND (wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘hidden’ OR wp_posts.post_status = ‘private’) ORDER BY wp_posts.post_date DESC

    [21] => Array
    (
    [0] => SELECT ID FROM wp_posts WHERE post_name LIKE ‘FORUMNAME%’ AND post_type = ‘forum’ AND post_status = ‘publish’


    mjpg
    Participant

    @mjpg

    I ran the queries above on the database directly.

    [19] returns one row OK – this is the correct forum; so why not displayed?

    [21] MySQL returned an empty result set (i.e. zero rows) – this is correct as all forums are post_status = ‘private’

    I did this whilst logged in as admin, so should have access OK.


    mjpg
    Participant

    @mjpg

    OK – thought it was a roles problem.
    I reset: Remap existing users to default forum roles
    Now I have access, and it looks fixed.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.