♥Dnj1964 Posted December 13, 2019 Posted December 13, 2019 Just upgraded using SourceTree from May 28th Accessiblity commit to Phoenix 1.0.4.0 SourceTree report all upgrades successful. Have a problem in admin of double entries Cleared browser cache a few times to no avail. And still shows as 2.3.4.1 CE and not Phoenix
♥JcMagpie Posted December 13, 2019 Posted December 13, 2019 😊 intresting, I've seen that type of error before, check to see if the files have been merged insted of overwriten. Go to public_html/admin/includes/boxes/catalog.php and check you only have this, <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ $cl_box_groups[] = array( 'heading' => BOX_HEADING_CATALOG, 'apps' => array( array( 'code' => 'categories.php', 'title' => BOX_CATALOG_CATEGORIES_PRODUCTS, 'link' => tep_href_link('categories.php') ), array( 'code' => 'products_attributes.php', 'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES, 'link' => tep_href_link('products_attributes.php') ), array( 'code' => 'manufacturers.php', 'title' => BOX_CATALOG_MANUFACTURERS, 'link' => tep_href_link('manufacturers.php') ), array( 'code' => 'reviews.php', 'title' => BOX_CATALOG_REVIEWS, 'link' => tep_href_link('reviews.php') ), array( 'code' => 'specials.php', 'title' => BOX_CATALOG_SPECIALS, 'link' => tep_href_link('specials.php') ), array( 'code' => 'products_expected.php', 'title' => BOX_CATALOG_PRODUCTS_EXPECTED, 'link' => tep_href_link('products_expected.php') ) ) ); ?>
♥Dnj1964 Posted December 13, 2019 Author Posted December 13, 2019 37 minutes ago, JcMagpie said: 😊 intresting, I've seen that type of error before, check to see if the files have been merged insted of overwriten. Go to public_html/admin/includes/boxes/catalog.php and check you only have this, <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ $cl_box_groups[] = array( 'heading' => BOX_HEADING_CATALOG, 'apps' => array( array( 'code' => 'categories.php', 'title' => BOX_CATALOG_CATEGORIES_PRODUCTS, 'link' => tep_href_link('categories.php') ), array( 'code' => 'products_attributes.php', 'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES, 'link' => tep_href_link('products_attributes.php') ), array( 'code' => 'manufacturers.php', 'title' => BOX_CATALOG_MANUFACTURERS, 'link' => tep_href_link('manufacturers.php') ), array( 'code' => 'reviews.php', 'title' => BOX_CATALOG_REVIEWS, 'link' => tep_href_link('reviews.php') ), array( 'code' => 'specials.php', 'title' => BOX_CATALOG_SPECIALS, 'link' => tep_href_link('specials.php') ), array( 'code' => 'products_expected.php', 'title' => BOX_CATALOG_PRODUCTS_EXPECTED, 'link' => tep_href_link('products_expected.php') ) ) ); ?> Yes, I do have that exact file
♥Dnj1964 Posted December 13, 2019 Author Posted December 13, 2019 $cl_box_groups[] = array( 'heading' => BOX_HEADING_CATALOG, 'apps' => array( array( 'code' => 'categories.php', 'title' => BOX_CATALOG_CATEGORIES_PRODUCTS, 'link' => tep_href_link('categories.php') ), array( 'code' => 'products_attributes.php', 'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES, 'link' => tep_href_link('products_attributes.php') ), array( 'code' => 'manufacturers.php', 'title' => BOX_CATALOG_MANUFACTURERS, 'link' => tep_href_link('manufacturers.php') ), array( 'code' => 'reviews.php', 'title' => BOX_CATALOG_REVIEWS, 'link' => tep_href_link('reviews.php') ), array( 'code' => 'specials.php', 'title' => BOX_CATALOG_SPECIALS, 'link' => tep_href_link('specials.php') ), array( 'code' => 'products_expected.php', 'title' => BOX_CATALOG_PRODUCTS_EXPECTED, 'link' => tep_href_link('products_expected.php') ) ) );
♥JcMagpie Posted December 13, 2019 Posted December 13, 2019 Ok it's strange are any of the other menus duplaicated? Check path admin/includes/boxes and see if you have any file duplication. All the duplicated items are from catalog.php the last one that is on it's own Testimonials is from another file which is why I suspected bad catalog.php file in /boxes
♥Dnj1964 Posted December 13, 2019 Author Posted December 13, 2019 The October 24th commit for Remove outdated banner system In public_html/redirect.php The change was to remove the code: case 'banner': $banner_query = tep_db_query("select banners_url from banners where banners_id = '" . (int)$_GET['goto'] . "'"); if (tep_db_num_rows($banner_query)) { $banner = tep_db_fetch_array($banner_query); tep_update_banner_click_count($_GET['goto']); tep_redirect($banner['banners_url']); } break; Yet the newly uploaded file still contains the above code. So no changes were made I lso haven't applied any db changes as of yet either, I'm sure there are some changes needed
♥Dnj1964 Posted December 13, 2019 Author Posted December 13, 2019 SourceTree says update to 1.0.4.0 was successful - guessing SourceTree missed making some changes
♥JcMagpie Posted December 13, 2019 Posted December 13, 2019 Well if the path and files are correct then I suspect you have a bad config table in the db. It looks like it's loading some items twice. You could check it using Cpanel phpMyadmin ad see if duplicate enterys exist. This can happen if files are deleted without uninstaling moduels.
♥Dnj1964 Posted December 13, 2019 Author Posted December 13, 2019 I will check the db for duplicates tables Thanks
♥JcMagpie Posted December 13, 2019 Posted December 13, 2019 😂 Ok looks like you have duplicated files. In Phoenix catalog.php has been changed so it only has this, <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ $cl_box_groups[] = array( 'heading' => BOX_HEADING_CATALOG, 'apps' => array( ) ); ?> The rest are now added using hooks so you are duplicating files. so you have a mix of old files and new. That's what is causing it.
♥Dnj1964 Posted December 13, 2019 Author Posted December 13, 2019 14 minutes ago, JcMagpie said: 😂 Ok looks like you have duplicated files. In Phoenix catalog.php has been changed so it only has this, <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ $cl_box_groups[] = array( 'heading' => BOX_HEADING_CATALOG, 'apps' => array( ) ); ?> The rest are now added using hooks so you are duplicating files. so you have a mix of old files and new. That's what is causing it. Thanks a million. Sounds like an absolute mess. What are weekends for! A drink or more and repairing the mess I've created.
♥raiwa Posted December 14, 2019 Posted December 14, 2019 @Dnj1964, Better go for the 1.0.4.1 version which includes a small error fix: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2019 osCommerce Released under the GNU General Public License */ $cl_box_groups[] = array( 'heading' => BOX_HEADING_CATALOG, 'apps' => array( array( 'code' => null, 'title' => null, 'link' => null ) ) ); About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets
♥Dnj1964 Posted December 14, 2019 Author Posted December 14, 2019 Thank you. Ok so I must be an idiot. Not really a question for debate...just the understated reality!! In SourceTree: Clone Gary's CE-Phoenix {Phoenix Folder} Copied fresh 1.0.4.0 files into {Phoenix Folder} Created a branch at 28th May - Accessiblity {My most current update} In branch stage all changes In branch commit changes SourceTree says update from 2.3.4.1 to 1.0.4.0 successful... SourceTree lies.... No files changed!!!! Obviously a total idiot at the controls.... 2 hours ago, raiwa said: @Dnj1964, Better go for the 1.0.4.1 version which includes a small error fix: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2019 osCommerce Released under the GNU General Public License */ $cl_box_groups[] = array( 'heading' => BOX_HEADING_CATALOG, 'apps' => array( array( 'code' => null, 'title' => null, 'link' => null ) ) ); 1 hour ago, JcMagpie said: 😲 😊 Still only 1.0.4.0 officialy
Recommended Posts
Archived
This topic is now archived and is closed to further replies.