Jump to content

241

Members
  • Content count

    6,145
  • Joined

  • Last visited

Everything posted by 241

  1. 241

    Stripe v3 module for SCA

    @mhsuffolk @asro2004 there are a couple more stripe references that should be changed to stripe_sca in the ext/modules/content/account/stripe_sca/cards.php lines 59 and 63 redirect and breadcrumb
  2. 241

    newbie

    @ArtcoInc I know maybe @nsf43 that info
  3. @René H4 Did you copy and paste if so try just typing it as sometimes copy and paste introduces errors
  4. 241

    newbie

    define('HTTP_SERVER', 'http://yoursparkyname'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTPS_SERVER', 'https://yoursparkyname'); define('ENABLE_SSL', 'true'); define('HTTP_COOKIE_DOMAIN', 'yoursparkyname'); define('HTTPS_COOKIE_DOMAIN', 'yoursparkyname'); define('HTTP_COOKIE_PATH', '/admin'); define('HTTPS_COOKIE_PATH', '/admin'); define('HTTP_CATALOG_SERVER', 'http://yoursparkyname'); define('HTTPS_CATALOG_SERVER', 'https://yoursparkyname'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) don't know this one you will need to get this yourself I would also change the name of the admin directory and references to something only you know @nsf43
  5. @René H4 try ini_set("error_log", "name_of_directory/php-error.".date('ymd').".log");
  6. 241

    Unable to Add New Category

    @brian_cee so is this now fixed with the autoincrement from your other thread or is there still an issue with the /includes/modules/boxes/bm_categories.php
  7. @René H4 if it is just the deprecated stuff you want to be able to see then just comment out the deprecated part /* if (defined('E_DEPRECATED')) { error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); }*/ ini_set('display_errors','1');
  8. 241

    Fatal error, webhost is stumped

    @brian_cee
  9. so it is only the admin side that you want the changes made to order.php and invoice.php that way it still looks nice up front. then the changes would be for orders.php and invoice.php governed by tep_address_format($order->customer['format_id'], $order->billing, 1, '', '<br />'); tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />');
  10. do you really want to see everything? comment out error_reporting(E_ALL & ~E_NOTICE); if (defined('E_DEPRECATED')) { error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); } with /* error_reporting(E_ALL & ~E_NOTICE); if (defined('E_DEPRECATED')) { error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); }*/ error_reporting(E_ALL); ini_set('display_errors','1'); though this may still be overridden via the php.ini master setting
  11. did you change the zone names as bonbec suggested. It's not a bug my client wanted UK instead of United Kingdom so I changed the zone in the table from United Kingdom to UK
  12. 241

    Fatal error, webhost is stumped

    categories table should be autoincrement so next id would be 23
  13. you can add a layout that suites your needs and set Australia to use that layout in the table address format and set table countries entry for Australia to use that new address format so if new format is id 6 set country Australia to use address_format_id 6 but still much easier to change the zone table as bonbec stated
  14. yes but you would also need to change the queries and remember the changes for any updates much easier to alter the table entries as given by bonbec
  15. agreed because the order class has 'state' => ((tep_not_null($customer_address['entry_state'])) ? $customer_address['entry_state'] : $customer_address['zone_name']), 'state' => ((tep_not_null($shipping_address['entry_state'])) ? $shipping_address['entry_state'] : $shipping_address['zone_name']), 'state' => ((tep_not_null($billing_address['entry_state'])) ? $billing_address['entry_state'] : $billing_address['zone_name']), you don't want to be changing the code as that would affect all countries.
  16. 241

    Unable to Add New Category

    you have a bad bit of code possibly a for loop or a dab redirect that causes a loop that is using up the memory
  17. 241

    Header Tags SEO

    @Jack_mcs no worries these are not problems for me I have fixed, just thought to bring them to your attention in case you were unaware A thought that you may want to use is_countable for future php (PHP 7 >= 7.3.0) it can be implemented in compatibility mode now as a function will help with all your count()
  18. I also found I needed to modify the last part to if (empty($oInfo->customer_service_id)){ $contents[] = array('text' => '<br>' . TEXT_INFO_CUSTOMER_SERVICE_ID . ' No ID.'); }else{ $contents[] = array('text' => '<br>' . TEXT_INFO_CUSTOMER_SERVICE_ID . ' ' . $oInfo->customer_service_id); } though that may be because of the heavy modifications
  19. @freakystreak I added a bit of code to above post which may help
  20. look at the end of the file in the section default I have a very heavily modified site but you should look for something starting like this $contents[] = array('align' => 'center', 'text' => tep_draw_button(IMAGE_ORDERS_DETAIL, 'document', tep_href_link('orders.php', tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit')) .
  21. 241

    NEW! Complete Order Editing Tool!

    @freakystreak I have this working without any Notice, Warning or Deprecated on php 7.36 spent a lot of time trawling through the code updating and modifying adding additional hint info, attributes, tax and shipping all working even spits out nice templated html emails
  22. 241

    Header Tags SEO

    @Jack_mcs No worries got a few more for you admin/header_tags_fill_tags.php Notice: Undefined variable: sleep in admin/header_tags_fill_tags.php on line 703 Notice: Undefined variable: sleep in admin/header_tags_fill_tags.php on line 704 missing initial declaration for the variable $sleep outside of action either $sleep = ''; or $sleep = false; admin/header_tags_seo_keywords.php Notice: Undefined index: date in admin/header_tags_seo_keywords.php on line 371 Notice: Undefined index: searches in admin/header_tags_seo_keywords.php on line 372 Notice: Undefined index: google_last_position in admin/header_tags_seo_keywords.php on line 373 admin/header_tags_seo_silo.php Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 152 Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 156 Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 162 Date Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 163 Name Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 164 Best Seller Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 165 Custom Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 171 Notice: Undefined variable: selectedCats in admin/header_tags_seo_silo.php on line 174 admin/header_tags_seo_social.php Notice: Undefined index: 24x24 in admin/header_tags_seo_social.php on line 245 Notice: Undefined index: 32x32 in admin/header_tags_seo_social.php on line 245 Notice: Undefined index: 48x48 in admin/header_tags_seo_social.php on line 245 Notice: Undefined index: creator in admin/header_tags_seo_social.php on line 306
  23. 241

    Header Tags SEO

    admin/includes/functions/header_tags.php line 104 if (($fileSaved && $cntNewFiles) || (! $fileSaved && (count($existingFiles) != $cntNewFiles))) { count($existingFiles) Notice: Undefined variable: existingFiles Warning: count(): Parameter must be an array or an object that implements Countable $existingFiles is not an array or object
  24. the code in your module is not up to date reset($order_total_modules->modules); while (list(, $value) = each($order_total_modules->modules)) { will need to be changed foreach($order_total_modules->modules as $value) { I don't think the module will fix the issue at hand with the email
  25. tep_href_link('shopping_cart.php', 'action=clear_cart') uses includes\actions\clear_cart.php redirects to shopping_cart.php if the redirect is not right then copy and mod as required and change the name to be different from clear_cart
×