Announcement

Collapse
No announcement yet.

grid error

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • grid error

    i open grid, that work but see this error:

    Parse error: syntax error, unexpected ''])) ' (T_CONSTANT_ENCAPSED_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 4 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 2 Parse error: syntax error, unexpected 's' (T_STRING), expecting ']' in lobo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php (3489) : eval()'d code on line 4 Parse error: syntax error, unexpected ''])) ' (T_CONSTANT_ENCAPSED_STRING), expecting ']' in

  • #2
    Are you adding PHP code in the Grid's events?

    Check your event PHP code syntax.

    I have found that it helps to run NetBeans, with the PHP plugin, alongside my ScriptCase session. Copy/paste the PHP code from your event to NetBeans which will usually show you where the problem is.

    PHP code is notorious for hiding unmatched {}, (), '', and "" characters. NetBeans is quite good at finding these.

    I now use NetBeans to edit my PHP, then paste it into the ScriptCase events. It saves time because it provides auto-complete, and saves trouble because it highlights errors.

    Comment


    • #3
      ok i try, but i ask, if possible insert any code of php in project, or must use syntax for sc

      Comment


      • #4
        No, there is no sc syntax except for fieldnames and global variables. The rest is pure php. Of course you can use the sc macros, but in fact these are implemented as php functions. So you can add your own php in the events code, libraries and php methods, whatever you need.
        Albert Drent
        aducom software netherlands
        scriptcase partner, reseller, support and (turn-key) development
        www.scriptcase.eu / www.scriptcase.nl

        Comment

        Working...
        X