I get "Views Argument API tables could not be created." error when activating the module.
Upon inspecting I found you set the break statement before creating second table for mysql and mysqli in the script (line no 16 on views_argument_api.install file). I hope this should come after creating the second table.

CommentFileSizeAuthor
#5 install_fix_1.patch869 bytesjennycita
#1 install_fix_0.patch731 bytesapsivam

Comments

apsivam’s picture

Title: Install script error » patch attached
Status: Active » Needs review
StatusFileSize
new731 bytes

patch file attached for the above mentioned problem

mennonot’s picture

I had the same problem with installing the 2007-Jun-11 Views Argument API release and the above patch fixed it for me.

Tiburón’s picture

Title: patch attached » Install script fails due to misplaced break in switch
Priority: Normal » Critical

Patch in #1 worked here too so +1.

Bumping priority up to critical as the module will not work out of the box unless this bug is fixed.

ofktoubro’s picture

Tnx that fix worked!

jennycita’s picture

StatusFileSize
new869 bytes

Thanks for posting the fix! I have one more minor change for postgres users... we need to change the type of column views_argument_api_args.api_values from "longtext" to "text", since there is no longtext in postgres. I've attached another patch file with both fixes.

Morris Singer’s picture

Thanks. Fixed in 5.x-1.5.

Morris Singer’s picture

Status: Needs review » Fixed

Marking fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)