You are not logged in.
Hi,
I try last svn ( oneye 0.9.0 (1.11.0.1) ) on my laptop (use Arch Linux).
I found a issue for EyeDesigner.
In fact with apache 2.2.22 / php 5.4.3 run function doesn't work (seem not work).
I analysed page with web developer include in Firefox and find the code doesn't interpreted by php.
In oneyexxx/apps/eyeDesigner/compile.eyecode you use a short php tag.
$code = '<? function eyeDesigner_Test_run($params=null){'."\n".$wndCode."\n}\n".'function eyeDesigner_Test_end($params = null) {'."\neyeWidgets('unserialize',".'$params'.');}?>';
I modified for:
$code = '<?php function eyeDesigner_Test_run($params=null){'."\n".$wndCode."\n}\n".'function eyeDesigner_Test_end($params = null) {'."\neyeWidgets('unserialize',".'$params'.');}?>';
Work perfectly
I think you should use a full php tag <?php ?> instead of <? ?>.
in fact this depends of php version who runs on server.
Last edited by lars-sh (2012-06-13 17:39:14)
Offline
Thank you for reporting this.
You're right, it should be the full php tag. I'm not sure why it wasn't, perhaps a quirk of the original programmer (Nowhere else in oneye is the shortened tag used).
It has been amended in the repository (r.7570), and the downloadable eyePackage updated.
Offline