Just after activating the module the next screen was

Parse error: syntax error, unexpected '}' in /home/sitio/sites/all/modules/firestats/firestats.module on line 144

-which is the firestat SA FS_INSTALL_PATH setting bit

so...there is a catch 22 here -especially if there is a way around its not documented

the catch22 is

  • if you can not avtivate you can not get the module settings to set up the firestats standalone path ...
  • if you can activate the module you get the error above, so you have to delete the module in order to get the site back...
  • a better documantation of some precise 3-4 paragraph would help a lot

    drupal 5.1
    firestats 5x1xdev

    thank you

    Comments

    ica’s picture

    Just for addition for clarification to my post above.

    I followed your intallation steps

  • Installation:
  • Install FireStats as a Standalone.
    I 'have installed to the drupal site top directory (same dir as misc, scripts, sites)
  • Install and activate the Firestats module.
    installed to the usual (sites/all/modules dir.)
    activated the module and got
    Parse error: syntax error, unexpected '}' in /home/sitio/sites/all/modules/firestats/firestats.module on line 144
  • Put the FireStats file system location in the FireStats module settings

    can not do this and get to the settings because i have a blank screen with the error above

    any way around or it should be considered as a bug or i am making an insallation mistake somewhere?

    thanks

  • Gurpartap Singh’s picture

    Status: Active » Fixed

    It's already fixed in cvs, tarballs must have been generated by now.

    ica’s picture

    Title: a catch22 situation... FS_INSTALL_PATH setting error » a catch22 situation... FS_INSTALL_PATH setting error -sorted now more ERROR ez_sql_mysql.php on line 117.

    Thanks Gurpartap, I have downloaded the latest module and out of the catch 22 and I dont get the same error and I can get into the module settings now, it 'seems' it working -except another error now i get

    warning: mysql_close(): 242 is not a valid MySQL-Link resource in /home/sitio/firestats/php/ezsql/mysql/ez_sql_mysql.php on line 117.

    running Drupal 5.1
    fitestat module 5.x-1-dev
    Firestats SA directory is on the top Drupal directory
    i can a
    Database installed sucessfully via the firestats SA tabbed settings panel

    I have installed to a separate DB than Drupal site DB
    Q- what is the option?
    1- to install the firestats SA into a separate DB or into current Drupal DB?
    2 - is it the reason i get the error above?

    -there is no instruction on this as any instruction on the standalone
    on
    http://drupal.org/project/firestats
    you refer to
    http://firestats.cc/wiki/InstallUpgrade
    http://firestats.cc/wiki/Drupal
    refers back to Drupal module site
    http://drupal.org/project/firestats
    and there you refer back to the
    > Install FireStats as a Standalone.
    so there is a info loop on drupal install Standalone instructions
    how to digg proper install instructions and common errors and fixes?
    thank you

    Anonymous’s picture

    Status: Fixed » Closed (fixed)