Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

geoffreywalton

♥Ambassador
  • Posts

    8,215
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by geoffreywalton

  1. What value did you set on the input file for Tax class? Cheers G
  2. You have tried to add a third level category, is there a second level category? Cheers G
  3. This sounds like the images field has not been uploaded. Check the column name by downloading a file and checking against the column names in this file. If it is the same it is not that. Post the first 3 lines of your import file. HTH G
  4. Try downloading a file and then import the same file and see if it works. If it does, compare your file to the working file. HTH G
  5. Thanks for the attrribution but the link is http://addons.oscommerce.com/info/9085 for 2.3 and http://addons.oscommerce.com/info/5973 for 2.2. If you are looking for an add-on to help check your db integrity this one is a good start http://addons.oscommerce.com/info/9087 Cheers G
  6. I think you would be better to spend time working out why the last modified column is not being set when the order is created. Check the field default value and the code that adds the order to the db. HTH G
  7. Sorry, I do not seem to be explaining what I want to see. Please post a sample of the entire order email that "is" being sent. Not repeatedly posting the bit that "is not" being sent. Thanks G
  8. Thank you for sending the code that generates the email, now can you send the "email" the code is generating as requested above. This will show what is being sent and we can see what is not being sent. Cheers G
  9. I was actually after the contents of the email it actually sends, so if you could send that too, I'll be back in an hour or so. Cheers G
  10. Can you cut and paste the order email you do get so we can see it for ourselves. Thanks G
  11. I am afraid your description does not make sense. Can you try again with more explanation of what is wrong? Cheers G
  12. Jack The installation instructions for post 2.3 are missing *********************************************************************** 12: In catalog/admin/includes/column_left.php ADD anywhere before the last ?>: // Links Manager II v1.29 begin require(DIR_WS_BOXES . 'links.php'); // Links Manager II v1.29 end Also when I ran the set up php I got a cannot redeclare dulicate ...I think it was to do with categories. In the links manager if you make a mistake it seens to wipe out all the data you have entered forcing you to reinput everything. Apart from thet :-) looking good. Cheers G
  13. New version released for v 2.3.4. Have just read above posts and see duplicate product description chck does not cater for multi-language shops. Cheers G
  14. This is the bit that adds a second box Replace With: define('BOX_REPORTS_MARGIN_REPORT', 'Margin Report'); define('BOX_REPORTS_ORDERS_TOTAL', 'Customer Orders-Total'); Also replace these lines to other languages you are using.[/code] Save and close. Now open: /catalog/admin/includes/boxes/reports.php Find: array( 'code' => FILENAME_STATS_CUSTOMERS, 'title' => BOX_REPORTS_ORDERS_TOTAL, 'link' => tep_href_link(FILENAME_STATS_CUSTOMERS) ) Before add: array( 'code' => FILENAME_MARGIN_REPORT, 'title' => BOX_REPORTS_MARGIN_REPORT, 'link' => tep_href_link(FILENAME_MARGIN_REPORT) ), So reverse that out. Now open admin/includes/boxes/margin_reports.php and copy the 2 blocks of code for the 2 report into admin/includes/boxes/reports.php. There will be 10 lines. Now insert a comma just before the blocks you inserted. The first block of code will look like this array( 'code' => FILENAME_STATS_PRODUCTS_VIEWED, 'title' => BOX_REPORTS_PRODUCTS_VIEWED, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_VIEWED) ), and the second like this array( 'code' => FILENAME_STATS_PRODUCTS_VIEWED, 'title' => BOX_REPORTS_PRODUCTS_VIEWED, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_VIEWED) ) note the "missing" comma. This shows where you should copy it <?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_REPORTS, 'apps' => array( <<<============ Insert here array( 'code' => FILENAME_STATS_PRODUCTS_VIEWED, 'title' => BOX_REPORTS_PRODUCTS_VIEWED, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_VIEWED) ), array( 'code' => FILENAME_STATS_PRODUCTS_PURCHASED, 'title' => BOX_REPORTS_PRODUCTS_PURCHASED, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED) ), array( 'code' => FILENAME_STATS_CUSTOMERS, 'title' => BOX_REPORTS_ORDERS_TOTAL, 'link' => tep_href_link(FILENAME_STATS_CUSTOMERS) ) ) ); ?> Now add a comma after the last block you inserted. That should do it. HTH G
  15. Try posting the installation instructions and mysql. Otherwise no chance of seeing what it is. Cheers G
  16. Easy way is to create the pages and then put the information you want first on the one that is appearing first and so on. More difficult add a sort order field to the record and amend the sql to sort the pages. you don't mention which pages or where so difficult to help. Cheers G
  17. It would be interesting to see what the value for DIR_WS_HTTP_CATALOG is set to in /includes/configure.php. Cheers G
  18. I would supect you have added an extra "box" by adding code to \admin\includes\column_left.php This will refer to a file in \admin\includes\boxes\... The file that shows the standard reports is \admin\includes\boxes\reports.php You shoulkd be able to remove the code for the extra box from \admin\includes\column_left.php and merge the code for the box contents. HTH G
  19. New version uploaded for 2.3.4. http://addons.oscommerce.com/info/9085 HTH G
  20. Just updating this and see v1.3 was never uploaded. It appears that idea was never implemented. Cheers G
  21. Have you had a look in the add-ons section of this web site? It is not one I know of but it may be there. Nets should provide information on how shops can access their payments apis. HTH G
  22. Thanks for that, the final problem I had was the isviewable function returned false for everything. function IsViewable($file) { if (($fp = @file($file))) { for ($idx = 0; $idx < count($fp); ++$idx) { if (strpos($fp[$idx], "<head>") !== FALSE) return true; } } return false; } Fast and nasty fix is to change return false; to true, but will investigate further. Cheers G
  23. Still no luck on this. I am using cd /homepages/xxx/googlesitemap/; /usr/local/bin/php5 -c /usr/lib/php.ini -q /homepages/xxx/googlesitemap/index.php When using CL or cron the filename/directory could not be found and it isssued a die command so change osc.php * END OF SETTINGS *****************************/ if ($_SERVER['PWD'] != '/homepages/xxx/googlesitemap') { $osC_Sec = new osC_Sec(); $osC_Sec->Sentry( $timestampOffset,$nonGETPOSTReqs,$spiderBlock,$banipaddress,$useIPTRAP, $ipTrapBlocked,$emailenabled,$youremail,$fromemail,$disable_tellafriend ); } Now Ultimate SEO had problems in application top setting $PHP_SELF. This fixed that:- // set php_self in the local scope if ($_SERVER['PWD'] == '/homepages/xxx/googlesitemap') { $PHP_SELF = "index.php"; } else { $PHP_SELF = usu5_base_filename(); } With pages turned off everything worked fine except the specials were not generated. Having "homepages" in the directory path caused this, but easily solved. if ( preg_match('/sitemapindex/i', $filename) ) continue; if ( preg_match('/sitemapmanufacturers/i', $filename) && GOOGLE_XML_SITEMAP_CREATE_MANU != 'true' ) continue; if ( preg_match('/sitemappages/i', $filename) && GOOGLE_XML_SITEMAP_CREATE_PAGES != 'true' ) continue; if ( preg_match('/sitemapspecials/i', $filename) && GOOGLE_XML_SITEMAP_CREATE_SPECIALS != 'true' ) continue; Turn on pages and get this error. <b>Catchable fatal error</b>: Object of class language could not be converted to string in <b>/homepages/xxx/googlesitemap/sitemap.class.php</b> on line <b>458</b><br /> function GeneratePagesSitemap(){ $container = array(); $changefreq = GOOGLE_SITEMAP_PAGES_CHANGE_FREQ; $priority = '.1'; include_once(DIR_WS_CLASSES . 'language.php'); print "Language:\n"; $lng = new language(); print "Language".$lng."\n"; Any thoughts Cheers G
  24. you could always update the code to stop the error occuring Current versions of osc use $$link = mysqli_connect($server, $username, $password, $database); HTH G
×
×
  • Create New...