• Resolved dinkar9852

    (@dinkar9852)


    Whwn I’m importing Questions from other websites I’m not getting exactly what in previous website.
    And one more things I’m getting that already exist this question i think HD Quiz Saving some cache file in database how to fix this problem

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

    (@harmonic_design)

    Hi dinkar9852,
    there is no “HD Quiz database” and HD Quiz does not cache any files or database entries or anything like that. HD Quiz uses native WordPress post types and taxonomies to store all of the data – so there is no need for any special or custom tables.

    If you want to delete existing quizzes and questions in bulk you can do this from the main HD Quiz page and selecting “DELETE QUIZZES” and “BULK MODIFY QUESTIONS” respectably.

    As for the import itself – please provide an exact example. What is not the same? What has changed between export and import? HD quiz does not handle this itself – the export and import are done directly through the default and native WordPress import/export tool so I have zero control over how that works. But if you can provide me with a specific example I might be able to help you or advise alternatives that will work for you.

    Also, please note that I have never tested this with HD Quiz, but you might also consider trying a solution like WP All Import and the Export version as it is better designed for things like this. (let me know if you go this rout and I can let you know which custom fields to export)

    Thread Starter dinkar9852

    (@dinkar9852)

    When I’m importing Questions then why it’s showing that question already exist.

    work perfectly when import to other fresh wordpress website

    • This reply was modified 4 years, 9 months ago by dinkar9852.
    • This reply was modified 4 years, 9 months ago by dinkar9852.
    Plugin Author Harmonic Design

    (@harmonic_design)

    I’m sorry but I cannot answer that. What I can do is offer up some suggestions of what might be the reason.

    It says the question already exists because… it already exists. Because you can reuse the same question on multiple quizzes, delete a quiz does not delete its attached questions. Please use the “BULK MODIFY QUESTIONS” button to see a direct list of all questions added on your site. If the question is listed there, then we have our answer!

    Assuming that the above is not our answer –

    1) You have some other plugin installed that is caching or otherwise storing data. Do you have any database-related plugins? What about cache plugins? It’s possible that the answer truly is deleted, but you have a cache plugin that is caching the database query (this means that instead of getting the live and current results, it is returning old results).

    2) You have a corrupted database. WordPress uses a unique ID for pretty much everything including posts, pages, images, etc. It’s possible that at some point, your installation failed to fully remove a reference somewhere.

    3) It’s also possible that instead of creating new posts, the importer is first checking for the existing post. The problem is that as I said above, WordPress uses unique ID for things like images and pages. If you have, for example, a page with an ID of 1 and you are trying to import a question from another site with an ID of 1, then this might register the “already exists” issues you are having. The imported should be smart enough to check the content type, but if it doesn’t this might be the culprit.

    If #2 or #3 are the reasons then your best option would be to, as I previously suggested, using the WP All Import / Export plugins as that plugin was specifically developed to be a better and more robust version of the default importer.

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

The topic ‘How to delete HD Quiz database’ is closed to new replies.