• Resolved magneticdud

    (@magneticdud)


    i get thousands of errors like this

    Errore sul database di WordPress: [Table ‘my_xxx.wp_vikbooking_prices’ doesn’t exist]
    SELECT COUNT(*) FROM wp_vikbooking_prices;

    Errore sul database di WordPress: [Table ‘my_xxx.wp_vikbooking_rooms’ doesn’t exist]
    SELECT COUNT(*) FROM wp_vikbooking_rooms;

    Errore sul database di WordPress: [Table ‘my_xxx.wp_vikbooking_dispcost’ doesn’t exist]
    SELECT COUNT(*) FROM wp_vikbooking_dispcost;

    tried to remove and reinstall, no change

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

    (@e4jvikwp)

    Hello,

    It may be possible that you are working on a Multisite environment, and so the plugin is unable to properly detect the prefix of your database tables.

    Alternatively, it may be possible that the first installation could not create the necessary database tables, maybe because of some restrictions with the database permissions.

    None of our clients has ever reported a similar issue, and so this must be an isolated case with your installation. The only thing we can suggest is to look at the Multisite configuration and the database permissions.

    Thread Starter magneticdud

    (@magneticdud)

    i don’t have a multisite plugin

    out of standard configuration, i have polylang and the table prefix is not wp_ but it’s something else – could it be?

    Plugin Author e4jvikwp

    (@e4jvikwp)

    Hello,

    The table prefix is read by using the WordPress native functions, of course we do not use a static prefix “wp_” for the database tables.

    Also, Polylang is used by many of our clients and so that should not be the cause of the issue. You can try to de-activate it temporarily to see if it makes any differences, it may be possible that some third party plugins were not properly configured, and so they may be overriding the WordPress default table prefix that Vik Booking receives as “wp_” as you said.

    Unfortunately, there is nothing you can do to resolve this issue from our plugin because we simply take the prefix from the WordPress variable $wpdb. Some other plugins are probably altering this prefix through the use of filters/actions, and so you should check which plugins could be causing this issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘It can’t find the database’ is closed to new replies.