CodeIgniter Forums
Error with Xinha plugin - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Error with Xinha plugin (/showthread.php?tid=24643)



Error with Xinha plugin - El Forum - 11-15-2009

[eluser]Unknown[/eluser]
Hi, I'm new on CI, i try follow the WYSISYG how to from http://codeigniter.com/wiki/WYSIWYG/ but the following error appears:

Parse error: parse error in C:\wamp\www\ECM\system\plugins\xinha.php on line 84

but when i see this line is "?>" from the xinha.php

Im using wamp server with this configuration: on winXP
Apache Version : 2.2.11
PHP Version : 5.3.0
MySQL Version : 5.1.36
The files I modified/create are those, system/application/controllers/editor.php
system/application/views/xinha.php
system/plugins/xinha.php all those files are equals that in the wiki

and i modified the routes.php file to set 'editor' as default controller

and i copied the last stable xinha xinha 0.95 to root directory

I tried with the files from http://www.andreabersi.com/Saibal/AutoIndex/ but appears the same error!

please help me!!!

thanks


Error with Xinha plugin - El Forum - 11-15-2009

[eluser]Carlos Mora[/eluser]
Hi Elin3t,
I'm a newbie too, so welcome to the band! May be this error is beacuse there is anywhere something using short scripting tag, that is <? in place of <?php , can you check it? This error is very common for me, wih other people's code. Check for a missing ';' too.

Regards


Error with Xinha plugin - El Forum - 11-15-2009

[eluser]Unknown[/eluser]
[quote author="Carlos Mora" date="1258335145"]Hi Elin3t,
I'm a newbie too, so welcome to the band! May be this error is beacuse there is anywhere something using short scripting tag, that is <? in place of <?php , can you check it? This error is very common for me, wih other people's code. Check for a missing ';' too.

Regards[/quote]

Thanks Carlos, its work fine, i have to change all "<?=" for "<?php echo" and works fine!!! thank you!!!!