[Solved] Error when using Open Flash Chart 2 plugin |
[eluser]Abu eldahab[/eluser]
Hello All, I download Open Flash Chart 2 plugin form here http://codeigniter.com/wiki/Open_Flash_Chart_2/ And followed the Instructions Quote:1) Drop the contents of the ‘application’ folder into your application folder And got this error when run the Controller ofc2 Quote:$url): ?> i tried to change Code: $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-'; in my config.php put still giving same error i'm using Codeigniter 1.7.2 and php 5.3.0 with WAMP and windows xp can any one help me please ? Regards
[eluser]Abu eldahab[/eluser]
Hello, i found the solution from here http://www.askaboutphp.com/113/codeignit...harts.html use it as library not as plugin as explained in Wiki and now worked fine but when i'm using array with fixed values only when i'm passing array result form the database it's work but the bars not displayed will the blew picture when using fixed array values http://www.ahmeddahab.com/sample1.jpg but when i'm using array values from database query it's giving this http://www.ahmeddahab.com/sample2.jpg i checked the return array from the database with print_r and gave me Code: Array i don't know why this happening !! any ideas ??
[eluser]Abu eldahab[/eluser]
i found the problem i had to use the function Code: intval() before create the data array from the Databse now every thing working fine |
Welcome Guest, Not a member yet? Register Sign In |