Hello,

I tried to install the module but I got this error

Original

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xxxxx_dp7.advagg_aggregates_hashes' doesn't exist: SELECT aah.settings AS settings FROM {advagg_aggregates_hashes} aah WHERE (hash = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => oDldBVN2Wr767_qpRZKJYNB_iRZye9Ph4nZ0nwzW0Cc ) in advagg_get_hash_settings() (line 954 of /home/public_html/sites/all/modules/advagg/advagg.module).

Additional

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xxxxx.advagg_aggregates_versions' doesn't exist: SELECT aav.* FROM {advagg_aggregates_versions} aav WHERE (aggregate_filenames_hash = :db_condition_placeholder_0) AND (aggregate_contents_hash = :db_condition_placeholder_1) ; Array ( [:db_condition_placeholder_0] => FCip6OTmPUFDv_7Xjj5dWWas50UsOoNEHBRPHG6E3bM [:db_condition_placeholder_1] => H1olk4CjCcqU4T6Sv6SXUypiStnHYT7Q9Oohk1GinQg ) in advagg_insert_aggregate_version() (line 79 of /home/public_html/sites/all/modules/advagg/advagg.inc).

I had to delete and disable the module from the DB to recover from this fault. But I still don't know why it happened, can anyone help me with this?

Thanks!

CommentFileSizeAuthor
#4 advagg-2025905-4-upgrade-path.patch2.92 KBmikeytown2

Comments

mikeytown2’s picture

What version of advagg where you upgrading from? If it was the 7.x-1.x branch, best option is to uninstall before upgrading.

valery86’s picture

Hello mikeytown2,

I was not upgrading from any of the advagg version, it is the first time I try to install this module

abugge’s picture

Can it have something to do with having installed it once before. There was some advagg cache tables and two others even when the module was uninstalled.

I tried to delete those, but with no luck

mikeytown2’s picture

Component: Code » CSS/JS Compression
StatusFileSize
new2.92 KB

This patch has been committed.

Still need to write update scripts for CSS/JS compression modules now.

mikeytown2’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.