• Hello,

    I try to activate the plugin but i can`t… It stays loading 10-15 seconds and after that i get

    “Ooops… Error 404
    Sorry, but the page you are looking for doesn’t exist. “

    What could i do ?

    I tried to activate it mannualy, I modified the mysql database, it worked, but when I try to configure it i get a red message something like “You have to reindex, press here”, and when I press it starts loading the same 15 seconds and ooops….

    What could I do ? I really want to use this plugin but I can`t.

    Thank you,
    Have a nice day!

    https://wordpress.org/plugins/contextual-related-posts/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WebberZone

    (@webberzone)

    Hi,

    Could you please let me know how many posts do you have on your site? I have a feeling the Alter table on activation is timing out.

    You could try one thing temporarily and run this on my mySQL database:

    Edit “includes/plugin-activator.php” and comment out/ delete these lines:

    crp_delete_index();
    	crp_create_index();

    And, then run this in phpMyAdmin

    ALTER TABLE wp_posts ADD FULLTEXT crp_related (post_title, post_content);
    ALTER TABLE wp_posts ADD FULLTEXT crp_related_title (post_title);
    ALTER TABLE wp_posts ADD FULLTEXT crp_related_content (post_content);

    Thread Starter LiviutzuAs

    (@liviutzuas)

    Hello,

    I have over 7000 articles. This could be a reason ?

    Thank you

    Plugin Author WebberZone

    (@webberzone)

    Unfortunately, I think this is the case. I’ve been doing quite a bit of research with respect to this. Generating the initial fulltext index with a lot of posts is a mySQL intensive action and consequently a PHP intensive action which has the potential of breaking down on large sites because the PHP times out.

    I’ve simulated this on 4000+ posts and it takes a good while to run the queries. My ultimate aim to test on 25k+ posts.

    You usually don’t have this issue if you’re running the queries via phpMyAdmin directly from your control panel.

    A potential solution for this is to be able to edit your PHP configuration and increase the amount of memory PHP can use as well as the timeout of PHP scripts, but this needs ability to edit the server config files.

    However, I think an easier solution is in my previous post i.e. of running the queries via phpMyAdmin of your control panel.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I can`t activate the Plugin’ is closed to new replies.