 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
sutterp
Joined: 16 Apr 2008 Posts: 6 Location: Western Australia
|
Posted: Sun Apr 20, 2008 3:52 am Post subject: php4 - php5 differences |
|
|
I just started using Structures_DataGrid and obviously I overlooked something.
My development environment is using php5, production is still on php4.
The few programs I wrote, run all fine under php5, yet in production under php4 they produce the following errors:
| Code: | Warning: Cannot use a scalar value as an array in /usr/local/lib/php/Structures/DataGrid/Renderer/Smarty.php on line 283
Notice: Undefined index: attributes in /usr/local/lib/php/Structures/DataGrid/Renderer/Smarty.php on line 300 |
Although these are just warnings and notices, I need to understand why these happen, so that I can write 'clean; code. |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1053
|
Posted: Sun Apr 20, 2008 10:35 am Post subject: |
|
|
Structures_DataGrid (SDG) is in general compatible with both PHP 4 and PHP 5.
Please provide more details about your code. It's good that you've cited the error messages, but I can't analyze the problem without seeing how you use the Smarty renderer of SDG. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|