Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

radoon

Pioneers
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Real Name
    Wayne

radoon's Achievements

  1. Huzzah! I found the solution to the problem I was having. Turns out it was NOT a problem with "PRODINFO_ATTRIBUTE_PLUGIN", but rather an extraneous "}" (closing curly bracket). I think it was closing an if statement too early, so the QT Pro functions never did/could execute. The extra bracket I removed was right above the first "//++++ QT Pro: End Changed Code" line in /catalog/product_info.php. Hopefully this saves someone else the same headache in the future. I couldn't find a lot of documentation on this in my internet searches.
  2. I started doing some uninstalling of the contribution today and tested my admin login at each step. I finally restored my access when I removed the code added in step 3.4: //++++ QT Pro: Begin Changed code require(DIR_WS_FUNCTIONS . 'qtpro_functions.php'); //++++ QT Pro: End Changed code After looking at that, I thought to check if the file existed and sure enough, the 'qtpro_functions.php' file wasn't where it should have been. I uploaded the file and re-added the code, and I was able to access my Admin page. Next, I found that all of the files that belong in /admin/[other folders...] for the contribution hadn't actually uploaded... Not sure why but maybe I just have my FTP client to blame. Went through the rest of the changes and got stuck on this code that's supposed to be changed in product_info.php. Causes the same HTTP500 error which leads me to believe it can't find the "required" file listed. <?php } //++++ QT Pro: End Changed Code $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'"); $products_attributes = tep_db_fetch_array($products_attributes_query); if ($products_attributes['total'] > 0) { //++++ QT Pro: Begin Changed code $products_id=(preg_match("/^\d{1,10}(\{\d{1,10}\}\d{1,10})*$/",$HTTP_GET_VARS['products_id']) ? $HTTP_GET_VARS['products_id'] : (int)$HTTP_GET_VARS['products_id']); require(DIR_WS_CLASSES . 'pad_' . PRODINFO_ATTRIBUTE_PLUGIN . '.php'); $class = 'pad_' . PRODINFO_ATTRIBUTE_PLUGIN; $pad = new $class($products_id); echo $pad->draw(); } //Display a table with which attributecombinations is on stock to the customer? if(PRODINFO_ATTRIBUTE_DISPLAY_STOCK_LIST == 'True'): require(DIR_WS_MODULES . "qtpro_stock_table.php"); endif; //++++ QT Pro: End Changed Code ?> On a quick search of the "changes" page, it only returns two hits on "PRODINFO_ATTRIBUTE_PLUGIN" (both in the affected code block) which leads me to believe that this variable isn't being defined somewhere. Not sure where it should be defined. I have already verified that the appropriate pad_ files are uploaded into the classes folder. If someone else does know how this goes, please assist. Otherwise I'll just have to keep picking at it tomorrow...
  3. I just ran into this problem myself. Decided to test that the site was still working after completing the changes to the Admin side of things. Haven't made any of the Catalog changes yet. HTTP 500 error on attempt to access admin page(s). Please assist.
×
×
  • Create New...