There are numerous syntax errors with install which cause fatal error
SocialNicheGuru - June 22, 2009 - 11:31
| Project: | Storm |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
as title says.
small errors are riddled throughout the code (missing ')" ";" and the like).
C

#1
Thanks for pointing these out - the -dev release now installs again.
#2
[Correction - -dev release will install again once the d.o. packaging script runs again (midnight) - but the changes have been committed.]
#3
Parse error: syntax error, unexpected '{', expecting ')' in /Users/aekanem/Documents/aoweb/drupal/sites/all/modules/storm/storminvoice/storminvoice.install on line 68
remove "{" and "}" and replace with " ' "
missing end " ) "
if (!db_table_exists('storminvoiceitem')) { //if Storminvoiceitem was not active
can't update
The update process was aborted prematurely while running update #6011 in storminvoice.module. All errors have been logged. You may need to check the watchdog database table manually.
Unknown column 'vat' in 'storminvoiceitem' query: ALTER TABLE storminvoiceitem CHANGE vat `tax` FLOAT DEFAULT NULL
#4
Are you sure that you are running the latest -dev version? The parse errors have been fixed already.
I have just committed a fix to the other issue - it now checks for the column existing prior to changing rather than looking at the last update of the invoiceitem module (http://drupal.org/cvs?commit=228772).
#5
Can you confirm whether these errors are still present?
Thanks,
#6
Marking as fixed as others now seem to be able to install / update fine.
Please reopen if you are stil having issues.
#7
seems fine to me :) thanks!
#8
Automatically closed -- issue fixed for 2 weeks with no activity.