• Resolved sleepydaze

    (@sleepydaze)


    I found an error that seems to pop up whenever I click on a regular individual page. I get to this page by going to these pages (which have not been created with shortcodes): “Surnames” >> “Individual Surname” >> “Individual Person.”

    The following error appears over the individual’s facts table:
    WordPress database error: [Table 'wordpress.wp_gedshow_photos' doesn't exist] SELECT * FROM wp_gedshow_photos WHERE indref LIKE 'P1'

    I also tested to see if the error shows up when I create an individual’s page with a shortcode and it still does. I haven’t made any modifications to the WordPress database. I don’t have a link to share since I’m developing my site locally for now.

    I initially installed the plugin with the default settings.

    I’ve uninstalled and reinstalled the plugin with those same default settings, but the error still appears.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author colinsp

    (@colinsp)

    I am sorry I don’t understand your problem as you have currently described it. Can you try again please. I suspect that it is something to do with the way you are using the plugin like your last problem. Can you do a screen cast and put it on Youtube or try describing your issue again?

    Thread Starter sleepydaze

    (@sleepydaze)

    Sorry for not being clearer. Basically, whenever I navigated to an individual’s page, I received the following error:

    WordPress database error: [Table 'wordpress.wp_gedshow_photos' doesn't exist] SELECT * FROM wp_gedshow_photos WHERE indref LIKE 'P1'

    After reinstalling the plugin and re-uploading the GEDCOM file, these were the settings I used:
    Keep existing linked photos Yes
    Keep existing linked pages Yes

    I took a look at the MySQL database and saw that all of the Gedshow tables had been created with the exception of the wp_gedshow_photos table. I’ve since created the table manually, so now the error doesn’t show up. However, I’m not sure why the table didn’t get created automatically during the plugin install…

    Creating the table manually resolved my issue, but I thought I’d make you aware.

    • This reply was modified 4 years, 9 months ago by sleepydaze.
    Plugin Author colinsp

    (@colinsp)

    Thanks very much, I now understand the issue and will check the code and will issue a new version once I have fixed the bug.

    Thread Starter sleepydaze

    (@sleepydaze)

    Awesome! Thank you so much!!!

    I’ve also got a few ideas regarding the plugin:

    • Could you also create shortcodes for specific facts? On individual pages, I may not want a narrative already written for me. Maybe I just want to be able to pull the birth date or the individual’s place of residence and write the narrative myself.
    • Could you associate a photo with a particular surname (similar to how you do it for an individual)?
    • When you associate a page with an individual, can you show a list of the pages that are associated with all individuals in the database? That way, I’ll know which individuals have already been connected to a page.
    • When you associate a photo with an individual, can you show a list of the photos that are associated with all individuals in the database? That way I’ll know which individuals have already been connected to a photo.
    Plugin Author colinsp

    (@colinsp)

    Some interesting ideas. I will give it some thought. I have found the bug with the table generation problem that you had. I just need to complete my testing before I put an updated version out.

    Thread Starter sleepydaze

    (@sleepydaze)

    Sounds great! Do you have a Github repo for this plugin?

    Plugin Author colinsp

    (@colinsp)

    No sorry I don’t keep the code on Github. Drop me an email to continue this discussion. Email address in readme.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error on individual pages’ is closed to new replies.