Parse error countered on install
Parse error: syntax error, unexpected ';' in /home/sites/all/modules/nicedit/nicedit.install on line 113

the error on a 'white page' also makes it impossible uninstall or update with update.php

Comments

ica’s picture

Status: Active » Needs review

I am no PHP coder but i presume on nicedit.install on line 113 a tytpo mistake as a bracket ) missing

$ret[] = update_sql("ALTER TABLE {nicedit_config} ADD disabled int(1) NOT NULL DEFAULT 0";
      break;
    case 'pgsql':

should be

$ret[] = update_sql("ALTER TABLE {nicedit_config} ADD disabled int(1) NOT NULL DEFAULT 0");
      break;
    case 'pgsql':
douggreen’s picture

Status: Needs review » Fixed

Sorry, I just saw this bug report. It was fixed earlier today. (I've been doing a lot of development on the module, but it should be relatively stable now.) Please download again and retry. Thanks.

ica’s picture

Hi Doug, just a report back
I have installed the current 5.x-1.x-dev as you suggested and run the update.php, the typo error gone
it installed the db updates and now nicEdit works.. well nicely!

Thank you!

imo- so far niceEdit the best inline editor in simplicity (my favourite one was buEditor.module so far)
i presume with your Short & Long Term Goals it looks like it will be even get better and may become default inline editor who knows :)

Anonymous’s picture

Status: Fixed » Closed (fixed)

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