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
Description

as title says.

small errors are riddled throughout the code (missing ')" ";" and the like).

C

#1

Magnity - June 22, 2009 - 16:25
Status:active» fixed

Thanks for pointing these out - the -dev release now installs again.

#2

Magnity - June 22, 2009 - 16:26

[Correction - -dev release will install again once the d.o. packaging script runs again (midnight) - but the changes have been committed.]

#3

SocialNicheGuru - June 23, 2009 - 16:59
Status:fixed» active

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

Magnity - June 23, 2009 - 17:13

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

Magnity - June 25, 2009 - 17:21

Can you confirm whether these errors are still present?

Thanks,

#6

Magnity - June 26, 2009 - 08:06
Status:active» fixed

Marking as fixed as others now seem to be able to install / update fine.

Please reopen if you are stil having issues.

#7

SocialNicheGuru - June 27, 2009 - 00:02

seems fine to me :) thanks!

#8

System Message - July 11, 2009 - 00:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.