after updating from x1.6 to x1.8 i recaive this error msg after a cron

user warning: Table 'dbxxx.advagg_bundles' doesn't exist query: SELECT COUNT(DISTINCT bundle_md5) AS advagg_count FROM advagg_bundles WHERE timestamp < 1329410432 in /modules/advagg/advagg.module on line 327.

i clean all Advanced CSS/JS Aggregation files up and run the cron again, but same msg.

thanks

CommentFileSizeAuthor
#5 advagg-1508512-5-fix-table-error.patch480 bytesmikeytown2

Comments

mikeytown2’s picture

Component: Bundler » Code
Category: bug » support
Status: Active » Needs review

The advagg_bundles table is part of the schema defined in advagg_schema(). I'm trying to think of how something like this could happen, and I can't think of any way this could happen (from a code perspective). Did you accidentally remove this table by hand?

My suggestion is to uninstall and reinstall the module; this will re-run the advagg_schema hook re-creating the database tables.

eule’s picture

hi mikeytown2

no i dont remove any by hand...and i dont see any db update via update.php
i try a cron yet again and the bugs shows me up...i will reinstall it or you have something to debug..i will try

cheers

Plus’s picture

advagg.module line 325:
FROM advagg_bundles

must be:
FROM {advagg_bundles}

eule’s picture

Status: Needs review » Fixed

thanks Plus ..it works -status fixed

mikeytown2’s picture

Version: 6.x-1.8 » 6.x-1.x-dev
Category: support » bug
StatusFileSize
new480 bytes

Sorry about me being blind. Patch attached has been committed.

eule’s picture

i love your work!..soo you don´t have to say "sorry" ;)

Status: Fixed » Closed (fixed)

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