Jump to content
Latest News: (loading..)
Sign in to follow this  
kom_s

Extra_Info_Pages

Recommended Posts

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??

Share this post


Link to post
Share on other sites
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 :)

Share this post


Link to post
Share on other sites

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 by Jonojamesmac

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×