Jump to content

420

Members
  • Content count

    45
  • Joined

  • Last visited

Profile Information

  • Real Name
    Gone Now
  • Website
  1. 420

    Wishlist 2.0 Support Thread

    Found it, minor error in the install text regarding application_top.php ... // include the who's online functions ?> that 2nd line shouldn't be there at all. Removed it and the mod seems to work great. Just going to make some cosmetic changes and I'm on my way. :)
  2. 420

    Wishlist 2.0 Support Thread

    As I figured, the problem lies within that mess of changes in application_top.php However, I haven't been able to fix it as of yet.
  3. 420

    Wishlist 2.0 Support Thread

    Bit difficult to run through 30+ pages but as far as I can see, the issue isn't mentioned in relation to this mod. Using MS2 btw.
  4. 420

    Wishlist 2.0 Support Thread

    Error right off the bat ... require(DIR_WS_FUNCTIONS . 'whos_online.php'); tep_update_whos_online(); // include the password crypto functions require(DIR_WS_FUNCTIONS . 'password_funcs.php'); // include validation functions (right now only email address) require(DIR_WS_FUNCTIONS . 'validations.php'); // split-page-results require(DIR_WS_CLASSES . 'split_page_results.php'); // infobox require(DIR_WS_CLASSES . 'boxes.php'); // auto activate and expire banners require(DIR_WS_FUNCTIONS . 'banner.php'); tep_activate_banners(); tep_expire_banners(); // auto expire special products require(DIR_WS_FUNCTIONS . 'specials.php'); tep_expire_specials(); // calculate category path if (isset($HTTP_GET_VARS['cPath'])) { $cPath = $HTTP_GET_VARS['cPath']; } elseif (isset($HTTP_GET_VARS['products_id']) && !isset($HTTP_GET_VARS['manufacturers_id'])) { $cPath = tep_get_product_path($HTTP_GET_VARS['products_id']); } else { $cPath = ''; } if (tep_not_null($cPath)) { $cPath_array = tep_parse_category_path($cPath); $cPath = implode('_', $cPath_array); $current_category_id = $cPath_array[(sizeof($cPath_array)-1)]; } else { $current_category_id = 0; } // include the breadcrumb class and start the breadcrumb trail require(DIR_WS_CLASSES . 'breadcrumb.php'); $breadcrumb = new breadcrumb; $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); // add category names or the manufacturer name to the breadcrumb trail if (isset($cPath_array)) { for ($i=0, $n=sizeof($cPath_array); $i<$n; $i++) { $categories_query = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$cPath_array[$i] . "' and language_id = '" . (int)$languages_id . "'"); if (tep_db_num_rows($categories_query) > 0) { $categories = tep_db_fetch_array($categories_query); $breadcrumb->add($categories['categories_name'], tep_href_link(FILENAME_DEFAULT, 'cPath=' . implode('_', array_slice($cPath_array, 0, ($i+1))))); } else { break; } } } elseif (isset($HTTP_GET_VARS['manufacturers_id'])) { $manufacturers_query = tep_db_query("select manufacturers_name from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); if (tep_db_num_rows($manufacturers_query)) { $manufacturers = tep_db_fetch_array($manufacturers_query); $breadcrumb->add($manufacturers['manufacturers_name'], tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'])); } } // add the products model to the breadcrumb trail if (isset($HTTP_GET_VARS['products_id'])) { $model_query = tep_db_query("select products_model from " . TABLE_PRODUCTS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'"); if (tep_db_num_rows($model_query)) { $model = tep_db_fetch_array($model_query); $breadcrumb->add($model['products_model'], tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . $HTTP_GET_VARS['products_id'])); } } // initialize the message stack for output messages require(DIR_WS_CLASSES . 'message_stack.php'); $messageStack = new messageStack; // set which precautions should be checked define('WARN_INSTALL_EXISTENCE', 'true'); define('WARN_CONFIG_WRITEABLE', 'true'); define('WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true'); define('WARN_SESSION_AUTO_START', 'true'); define('WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true'); ?> Fatal error: Call to a member function on a non-object in /home/nexuspcc/public_html/catalog/includes/header.php on line 51 Line 51 is ... if ($messageStack->size('header') > 0) { Going to run through the thread to see if anyone else has had this prob .... but if someone knows the solution off-hand, the help would be appreciated.
  5. 420

    Easy Solution Must Exist!

    I don't know about the FedEx module but with UPS you have another issue ... to get any of these to work using your code, you have to set your tare weight in the Admin CP to 0. Once you do that, the UPS module will not work for *any* items. :(
  6. 420

    Easy Solution Must Exist!

    Thanks for the tip. :) It'll work I think, but code should go elsewhere or you will get something like: An error occured with the UPS shipping calculations. The requested service is invalid from the selected origin. If you prefer to use UPS as your shipping method, please contact the store owner.
  7. Well, I read my way through oodles of pages and saw that there were still ongoing problems. The last time a new file was added to the contributions was Dec 4, 2003 Does anyone have the complete and correct installation instructions (for the latest osC) for this contrib? :unsure: spib maybe?
  8. Using the latest version of osC and I can't get this mod working at all. Specifically, I get errors referring to "undefined function" for autologincookie on both the login and logoff pages. I have followed the insturctions to a T, all files there and as directed, ran the SQl, etc. tia for any help. :)
  9. Noticed in the heading, MS2 ... works fine. :) Now we could say the same to you ... you should have commented your changes. lol j/k Erik. My best suggestion is this: (1) Backup any file you'll be working with (2) Overwrite the files you haven't changed first. If the file date matches the date you first created the store, probably unlikely you changed it, no? (3) Move on to files you have changed. Grab the 30-day free trial of Beyond Compare from here It's a little time-consuming, but it works great. I am now using the main contribution along with the "New Review Notification Email" and with my own personally coded redirect and message for the reviewer and it all works i 100% harmony on the latest osC.
  10. I would prefer that also but in this case, it's unlikely you've ever modded those files before. Only thing is, are the files from MS2? Don't recall seeing a notation but I could have missed it.
  11. OK, I did the message part. I'm going to add a file to the Review Approval System v1.2 contribution. Will only take you a minute to apply the changes. :)
  12. 420

    EZier New Fields

    OK, a real issue ... It changes existing values ... 299.99 332.98 to 299.9900 332.9889 ... and also, why is the default 0 decimal place for retail price? Few people sell at exact dollar amounts and MSRP is never an exact dollar amount. Also, strikethrough should be default for Retail field as it helps avoid confusion for the customer. Those minor issues aside, great work and much appreciated. :)
  13. 420

    EZier New Fields

    Mind if I ask why we're adding this: define('TEXT_PRODUCTS_RETAIL_PRICE', 'Products Retail Price:'); in catalog/admin/includes/languages/english/categories.php when it already exists??? (b/c we added it earlier in Step 1) define('ERROR_CANNOT_MOVE_CATEGORY_TO_PARENT', 'Error: Category cannot be moved into child category.'); define('TEXT_PRODUCTS_RETAIL_PRICE_INFO', 'Retail Price:'); define('TEXT_PRODUCTS_RETAIL_PRICE', 'Products Retail Price:'); ?>
  14. 420

    PayPal Orders Not Appearing

    I would think: https://www.yourdomain.com/checkout_success.php ... though the URL would be different for SSL if you are using Shared SSL.
×