![]() |
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM (/showthread.php?tid=39308) |
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM - El Forum - 03-07-2011 [eluser]Suven[/eluser] Hi! I'm running a local dev-server for my first codeIgniter-Application. In my local setup everything works like it should. The application itself is very minimal right now. Just the default welcome-controller, one for about and the latest version of Ion-Auth. I then uploaded my app onto my server, changed the database-settings and imported them Locally I'm using PHP 5.3.0 and online PHP 5.2.12. Online I get the folowing error: Code: Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /www/htdocs/xyz/crazy_application/controllers/welcome.php on line 33 Where my code is: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Any ideas? Thank you! Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM - El Forum - 03-07-2011 [eluser]Suven[/eluser] I bury my head in shame. It should be Code: $this->index(); Sorry guys! |