After moving to another provider places are missing

This topic contains 6 replies, has 3 voices, and was last updated by  karlamulder 7 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #338218

    karlamulder
    Buyer
    Post count: 39

    Resulting in a missing map at https://eetbaarnijmegen.nl/nijmegen/kaart/

    I cannot see the Places in the admin. Although I can see they are there on this page.
    Plaes as an item is missing at all.

    I hope you have a suggestion how to fix this..

    #338219

    karlamulder
    Buyer
    Post count: 39
    This reply has been marked as private.
    #338228

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    please see: https://wpgeodirectory.com/support/topic/invalid-post-type-on-server-move/#post-338017

    Did you change the domain in the database via search and replace using a text editor by any chance?

    Let us know,

    #338335

    karlamulder
    Buyer
    Post count: 39

    Hello, thanks for your fast response. I used the plugin Updraftplus and that plgin did not make a mistake:

    
    
    (405462, 'geodir_post_types', 'a:1:{s:8:"gd_place";a:13:{s:6:"labels";a:10:{s:4:"name";s:6:"Places";s:13:"singular_name";s:5:"Place";s:7:"add_new";s:7:"Add New";s:12:"add_new_item";s:13:"Add New Place";s:9:"edit_item";s:10:"Edit Place";s:8:"new_item";s:9:"New Place";s:9:"view_item";s:10:"View Place";s:12:"search_items";s:13:"Search Places";s:9:"not_found";s:14:"No Place Found";s:18:"not_found_in_trash";s:23:"No Place Found In Trash";}s:10:"can_export";b:1;s:15:"capability_type";s:4:"post";s:11:"description";s:16:"Place post type.";s:11:"has_archive";s:6:"places";s:12:"hierarchical";b:0;s:12:"map_meta_cap";b:1;s:9:"menu_icon";s:104:"http://eetbaarnijmegen.info/nijme/wp-content/plugins/geodirectory/geodirectory-assets/images/favicon.ico";s:6:"public";b:1;s:9:"query_var";b:1;s:7:"rewrite";a:3:{s:4:"slug";s:6:"places";s:10:"with_front";b:0;s:12:"hierarchical";b:1;}s:8:"supports";a:7:{i:0;s:5:"title";i:1;s:6:"editor";i:2;s:6:"author";i:3;s:9:"thumbnail";i:4;s:7:"excerpt";i:5;s:13:"custom-fields";i:6;s:8:"comments";}s:10:"taxonomies";a:2:{i:0;s:16:"gd_placecategory";i:1;s:13:"gd_place_tags";}}}', 'yes'),
    (405462, 'geodir_post_types', 'a:1:{s:8:"gd_place";a:13:{s:6:"labels";a:10:{s:4:"name";s:6:"Places";s:13:"singular_name";s:5:"Place";s:7:"add_new";s:7:"Add New";s:12:"add_new_item";s:13:"Add New Place";s:9:"edit_item";s:10:"Edit Place";s:8:"new_item";s:9:"New Place";s:9:"view_item";s:10:"View Place";s:12:"search_items";s:13:"Search Places";s:9:"not_found";s:14:"No Place Found";s:18:"not_found_in_trash";s:23:"No Place Found In Trash";}s:10:"can_export";b:1;s:15:"capability_type";s:4:"post";s:11:"description";s:16:"Place post type.";s:11:"has_archive";s:6:"places";s:12:"hierarchical";b:0;s:12:"map_meta_cap";b:1;s:9:"menu_icon";s:104:"https://eetbaarnijmegen.nl/nijme/wp-content/plugins/geodirectory/geodirectory-assets/images/favicon.ico"; s:6:"public";b:1;s:9:"query_var";b:1;s:7:"rewrite";a:3:{s:4:"slug";s:6:"places";s:10:"with_front";b:0;s:12:"hierarchical";b:1;}s:8:"supports";a:7:{i:0;s:5:"title";i:1;s:6:"editor";i:2;s:6:"author";i:3;s:9:"thumbnail";i:4;s:7:"excerpt";i:5;s:13:"custom-fields";i:6;s:8:"comments";}s:10:"taxonomies";a:2:{i:0;s:16:"gd_placecategory";i:1;s:13:"gd_place_tags";}}}', 'yes'),
    

    It changed http://eetbaarnijmegen.info into https://eetbaarnijmegen.nl

    The old and new code seems identica.

    #338532

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    When i do

    print_r(get_option('geodir_post_types'));

    it is blank so it must be corrupt as https://wpgeodirectory.com/support/topic/invalid-post-type-on-server-move/#post-338017 states.

    Stiofan

    #339125

    karlamulder
    Buyer
    Post count: 39

    By accident I solved the problem! I pasted a piece of code of the options table (a part which contained Geodirectory things like taxonomies). Than the website was broken.

    I made a copy and put the copy back and than there were the places! Very strange but I am happy the website is fine now.

    #339326

    karlamulder
    Buyer
    Post count: 39

    Later on I saw this was an old version with data only till april 2016. But with this good version I could add those data by copying them in the database. I kthink I copied everything apart from the options. So definitely, something in the database options was corrupt.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket