Results 1 to 5 of 5

Thread: Bug : Error smarty/plugins/function.math.php

  1. #1
    Join Date
    Sep 2007
    Posts
    84

    Default Bug : Error smarty/plugins/function.math.php

    Error Log : PHP Parse error: syntax error, unexpected ',' in /home/xxtest/public_html/dir/lib/smarty/plugins/function.math.php(64) :
    : eval()'d code on line 1
    /**
    * Smarty {math} function plugin
    *
    * Type: function<br>
    * Name: math<br>
    * Purpose: handle math computations in template<br>
    * @link http://smarty.php.net/manual/en/lang...ction.math.php {math}
    * (Smarty online manual)
    * @param array
    * @param Smarty
    * @return string
    */
    function smarty_function_math($params, &$smarty)

    any idea ?
    Last edited by user_not_found; 11-01-2010 at 06:06 PM.

  2. #2
    Join Date
    Sep 2007
    Posts
    84

    Default

    I receive many errors
    [06-Nov-2010 20:12:20] PHP Parse error: syntax error, unexpected ',' in /home/testlab/public_html/lib/smarty/plugins/function.math.php(64) : eval()'d code on line 1
    [06-Nov-2010 20:15:01] PHP Warning: parse_url(http://) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /home/testlab/public_html/lib/http.lib.php on line 5
    [06-Nov-2010 20:15:01] PHP Parse error: syntax error, unexpected ',' in /home/testlab/public_html/lib/smarty/plugins/function.math.php(64) : eval()'d code on line 1
    [06-Nov-2010 20:17:23] PHP Parse error: syntax error, unexpected ',' in /home/testlab/public_html/lib/smarty/plugins/function.math.php(64) : eval()'d code on line 1
    [0

    Please any idea
    Indexu deluxe 2.4

  3. #3
    Join Date
    Sep 2007
    Posts
    84

    Default

    [04-Jan-2011 22:19:41] PHP Parse error: syntax error, unexpected ',' in /home/testlab/public_html/lib/smarty/plugins/function.math.php(64) : eval()'d code on line 1
    [04-Jan-2011 22:20:44] PHP Parse error: syntax error, unexpected ',' in /home/testlab/public_html/lib/smarty/plugins/function.math.php(64) : eval()'d code on line 1
    [04-Jan-2011 22:33:10] PHP Parse error: syntax error, unexpected ',' in /home/testlab/public_html/lib/smarty/plugins/function.math.php(64) : eval()'d code on line 1
    [04-Jan-2011 22:36:01] PHP Parse error: syntax error, unexpected ',' in /home/testlab/public_html/lib/smarty/plugins/function.math.php(64) : eval()'d code on line 1
    [04-Jan-2011 22:37:40] PHP Parse error: syntax error, unexpected ',' in /home/testlab/public_html/lib/smarty/plugins/function.math.php(64) : eval()'d code on line 1
    [04-Jan-2011 22:38:22] PHP Parse error: syntax error, unexpected ',' in /home/testlab/public_html/lib/smarty/plugins/function.math.php(64) : eval()'d code on line 1
    [04-Jan-2011 22:38:46] PHP Parse error: syntax error, unexpected ',' in /home/testlab/public_html/lib/smarty/plugins/function.math.php(64) : eval()'d code on line 1

    Please the errors still raised any idea pease
    2.4 indexu
    php 5

  4. #4
    Join Date
    Apr 2007
    Location
    Los Angeles, California
    Posts
    140

    Default

    this application is riddled with so many errors its ridiculous. im in the process of getting a development team to fully figure this script out from beginning to end simply because as you see their is no help whatsoever in here.

    otherwise i'm going to simply throw out the damn thing into cyberspace and say what the hell.

    it's gotten that bad with support. so many people have been let down, its sad. good luck my friend, bc im having some of the same problems myself.
    Jamesst

    "...... it's always something."

  5. #5
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    It could be template issue.
    I run indexu demo site without getting such error.

Similar Threads

  1. Smarty error
    By MGPdevil in forum INDEXU DELUXE v1.x
    Replies: 5
    Last Post: 04-11-2009, 02:45 PM
  2. Smarty Error???
    By 5Business.Net in forum v5.x
    Replies: 10
    Last Post: 03-03-2009, 08:46 PM
  3. PHP Warning - Smarty Error
    By Rob in forum v5.x
    Replies: 2
    Last Post: 08-01-2006, 07:59 PM
  4. Smarty error
    By baggiho in forum v5.x
    Replies: 7
    Last Post: 06-17-2006, 05:24 PM
  5. More smarty plugins
    By dody in forum v5.x
    Replies: 1
    Last Post: 12-16-2005, 09:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •