Closed (duplicate)
Project:
Advanced Poll
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
1 Jul 2012 at 16:29 UTC
Updated:
14 Jun 2015 at 04:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Michele Wickham commentedIf you have any additional information about what triggered this error message, please let me know. I have heard that there may be a problem with the dependency on the Date module and that I may need to set Date defaults during install. Maybe that caused the installation to skip writing that table.
I'll have a look at this over the weekend.
Comment #2
Michele Wickham commentedDid you have any errors when you initially installed the d7 version of the module?
You should see the following tables after a successful install:

Can you let me know if you encountered any issues during this stage?
I posted a new build today. If you could try a fresh install with that build and let me know that would be very helpful.
Comment #3
frank.dev commentedHi mishwick,
Also with the new dev version the mistake exists furthermore - even if with slightly changed text:
None of the "field_data_advpoll_xxx"-tables exists after upgrade in the database.
@date module: Before the upgrade I have put back the module on defaults.
Many thanks for your support . :-)
Frank
Comment #4
Michele Wickham commentedI'm pretty puzzled, I have done a few fresh installs in the last couple days and cannot get that error.
If there's any additional information you can send me that might be helpful I can try a couple other things - for instance, what version of php, apache, database etc. What version of Drupal?
Thanks,
Michele
Comment #5
philalonso commentedI get the same error when upgrading from 6.x-3.x-dev to 7.x-3.x-dev:
Failed: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'example.field_data_advpoll_options' doesn't exist: DELETE FROM {field_data_advpoll_options} WHERE (advpoll_options_value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => showvotes ) in advpoll_update_7000() (line 816 of C:\Desktop\example\httpdocs\sites\all\modules\advpoll\advpoll.install).
The Advanced Poll Field installs, but not Advanced Poll module.
Comment #6
akamaus commentedI've stumbled upon a similar error while updating D6 site too. I used drush sup, the actual message was a bit different:
I tried disabling and uninstalling the module. After it successfully installed. Maybe the field table creation process executed only on fresh installation?
Comment #7
rkneale commentedI also get this issue, but not as an upgrade, as a fresh install on a D7 site, today:
The following updates returned messages
advpoll module
Update #7000
Failed: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'atst.field_data_advpoll_options' doesn't exist: DELETE FROM {field_data_advpoll_options} WHERE (advpoll_options_value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => showvotes ) in advpoll_update_7000() (line 816 of /var/www/html/sites/all/modules/advpoll/advpoll.install).
Comment #8
Marat commentedI got the same error, and I couldn't find a way to downgrade the upgrade.
This module one of the best and has so many great features but buggy. I hope someone can fix it!
Comment #9
savioret commentedI'm also trying to upgrade my site from drupal 6 to 7.
I get the mentioned table error.
I have zero tables named "field_data_advpoll_*"
Seems that the advpoll.install script is omitting the field table creation somehow in the update.php operation.
Version 7.x-3.x-dev (2013-Sep-30)
Is the advanced poll module able to migrate D6 tables to the new field_data tables ?
By the way, is this issue a duplicate?
#1579744: Upgrade from 6.x-3.x to 7.x-3.x
Comment #10
tripper54 commentedDuplicate of #1579744: Upgrade from 6.x-3.x to 7.x-3.x