Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter petejs

    (@petejs)

    I received an update to wpcloudy an that fixed the issue.

    My goal was to upgrade WP and theme, as well as convert server to SSL.
    To prepare for all that I decided to rename database name as well as change prefix. So I tried too much at one go. :>)

    Next time I would do following:
    0. decide on another database name and user. User with correct permissions and a crazy weird password (for protection). create DB and user.
    1. Install Wordfence assistant plugin.
    2. Disable and empty wordfence cache or other caching plugins (save .htaccess so you can replant it). THEN disable wordfence. Test test you still can access WP.
    3. of course do backups, I would take a snapshot as well as mysql export file(and a copy of mysql file).
    4. change WP settings DB NAME, DB USER and Password to new settings.
    5. import mysql file into new database.
    6. empty cache in your browser ( I had so many weird things, not all for them with wordfence. (By the way I think wordfence is a solid product, I am really happy with it).
    7. I did not try to change prefix, somehow that made it more complex so I cannot give you any advice on that, in my case changing database name is actually quite sufficient.
    8. I hade couple of times some weird redirects and locking, must have been WP (?) because at that time wordfence was already disabled.
    9. if new settings work, enable wordfence, test, enable caching.

    I hope this helps.

    Sorry, I made a change to table prefix that messed up my test. so disregard my ‘issues’
    :<(

    Actually I think my problem has to do with following:
    I had 4.6 version of php’s and loaded database from earlier version.

    First try to go to wp=admin I got a message that DB needs updating. SO I was able to log in but I cannot access admin console at all.

    I have the same issue:
    I can access site as user but not login as wp-admin, same error message.(Sorry, you are not allowed to access this page)

    I disabled wordfence by renaming plugin name, after that I can login but I can only get to about.php (welcome to 4.6)

    Thread Starter petejs

    (@petejs)

    Thanks Damian.

    Thread Starter petejs

    (@petejs)

    Thanks Damian.

    One quick question, can I delete all records in wp_cjtoolbox* tables and reenter my scripts without messing things up?
    I think/hope that would solve the problem, maybe I broke something while developing.

    brgds
    -peter

    Thread Starter petejs

    (@petejs)

    I looked at my scripts without any changes made but got this message in APACHE error.log. This might point to the problem I have?

    [Sun May 29 13:32:46.340604 2016] [:error] [pid 8013] [client ….] WordPress database error Duplicate entry ‘0’ for key ‘PRIMARY’
    for query INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, `post_exce
    rpt,post_status,post_type,comment_status,ping_status,post_password,post_name,to_ping,pinged,post_modified,post_modi
    fied_gmt,post_parent,menu_order,post_mime_type,guid`) VALUES (7, ‘2016-05-29 14:32:46’, ‘0000-00-00 00:00:00’, ”, ”, ‘Auto Draft’,
    ”, ‘auto-draft’, ‘post’, ‘closed’, ‘closed’, ”, ”, ”, ”, ‘2016-05-29 14:32:46’, ‘0000-00-00 00:00:00’, 0, 0, ”, ”) made by wp_dashboard, d
    o_meta_boxes, call_user_func, wp_dashboard_quick_press, get_default_post_to_edit, wp_insert_post, referer: http://www.MYWEBSITE.com/wp-admin/admin.php?page=cjtoolbox

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