Welcome Guest, Not a member yet? Register   Sign In
App Display Problem
#11

[eluser]InsiteFX[/eluser]
What's on line 20?

InsiteFX
#12

[eluser]kenreynolds[/eluser]
Sorry! The code above actually ends on line 19. For that code, I get the following error in the log:

===== Monday, January 24, 2011 7:36:42 AM US/Central =====
[24-Jan-2011 07:36:47] PHP Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /Applications/MAMP/htdocs/CodeIgniter/application/controllers/cal.php on line 19

After getting that error I added the closing '?>' php tag to line 20 and got the error referencing line 20 in my previous reply.
#13

[eluser]InsiteFX[/eluser]
As I stated above if your running PHP 5 you do not need the closing ?> PHP tag.

Also what version of CI are you running?

Show the code that is causing the error.

InsiteFX
#14

[eluser]Mantra of Doom[/eluser]
Could it be that you left out the closing bracket? You close the index function but you don't have a closing bracket for the end.
#15

[eluser]kenreynolds[/eluser]
And the missing closing bracket was the culprit. Wow! I really feel sheepish! I usually don't make mistakes like that. At any rate, thank you so much, everyone, for all your help. I hope to contribute and be a bigger part of this community going forward.




Theme © iAndrew 2016 - Forum software by © MyBB