• Hi,

    First of all, great plugin, it does a fantastic job (:

    Just got a small problem with having to manually push through a database update/TeachPress version update itself.

    When an update is available, the publications all go offline/invisible/error messages show on the front end and only when you are on TP admin in the backend does it show the need/notice to update.

    Which is easily missed by users with differing WP user access levels…

    Unless I’m missing something here, should it be automatically updating?

    Many thanks,

    David

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter davidhc

    (@davidhc)

    …any ideas on this one yet? ??

    On my website, I had this problem after Update too. I had to roll back. A database update was not offered.

    I have solved the problem: The solution was to edit the page with Themify builder, then save it …

    Hi all,

    I have same problem, after update my publications dissapear on front and back end. But, on database is still here. Somebody to help this! Should upload all publications again ?

    Plugin Author winkm89

    (@winkm89)

    Hi guys,

    I would like to give you some information about the database updates:
    teachPress doesn’t run an automatic database update because I want to give administrators the chance to do a database backup before forcing the update.
    So, after each plugin update teachPress displays a database update message in the backend menus to the administrators.
    If you don’t see publications etc. (before or after the database update), then this says that the MySQL queries runs in an error and could not be executed. Unfortunately this error messages are not visible by default.
    For publications, the simplest way is to delete the comment chars of the following line in teachpress: https://github.com/winkm89/teachPress/blob/master/core/database.php#L1717, so hat you have only this code in the line:

    
    get_tp_message($sql,'red');
    

    This makes the SQL queries visible. You can copy and execute this queries for example with phpmyadmin. Then you see what’s going wrong.

    Please also note, that especially for updates to teachPress 7.0 or higher, it’s recommend to use MySQL 5.7 o higher. Older versions leads to some errors.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Database updates/TP version updates’ is closed to new replies.