Jump to content
Sign in to follow this  
designbysue

Extra pages-info box w/ admin

Recommended Posts

Have had a day of nothing working with osCommerce - and now another. I have instaled this contribution http://addons.oscommerce.com/info/2021 - including the editor it required. Both installatios state they were successful, but when I go to the admin of the site and click the link for Extra info page Manager the resulting page is and http 500 internal server... (thats all I can see in the tab)

 

Anyone still with the boards that can help with the contribution? I would like to have at least one succcess today.

 

Thanks

Sue

Design by Sue

 

PS the link that is being generated is https://www.mystore.com//admin/extra_info_pages.php?osCAdminID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

 

I see a problem right off with the // after .com and before admin. But if I make that a single slash and try to go to that page directly in the browser I still get the same error and page can't open.

Edited by designbysue

Share this post


Link to post
Share on other sites

Have had a day of nothing working with osCommerce - and now another. I have instaled this contribution http://addons.oscommerce.com/info/2021 - including the editor it required. Both installatios state they were successful, but when I go to the admin of the site and click the link for Extra info page Manager the resulting page is and http 500 internal server... (thats all I can see in the tab)

 

Anyone still with the boards that can help with the contribution? I would like to have at least one succcess today.

 

Thanks

Sue

Design by Sue

 

PS the link that is being generated is https://www.mystore.com//admin/extra_info_pages.php?osCAdminID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

 

I see a problem right off with the // after .com and before admin. But if I make that a single slash and try to go to that page directly in the browser I still get the same error and page can't open.

 

 

Found out (at least one) problem is:

 

Parse error: syntax error, unexpected T_STRING in /services3/webpages/p/a/paintballwarehouseny.com/public/admin/extra_info_pages.php on line 367

 

The first line below is line 367 - can someone please tell me where the error is?

 

<td class="main"><?phpecho tep_draw_separator('pixel_trans.gif', '24', '15') . ' '?><select name="page_type" size=1>

<option value="1" <?php if($page_type == 1) { echo 'selected="selected"'; } ?>>1 - Index</option>

<option value="2" <?php if($page_type == 2) { echo 'selected="selected"'; } ?>>2 - Contact Us</option>

<option value="3" <?php if($page_type == 3) { echo 'selected="selected"'; } ?>>3 - Shipping</option>

<option value="4" <?php if($page_type == 4) { echo 'selected="selected"'; } ?>>4 - Privacy</option>

<option value="5" <?php if($page_type == 5) { echo 'selected="selected"'; } ?>>5 - Links</option>

<option value="6" <?php if($page_type == 6) { echo 'selected="selected"'; } ?>>6 - Other </option>

<option value="7" <?php if($page_type == 7) { echo 'selected="selected"'; } ?>>7 - Other</option>

<option value="8" <?php if($page_type == 8) { echo 'selected="selected"'; } ?>>8 - Other</option>

<option value="9" <?php if($page_type == 9) { echo 'selected="selected"'; } ?>>9 - Old Page</option>

</select></td>

</tr>

 

Thanks

Sue

Share this post


Link to post
Share on other sites

Try to change this

td class="main"><?phpecho tep_draw_separator('pixel_trans.gif', '24', '15') . ' '?><select name="page_type" size=1>

to this

td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' '?><select name="page_type" size=1>

 

If in the future you have similar errors remember to post the lines BEFORE the error line and just some lines after

Share this post


Link to post
Share on other sites

thank you so much - that was the problem. (and I had just realized I should have added more code through my research and was coming here to do so when I found your post)

 

This is an error in the contribution - can anyone post a correction in the contribution section to state this correction?

 

Sue

Share this post


Link to post
Share on other sites

OK - nevermind that throught - you did solve that problem but when I tried to use the contribution, the entire site bombed - so I uninstalled it - Good luck to other who try it

 

Sue

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  

×