WPIntell

Source evidence

Migrating plugin data to new site

CP Related Posts · support · 2017-03-31T08:48:00+00:00

mixedsentiment
highseverity
0.95relevance
6replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 32 rows with source links

12.5% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
dragon18 resolved
Your plugin is best I found for the moment so far. However, I have an issue with it. I installed it in a testing hosing and now I want to move it to another hosting. Both wordpress installations are multisite. I exported all the tables related to the site ID and imported them to the new place. Site ID within multisite was changed. I installed plugin in new place. Everything works in frontend, but in the backend I have errors. First – process previous posts button leads to 500 error. Second – saving of any post also leads to 500 error, if the plugin is activated. Third – ‘get tags’ function in the post also doesn’t work. I can only see already generated list of tags, changing the post text completely doesn’t replace that tags, as it should be in normally operating plugin. My questions are – what I did wrong during the migration? Where the plugin stores its data? I found some records in the postmeta table. How to locate the records with plugin’s data? I also noted that even after removing plugin and its data (as stated in the warning at removal) not all its data are removed. After reinstalling the plugin I see all the manually added relations and all the css changes I made within the plugin. CP Related Posts also doesn’t work in other multisites in this new installation. This topic was modified 9 years, 2 months ago by dragon18 . Hello, As I’ve answered to your ticket in our private website, it is very probable that the database and plugin’s code were not migrated as should to the new website, because if the conditions in both websites are just the same (database and code) the plugin should be working fine, unfortunately I cannot tell you what the problem is because I don’t know exactly what you did. – The plugin’s code is located into the directory: “/wp-content/plugins/cp-related-posts”, so, you should upload the same directory to the new website. – The posts tags are stored in the database’s table “postmeta” (using the database prefix defined in your website), in those rows where the “meta_key” column is equal to: “cprp_tags” – If you have related posts manually, the “postmeta” table should contain rows where the “meta_key” column contains the value: “cprp_manually_related” Best regards. @codepeople , thank you for the fast answer “/wp-content/plugins/cp-related-posts” are with same files Can I delete all records with cprp_tags to have ‘process previous posts’ working? Where are the settings of the plugin stored (I mean the data and selections from the plugin settings page)? Hello, You can delete the postsmeta if you want. About the plugin’s settings, they are stored in the “options” table, specifically in the row where the “option_name” column has the value: “cprp_settings” Best regards. I switched error logging on and now see the following: Fatal error: Call to undefined function mb_split() in /home/…/public_html/wp-content/plugins/cp-related-posts/includes/tools.clss.php on line 18 php version is 5.6.30 I changed mb_split(“\s+” to preg_split(“/\s+/” and now have Fatal error: Call to undefined function mb_convert_encoding() in /home/…/public_html/wp-content/plugins/cp-related-posts/includes/tools.clss.php on line 34 I activated mbstring extension in my php and had success conversion for the processing previous posts. This reply was modified 9 years, 2 months ago by dragon18 . This reply was modified 9 years, 2 months ago by dragon18 . Hello, Perfect, then, all is working fine now after activate the “mbstring” extension. thank you very much for sharing your solution. Best regards. yes, thank you!

Comments

6 shown
codepeople 2017-03-31T11:55:00+00:00

Hello, As I’ve answered to your ticket in our private website, it is very probable that the database and plugin’s code were not migrated as should to the new website, because if the conditions in both websites are just the same (database and code) the plugin should be working fine, unfortunately I cannot tell you what the problem is because I don’t know exactly what you did. – The plugin’s code is located into the directory: “/wp-content/plugins/cp-related-posts”, so, you should upload the same directory to the new website. – The posts tags are stored in the database’s table “postmeta” (using the database prefix defined in your website), in those rows where the “meta_key” column is equal to: “cprp_tags” – If you have related posts manually, the “postmeta” table should contain rows where the “meta_key” column contains the value: “cprp_manually_related” Best regards.

dragon18 2017-03-31T12:10:00+00:00

@codepeople , thank you for the fast answer “/wp-content/plugins/cp-related-posts” are with same files Can I delete all records with cprp_tags to have ‘process previous posts’ working? Where are the settings of the plugin stored (I mean the data and selections from the plugin settings page)?

codepeople 2017-03-31T13:29:00+00:00

Hello, You can delete the postsmeta if you want. About the plugin’s settings, they are stored in the “options” table, specifically in the row where the “option_name” column has the value: “cprp_settings” Best regards.

dragon18 2017-03-31T17:06:00+00:00

I switched error logging on and now see the following: Fatal error: Call to undefined function mb_split() in /home/…/public_html/wp-content/plugins/cp-related-posts/includes/tools.clss.php on line 18 php version is 5.6.30 I changed mb_split(“\s+” to preg_split(“/\s+/” and now have Fatal error: Call to undefined function mb_convert_encoding() in /home/…/public_html/wp-content/plugins/cp-related-posts/includes/tools.clss.php on line 34 I activated mbstring extension in my php and had success conversion for the processing previous posts. This reply was modified 9 years, 2 months ago by dragon18 . This reply was modified 9 years, 2 months ago by dragon18 .

codepeople 2017-03-31T19:37:00+00:00

Hello, Perfect, then, all is working fine now after activate the “mbstring” extension. thank you very much for sharing your solution. Best regards.

dragon18 2017-03-31T20:09:00+00:00

yes, thank you!