Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

toby_uk

Archived
  • Posts

    32
  • Joined

  • Last visited

Profile Information

toby_uk's Achievements

  1. Hi, I've finally got the Article Manager contribution to work, I experienced the problem with the version of PHP/mySQL my host uses (thanks for the help within this thread). Is there any way to rearrange the order of the articles, see Here. I'd like to move News to the top if possible. I also need to change the font (from Times Roman to Verdana) for the 'Published' information, see Here, but I'm not sure how, any ideas? Since installing this contribution when I try using the search function the following error message is displayed: 1054 - Unknown column 'p.products_id' in 'on clause' select count(distinct p.products_id) as total from products p left join manufacturers m using(manufacturers_id), products_description pd left join specials s on p.products_id = s.products_id, categories c, products_to_categories p2c where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and ((pd.products_name like '%mona%' or p.products_model like '%mona%' or m.manufacturers_name like '%mona%') ) [TEP STOP] Any idea's?
  2. Hi, I've tried installing purchase_without_account_1.1.2b and thought I had done everything correctly but I have run into a slight problem, if I choose to proceed to checkout with creating an account or try to sign up as a new customer (create_account.php), the page is blank, you can see Here I'm not too sure what I have done wrong as I did follow the instructions carefully. Does anyone have any ideas?
  3. Thanks for your reply Coopco. My current catalog/includes/header.php is as follows: <?php /* $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // check if the 'install' directory exists, and warn of its existence if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning'); } } // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning'); } } // check if the session folder is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') { if (STORE_SESSIONS == '') { if (!is_dir(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning'); } elseif (!is_writeable(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning'); } } } // check session.auto_start is disabled if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { if (ini_get('session.auto_start') == '1') { $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning'); } } if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { if (!is_dir(DIR_FS_DOWNLOAD)) { $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); } } if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <div class="fixcenter"> <table background="images/header/headbg.gif" width="780" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td height="113" valign="top"><table align="left" width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="375" height="113" valign="top"> <img src="images/header/header_01.gif" width="373" height="113" alt=""></td> </tr> </table></td> <td width="163" valign="top"> <img src="images/header/header_02.gif" width="163" height="113" alt=""></td> <td width="244" valign="top"><table align="right" width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="121" height="113" valign="top"> <img src="images/header/header_03.gif" width="121" height="113" alt=""></td> <td width="123" valign="top"> <img src="images/header/header_04.gif" width="123" height="113" alt=""></td> </tr> </table></td> </tr> <tr> <td height="38" colspan="3" valign="top"><table align="left" width="131" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="122" height="38" valign="top"><a href="<?php echo tep_href_link(FILENAME_DEFAULT); ?>"> <img src="images/header/header_05.gif" width="122" height="38" alt="Home" Border="0"></a></td> <td width="111" valign="top"><a href="<?php echo tep_href_link(FILENAME_PRODUCTS_NEW); ?>"> <img src="images/header/header_06.gif" width="109" height="38" alt="" Border="0"></a></td> <td width="111" valign="top"><a href="<?php echo tep_href_link(FILENAME_INFORMATION); ?>"> <img src="images/header/header_07.gif" width="111" height="38" alt="" Border="0"></a></td> <td width="109" valign="top"><a href="<?php echo tep_href_link(FILENAME_SPECIALS); ?>"> <img src="images/header/header_08.gif" width="109" height="38" alt="" Border="0"></a></td> <td width="110" valign="top"><a href="<?php echo tep_href_link(FILENAME_ACCOUNT); ?>"> <img src="images/header/header_09.gif" width="110" height="38" alt="" Border="0"></a></td> <td width="110" valign="top"><a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>"> <img src="images/header/header_10.gif" width="110" height="38" alt="" Border="0"></a></td> <td width="109" valign="top"><a href="<?php echo tep_href_link(FILENAME_CONTACT_US); ?>"> <img src="images/header/header_11.gif" width="109" height="38" alt="" Border="0"></a></td> </tr> </table></td> </tr> </table> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td> </tr> </table> <?php } ?> I can easily rollback and install a later version if that would be easier?
  4. Apologies I forgot to add I was using version 0.910 by djmonkey
  5. Hi, I've made most of the changes required for the PWA contribution, however I'm stuck on one final change in /catalog/includes/header.php, my current file looks absolutely nothing like the one required (I have added quite a few contributions already). My current /catalog/includes/header.php: <tr> <td width="122" height="38" valign="top"><a href="<?php echo tep_href_link(FILENAME_DEFAULT); ?>"> <img src="images/header/header_05.gif" width="122" height="38" alt="Home" Border="0"></a></td> <td width="111" valign="top"><a href="<?php echo tep_href_link(FILENAME_PRODUCTS_NEW); ?>"> <img src="images/header/header_06.gif" width="109" height="38" alt="" Border="0"></a></td> <td width="111" valign="top"><a href="<?php echo tep_href_link(FILENAME_INFORMATION); ?>"> <img src="images/header/header_07.gif" width="111" height="38" alt="" Border="0"></a></td> <td width="109" valign="top"><a href="<?php echo tep_href_link(FILENAME_SPECIALS); ?>"> <img src="images/header/header_08.gif" width="109" height="38" alt="" Border="0"></a></td> <td width="110" valign="top"><a href="<?php echo tep_href_link(FILENAME_ACCOUNT); ?>"> <img src="images/header/header_09.gif" width="110" height="38" alt="" Border="0"></a></td> <td width="110" valign="top"><a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>"> <img src="images/header/header_10.gif" width="110" height="38" alt="" Border="0"></a></td> <td width="109" valign="top"><a href="<?php echo tep_href_link(FILENAME_CONTACT_US); ?>"> <img src="images/header/header_11.gif" width="109" height="38" alt="" Border="0"></a></td> </tr> Whereas in the PWA contribution: <td align="right" class="headerNavigation">?? <?php if ((tep_session_is_registered('customer_id')) && (!tep_session_is_registered('noaccount'))) // DDB - PWA - 040622 - no display of logoff for PWA customers { ?> <a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?> </a> ?|? <?php } ?> <?php if (!tep_session_is_registered('noaccount')) // DDB - PWA - 040622 - no display of account for PWA customers { ?> <a href="<?php echo tep_href_link(FILENAME_ACCOUNT, 'my_account_f=1', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?> </a> ?|? <?php } ?> <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> ?|? <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>??</td> Can any one help? :blink:
  6. Hi Rigadin, Many thanks, I forgot to check that file, I was looking at includes/languages/english/header_tags.php but nothing seemed wrong in there! Updated the correct file and all appears to be okay, still a little confused as to why they appeared there! Thanks for helping me out again, much appreciated. :thumbsup:
  7. Hi again, I seem to have one minor problem, which has appeared since installing this contribution (or it may just be coincidence); for some reason some letter 'n's' have appeared at the top of my site and I've no idea how: See Here Any idea's how I can remove them and why they appeared in the first place? Cheers
  8. And guess what I had made a simple mistake, I'd deleted a '?>' by mistake, all seems to be working now, thanks for the help :blush: :thumbsup:
  9. Thanks for your reply. It was definitely HTC v2.5.5, but I'm not sure if it was the Jack_mcs version. I have fixed the first problem by manually editing /includes/languages/english/header_tags.php. I have compared the additions and as far as I can see it appears to be correct, but my php skills are somewhat lacking, so I may have missed something simple. Would you mind if I posted the code for you to take a look? Thanks for your help.
  10. Also, when I now click on Catalog in admin, the following error message is displayed: I have checked admin/categories.php but I cannot see the problem: 731 </table></form> 732 <!-- HTC BOC //--> 733 <?php 734 } elseif ($action == 'new_product_preview') { 735 if (tep_not_null($HTTP_POST_VARS)) { 736 $pInfo = new objectInfo($HTTP_POST_VARS); Does anyone have any suggestions? Thanks
  11. Hi, Apologies if this has already been covered, but I couldn't find a fix to the following problem. I have installed the Header Tags controller contrib and have tried updating the default settings via Text Control. I have entered a new Title, Description and Keywords and it appeared to update, however checking my site only the Title tag is updated successfully, the Description and Keywords are not updated. When I click back on Text Control, it has reverted to the original settings for Description (e.g. What'''s New Here?) and Keywords (e.g. Hardware Software DVD Movies). Any ideas as to what the problem may be? Cheers
  12. Excellent Mark, I have just recently installed the Nochex APC module and my cart was not being emptied after payment (cheque/money order was working fine). As you suggested I just needed to add the second $cart->reset(TRUE); in checkout_success.php, all is working correctly now. Many thanks!
×
×
  • Create New...