kom_s Posted July 30, 2009 Share Posted July 30, 2009 Dear all! I have a little problem, and as I don't know PHP well, please help me to solve this little problem! :( I have installed contribution - Extra Info Pages, and it worked and works now well in my local PC. But after uploading my working project in my hosting server, I get this error, when I wanted to manage extra info pages from Admin area. Parse error: syntax error, unexpected T_STRING in /xyz/site_pages.php on line 367 So, please let me know what did I do wrong?? Quote Link to comment Share on other sites More sharing options...
kom_s Posted July 30, 2009 Author Share Posted July 30, 2009 Dear all! I have a little problem, and as I don't know PHP well, please help me to solve this little problem! :( I have installed contribution - Extra Info Pages, and it worked and works now well in my local PC. But after uploading my working project in my hosting server, I get this error, when I wanted to manage extra info pages from Admin area. Parse error: syntax error, unexpected T_STRING in /xyz/site_pages.php on line 367 So, please let me know what did I do wrong?? !Problem is Solved! On line 367 you can find <td class="main"><?phpecho tep_draw_separator('pixel_trans.gif', '24', '15') . ' '?><select name="page_type" size=1> I changed this and now it looks like this. <td class="main"><select name="page_type" size=1> and everything works perfect! P.S. Only PHP developers can say what I made :) Quote Link to comment Share on other sites More sharing options...
Jonojamesmac Posted July 30, 2009 Share Posted July 30, 2009 (edited) You just need a space between php and echo like this <?phpecho tep_draw_separator('pixel_trans.gif', '24', '15') . ' '?> to this <?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' '; ?> Edited July 30, 2009 by Jonojamesmac Quote Link to comment Share on other sites More sharing options...
webbsy Posted September 24, 2009 Share Posted September 24, 2009 im getting this error when i go to my index page Fatal error: Call to a member function add_current_page() on a non-object in /includes/application_top.php on line 312 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.