• Resolved navaweb

    (@navaweb)


    @adegans Further to this post: https://www.ads-software.com/support/topic/cant-create-a-new-advert/

    I am having the same issue… tried several things to solve it, including re-installing and even installing an older version. I get the following error:

    WordPress database error: [Unknown column ‘desktop’ in ‘field list’]
    INSERT INTO wp_adrotate (title, bannercode, thetime, updated, author, imagetype, image, tracker, show_everyone, desktop, mobile, tablet, os_ios, os_android, type, weight, autodelete, budget, crate, irate, state_req, cities, states, countries) VALUES ('', '', '1727124926', '1727124926', '[email protected]', 'dropdown', '', 'N', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'empty', '6', 'N', '0', '0', '0', 'N', 'a:0:{}', 'a:0:{}', 'a:0:{}')

    WordPress database error: [Unknown column ‘daystarttime’ in ‘field list’]
    INSERT INTO wp_adrotate_schedule (name, starttime, stoptime, maxclicks, maximpressions, spread, spread_all, daystarttime, daystoptime, day_mon, day_tue, day_wed, day_thu, day_fri, day_sat, day_sun, autodelete) VALUES ('Schedule for ad 0', '1727124926', '1734382526', '0', '0', 'N', 'N', '0000', '0000', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'N')There was an error loading the page. Please try again by reloading the page via the menu on the left.
    If the issue persists please seek help on the support forums

    We did not have this issue before.. I assume something failed during the last update maybe… How can I resolve it, without uninstalling (and losing all current settings/ads)?

    Some other Errors in php error log:

    [24-Sep-2024 02:17:24 UTC] WordPress database error Unknown column ‘desktop’ in ‘field list’ for query INSERT INTO wp_adrotate (title, bannercode, thetime, updated, author, imagetype, image, tracker, show_everyone, desktop, mobile, tablet, os_ios, os_android, type, weight, autodelete, budget, crate, irate, state_req, cities, states, countries) VALUES (”, ”, ‘1727119044’, ‘1727119044’, ‘[email protected]’, ‘dropdown’, ”, ‘N’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ’empty’, ‘6’, ‘N’, ‘0’, ‘0’, ‘0’, ‘N’, ‘a:0:{}’, ‘a:0:{}’, ‘a:0:{}’) made by do_action(‘toplevel_page_adrotate’), WP_Hook->do_action, WP_Hook->apply_filters, adrotate_manage, include(‘/plugins/adrotate/dashboard/publisher/adverts-edit.php’) [24-Sep-2024 02:17:24 UTC] WordPress database error Unknown column ‘daystarttime’ in ‘field list’ for query INSERT INTO wp_adrotate_schedule (name, starttime, stoptime, maxclicks, maximpressions, spread, spread_all, daystarttime, daystoptime, day_mon, day_tue, day_wed, day_thu, day_fri, day_sat, day_sun, autodelete) VALUES (‘Schedule for ad 0’, ‘1727119044’, ‘1734376644’, ‘0’, ‘0’, ‘N’, ‘N’, ‘0000’, ‘0000’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘N’) made by do_action(‘toplevel_page_adrotate’), WP_Hook->do_action, WP_Hook->apply_filters, adrotate_manage, include(‘/plugins/adrotate/dashboard/publisher/adverts-edit.php’) [24-Sep-2024 02:46:14 UTC] WordPress database error Unknown column ‘desktop’ in ‘field list’ for query INSERT INTO wp_adrotate (title, bannercode, thetime, updated, author, imagetype, image, tracker, show_everyone, desktop, mobile, tablet, os_ios, os_android, type, weight, autodelete, budget, crate, irate, state_req, cities, states, countries) VALUES (”, ”, ‘1727120774’, ‘1727120774’, ‘[email protected]’, ‘dropdown’, ”, ‘N’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ’empty’, ‘6’, ‘N’, ‘0’, ‘0’, ‘0’, ‘N’, ‘a:0:{}’, ‘a:0:{}’, ‘a:0:{}’) made by do_action(‘toplevel_page_adrotate’), WP_Hook->do_action, WP_Hook->apply_filters, adrotate_manage, include(‘/plugins/adrotate-banner-manager-5.13/dashboard/publisher/adverts-edit.php’) [24-Sep-2024 02:46:14 UTC] WordPress database error Unknown column ‘daystarttime’ in ‘field list’ for query INSERT INTO wp_adrotate_schedule (name, starttime, stoptime, maxclicks, maximpressions, spread, spread_all, daystarttime, daystoptime, day_mon, day_tue, day_wed, day_thu, day_fri, day_sat, day_sun, autodelete) VALUES (‘Schedule for ad 0’, ‘1727120774’, ‘1734378374’, ‘0’, ‘0’, ‘N’, ‘N’, ‘0000’, ‘0000’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘N’) made by do_action(‘toplevel_page_adrotate’), WP_Hook->do_action, WP_Hook->apply_filters, adrotate_manage, include(‘/plugins/adrotate-banner-manager-5.13/dashboard/publisher/adverts-edit.php’) [24-Sep-2024 02:46:34 UTC] PHP Warning: file_get_contents(/home/yossili1/public_html/wp-content/plugins/adrotate-banner-manager-5.13/adrotate.php): failed to open stream: No such file or directory in /home/yossili1/public_html/wp-includes/functions.php on line 6808 [24-Sep-2024 02:46:35 UTC] PHP Warning: file_get_contents(/home/yossili1/public_html/wp-content/plugins/adrotate-banner-manager-5.13/adrotate.php): failed to open stream: No such file or directory in /home/yossili1/public_html/wp-includes/functions.php on line 6808 [24-Sep-2024 02:47:58 UTC] WordPress database error Unknown column ‘desktop’ in ‘field list’ for query INSERT INTO wp_adrotate (title, bannercode, thetime, updated, author, imagetype, image, tracker, show_everyone, desktop, mobile, tablet, os_ios, os_android, type, weight, autodelete, budget, crate, irate, state_req, cities, states, countries) VALUES (”, ”, ‘1727120878’, ‘1727120878’, ‘[email protected]’, ‘dropdown’, ”, ‘N’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ’empty’, ‘6’, ‘N’, ‘0’, ‘0’, ‘0’, ‘N’, ‘a:0:{}’, ‘a:0:{}’, ‘a:0:{}’) made by do_action(‘toplevel_page_adrotate’), WP_Hook->do_action, WP_Hook->apply_filters, adrotate_manage, include(‘/plugins/adrotate/dashboard/publisher/adverts-edit.php’) [24-Sep-2024 02:47:58 UTC] WordPress database error Unknown column ‘daystarttime’ in ‘field list’ for query INSERT INTO wp_adrotate_schedule (name, starttime, stoptime, maxclicks, maximpressions, spread, spread_all, daystarttime, daystoptime, day_mon, day_tue, day_wed, day_thu, day_fri, day_sat, day_sun, autodelete) VALUES (‘Schedule for ad 0’, ‘1727120878’, ‘1734378478’, ‘0’, ‘0’, ‘N’, ‘N’, ‘0000’, ‘0000’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘N’) made by do_action(‘toplevel_page_adrotate’), WP_Hook->do_action, WP_Hook->apply_filters, adrotate_manage, include(‘/plugins/adrotate/dashboard/publisher/adverts-edit.php’) [24-Sep-2024 03:18:21 UTC] WordPress database error Unknown column ‘desktop’ in ‘field list’ for query INSERT INTO wp_adrotate (title, bannercode, thetime, updated, author, imagetype, image, tracker, show_everyone, desktop, mobile, tablet, os_ios, os_android, type, weight, autodelete, budget, crate, irate, state_req, cities, states, countries) VALUES (”, ”, ‘1727122701’, ‘1727122701’, ‘Yossilinks.com’, ‘dropdown’, ”, ‘N’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ’empty’, ‘6’, ‘N’, ‘0’, ‘0’, ‘0’, ‘N’, ‘a:0:{}’, ‘a:0:{}’, ‘a:0:{}’) made by do_action(‘toplevel_page_adrotate’), WP_Hook->do_action, WP_Hook->apply_filters, adrotate_manage, include(‘/plugins/adrotate/dashboard/publisher/adverts-edit.php’) [24-Sep-2024 03:18:21 UTC] WordPress database error Unknown column ‘daystarttime’ in ‘field list’ for query INSERT INTO wp_adrotate_schedule (name, starttime, stoptime, maxclicks, maximpressions, spread, spread_all, daystarttime, daystoptime, day_mon, day_tue, day_wed, day_thu, day_fri, day_sat, day_sun, autodelete) VALUES (‘Schedule for ad 0’, ‘1727122701’, ‘1734380301’, ‘0’, ‘0’, ‘N’, ‘N’, ‘0000’, ‘0000’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘N’) made by do_action(‘toplevel_page_adrotate’), WP_Hook->do_action, WP_Hook->apply_filters, adrotate_manage, include(‘/plugins/adrotate/dashboard/publisher/adverts-edit.php’) [24-Sep-2024 03:55:26 UTC] WordPress database error Unknown column ‘desktop’ in ‘field list’ for query INSERT INTO wp_adrotate (title, bannercode, thetime, updated, author, imagetype, image, tracker, show_everyone, desktop, mobile, tablet, os_ios, os_android, type, weight, autodelete, budget, crate, irate, state_req, cities, states, countries) VALUES (”, ”, ‘1727124926’, ‘1727124926’, ‘[email protected]’, ‘dropdown’, ”, ‘N’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ’empty’, ‘6’, ‘N’, ‘0’, ‘0’, ‘0’, ‘N’, ‘a:0:{}’, ‘a:0:{}’, ‘a:0:{}’) made by do_action(‘toplevel_page_adrotate’), WP_Hook->do_action, WP_Hook->apply_filters, adrotate_manage, include(‘/plugins/adrotate/dashboard/publisher/adverts-edit.php’) [24-Sep-2024 03:55:26 UTC] WordPress database error Unknown column ‘daystarttime’ in ‘field list’ for query INSERT INTO wp_adrotate_schedule (name, starttime, stoptime, maxclicks, maximpressions, spread, spread_all, daystarttime, daystoptime, day_mon, day_tue, day_wed, day_thu, day_fri, day_sat, day_sun, autodelete) VALUES (‘Schedule for ad 0’, ‘1727124926’, ‘1734382526’, ‘0’, ‘0’, ‘N’, ‘N’, ‘0000’, ‘0000’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘Y’, ‘N’) made by do_action(‘toplevel_page_adrotate’), WP_Hook->do_action, WP_Hook->apply_filters, adrotate_manage, include(‘/plugins/adrotate/dashboard/publisher/adverts-edit.php’)

    Thanks!

    Elyssa

    • This topic was modified 2 months ago by navaweb.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Arnan de Gans

    (@adegans)

    Nothing has changed in the database recently, certainly nothing related to those fields missing.
    I don’t know how you re-installed the plugin but a proper re-install would have created new tables including those fields.

    Did you update from a very old version recently? Or did you roll back (parts) of the database to an earlier version? Perhaps restored a backup?

    Thread Starter navaweb

    (@navaweb)

    by proper re-install, you mean deactivate and delete the plugin, then install it? won’t that delete all settings, groups, adverts etc? I can’t do that… I am not sure what happened, but I did try to install an older version (i have a plugin that allows me to install and overwrite plugins called easy theme and plugin updates)….that didn’t work. I also disabled and installed the latest version overtop.. didn’t work. So how can I fix this without deleting and re-installing? Thanks!

    Thread Starter navaweb

    (@navaweb)

    I went ahead and installed a fresh copy of the plugin and checked the Structure of all AdRotate database tables in comparison with the database of the website that had issues.. probably about 15 columns were missing throughout… I added each missing one, one by one… now I’ll check if things work…fingers crossed!

    Plugin Author Arnan de Gans

    (@adegans)

    I am not sure what happened, but I did try to install an older version

    That’s probably what did in the database. Don’t mess with plugins like that, it’ll only cause issues.

    You can indeed add the columns yourself and see if that works.
    If not, you’re probably better off reinstalling the plugin so that AdRotate can create a new database and settings. This will delete all AdRotate data though. Time consuming to re-do all ads and stuff but it’s a sure fix.

    Thread Starter navaweb

    (@navaweb)

    no, that’s not why this happened… the database was already missing 15 or so tables, so whatever caused this to happen, happened way before I installed an older version… I installed the older version in hopes that it would ADD the missing tables … that didn’t work.. so then I reinstalled the current version thinking that it would add the missing tables – which it did not either ?? In any case, I manually added the tables and we’ve added new adverts, so far so good!

    Plugin Author Arnan de Gans

    (@adegans)

    Okie – Let me know if you run into further trouble.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.