ballhogjoni Posted December 6, 2008 Share Posted December 6, 2008 Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/xxxx/library/Zend/Loader.php on line 52 I got the error above when I uploaded my site to my server. It works fine on my localhost but now it doesn't work on the live server. Any ideas? Quote Link to comment Share on other sites More sharing options...
peranha Posted December 6, 2008 Share Posted December 6, 2008 without seeing some code before line 52, including line 52, it is hard to say. Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted December 6, 2008 Author Share Posted December 6, 2008 I think I know what the problem is. I think its that on my local I use php 5 and on the sever its php 4 Quote Link to comment Share on other sites More sharing options...
peranha Posted December 6, 2008 Share Posted December 6, 2008 yeah, very well could be. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted December 6, 2008 Share Posted December 6, 2008 You could get a definitive answer without any guessing needed by posted the code that corresponds to the error. There are a lot of very knowledgeable people in the forum willing to help if they are given the necessary information about the problem you are having. Edit: The end of life of php4 was almost one year ago. Every web host should have provided a way of switching accounts to php5 a long time ago. Why are you still using php4 on a live server? Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted December 6, 2008 Author Share Posted December 6, 2008 It was the fact that php 5 has to be enabled to run the zend framework. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.