Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

admin panel


bluewaterbm

Recommended Posts

Please help.

I was getting a:

 

parse error: syntax error, unexpected t_constant_encapsed_string, expecting ')' in c:\xampp\htdocs\xampp\oscommerce\catalog\admin\includes\boxes\catalog.php on line 25

 

I made A change in my php file got rid of the parse error and now I have this in my admin panel;

 

Configuration

Administrators

My Store

Minimum Values

Maximum Values

Images

Customer Details

Shipping/Packaging

Product Listing

Stock

Logging

Cache

E-Mail Options

Download

GZip Compression

Sessions

 

 

BOX_HEADING_CATALOG);new infoBoxHeading($heading , false, true, tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog'));if ($selected_box == 'catalog') {$contents[] = array('text' => '' . BOX_CATALOG_CATEGORIES_PRODUCTS . '' .'' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '' . 'Easy Populate' . '' . BOX_CATALOG_MANUFACTURERS . '' .'' . BOX_CATALOG_REVIEWS . '' .'' . BOX_CATALOG_SPECIALS . '' .'' . BOX_CATALOG_PRODUCTS_EXPECTED . '');}$box = new box;echo $box->menuBox($heading, $contents);?>

Modules

 

Customers

 

Locations / Taxes

 

Localization

 

Reports

 

Tools

 

 

 

 

 

<?php/*$Id: catalog.php 1739 2007-12-20 00:52:16Z hpdl $osCommerce, Open Source E-Commerce

 

Solutionshttp://www.oscommerce.comCopyright © 2002 osCommerceReleased under the GNU General

 

Public License*/?><!-- catalog //--><tr><td><?php$heading = array();$contents =

 

array();$heading[] = array('text' => BOX_HEADING_CATALOG);new infoBoxHeading($heading , false,

 

true, tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog'));if ($selected_box ==

 

'catalog') {$contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, '',

 

'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS . '</a>' .'<a

 

href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, '', 'NONSSL') . '"

 

class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a>' . '<a

 

href="' . tep_href_link('easypopulate.php', '', 'NONSSL') . '" class="menuBoxContentLink">Easy

 

Populate</a>' . '<a href="' . tep_href_link(FILENAME_MANUFACTURERS, '', 'NONSSL') . '"

 

class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a>' .'<a href="' .

 

tep_href_link(FILENAME_REVIEWS, '', 'NONSSL') . '" class="menuBoxContentLink">' .

 

BOX_CATALOG_REVIEWS . '</a>' .'<a href="' . tep_href_link(FILENAME_SPECIALS, '', 'NONSSL') .

 

'" class="menuBoxContentLink">' . BOX_CATALOG_SPECIALS . '</a>' .'<a href="' .

 

tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' .

 

BOX_CATALOG_PRODUCTS_EXPECTED . '</a>');}$box = new box;echo $box->menuBox($heading,

 

$contents);?></td></tr><!-- catalog_eof //-->

 

Thank for any help.

Link to comment
Share on other sites

that would imply your correction was wrong, & though it appeared to correct the issue, you made a new one.

 

you need to post your code & detail your change to tell where you went wrong.

 

 

Thanks, It is fix. Uploaded original file made my change and no pares error or wird admin panel.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...