Jump to content

artfulweb

Members
  • Content count

    319
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by artfulweb

  1. artfulweb

    Sitemap SEO

    Thank you Jack, thank you Matt, Matt's solution worked. I do not understand why there would be a problem with $current_category_id as my test site has no modifications to the category id and was a clean install of 1.0.7.1.. Do have Header Tags SEO, Ultimate SEO URLs, All Products SEO, Sitemap SEO installed so could one of those have changed something. It also shows on a client's site that he upgraded to PHOENIX 1.O.7.0 with no previous errors showing so I can not explain it. Just checked his site and added the fix and the error goes away. He upgraded from 1.0.5.0 directly to 1.0.7.0. Thank you both.
  2. artfulweb

    Sitemap SEO

    Thanks Matt, but I am still unable to find out why the php error message in my logs.
  3. artfulweb

    Sitemap SEO

    Yes Jack I have done "Update" and it occurs both in French and English. The sitemaps show no problem, just the error logs. Using Php 7.3.17
  4. artfulweb

    Sitemap SEO

    It does not fail, Jack, it is a warning in my logs that comes evey time someone clicks a product page so the error file becomes huge.
  5. artfulweb

    Sitemap SEO

    Thanks Jack, but unfortunately it still has the same error message.
  6. artfulweb

    Sitemap SEO

    Hi Jack, have been using Sitemap with no problems now till upgrading to PHOENIX 1.0.7.1, now getting in my logs : PHP Warning: strpos(): Empty needle in /xx/xx/xx/xx/includes/modules/sitemap_category.php on line 23 Line 23 is : if (strpos($cat['id'], (string)$current_category_id) === FALSE) continue; Any ideas, do not know what a "needle" is?
  7. artfulweb

    PayPal Payments Standard

    Hi John, Just updated to PHOENIX 1.0.7.1, uninstalled and reinstalled Paypal standard and the orders come through but with "Preparing (Paypal Standard)" instead of "Processing" even though they have been successfully recorded at Paypal. Before the "Preparing (Paypal Standard)" meant that the order was not confirmed. The logs indicate no problem (though the details are totally different than their previous format) PAYMENTSTATUS: Completed PENDINGREASON: None There are no longer the details of the transactions in the customer tabs as previously so have to rely on the logs and verify directly with paypal to see if it has really been paid. The emails are sent, though no order id shows. Any ideas?
  8. Français : Le Pack complet pour la langue français pour CE PHOENIX 1.0.6.0 est maintenant disponible à https://apps.oscommerce.com/oqfJg&ce-phoenix-1-0-5-0-french-language-pack Vous avez les fichiers langue dans le catalogue et admin aussi bien que le répertoire "install", sql et exemples de produits traduits. Il suffit de télécharger CE PHOENIX 1.0.6.0 à https://www.oscommerce.com/Products dans "Community Edition" et remplacer les fichiers de langue "English" par les fichiers français y compris le répertoire "install" pour une base de données entièrement en français. English: The complete French language pack for CE PHOENIX 1.0.6.0 is now available at https://apps.oscommerce.com/oqfJg&ce-phoenix-1-0-5-0-french-language-pack You have all the language files in admin and the catalog as well as the install directory, sql and product examples translated. Just download CE PHOENIX 1.0.6.0 from https://www.oscommerce.com/Products under "Community Edition" and replace the English language files with the french including the install directory for a database all in french.
  9. Thank you Rainer, hard to live without it!
  10. Hello Rainer, Just upgraded PHOENIX to 1.0.6.O and the Ajax Attribute Manager tab disappeared when going to editing the product. I am wondering if it is related to the other tabs having a font awesome icon next to each of them. I am not sure how that could be added to AAM to see if that would make it show. Any idea?
  11. Yes Jack it was in both languages. I am going to upgrade to PHOENIX 1.0.6.0 and reinstall and will get back to you with the result. Thank you
  12. It is defined in english.php and french.php so I do not understand. Using PHOENIX 1.0.5.0.
  13. Hi Jack, Noticed in my error logs the following: Use of undefined constant CHARSET - assumed 'CHARSET' (this will throw an Error in a future version of PHP) in /xx/xx/xx/xx/includes/classes/seo.class.php on line 1824 which is : if (CHARSET == 'utf-8') {
  14. artfulweb

    NEW! Complete Order Editing Tool!

    Hi John, It shows fine as long as you do not touch the shipping, for example try to put it at 0 so the customer does not have to pay the shipping or add a discount, then it goes haywire.
  15. artfulweb

    NEW! Complete Order Editing Tool!

    Hello John, there is no error message nor errors in the logs. The problem comes from the fact that the add-on is not compatible with Phoenix 1.0.5.6. Looking in the code I can correct the array problems but not the rest so will have to wait until you have the time to upgrade it. Know you have already a lot on your plate so till then I will not use it on the live sites. In the interim have to find a way jungle orders that need to be modified without it. Thanks anyway.
  16. artfulweb

    Mail Manager for OSC v2.3

    Got it all figured out. Mod working perfectly now.
  17. artfulweb

    NEW! Complete Order Editing Tool!

    Hi John, Hope you are safe from COVID 19. Having updated Phoenix to v.1.0.5.6 I have a problem in admin/edit_orders_ajax.php (2) on line 515 $r = 0; for ($i=0, $n=sizeof($shipping_quotes); $i<$n; $i++) { for ($j=0, $n2=sizeof($shipping_quotes[$i]['methods']); $j<$n2; $j++) { $r++; When trying to modify the shipping the order totals disappear and can no longer be edited, then clicking cancel my order disappears (though it it still in the database, not on the site). Any ideas?
  18. artfulweb

    NEW! Complete Order Editing Tool!

    Deleted includes/modules/hooks/admin/orders/ and just put in includes/modules/hooks/admin/ Thanks!
  19. artfulweb

    NEW! Complete Order Editing Tool!

    Hi John, is it supposed to be in includes/modules/hooks/admin/orders/ or just includes/modules/hooks/admin/
  20. artfulweb

    Mail Manager for OSC v2.3

    After trying all the changes to tpl_n_checkout.php it is clear that changes have to be made instead to includes/modules/mail_manager/order_confirm.php so that it picks up the new way to call for products but I can not figure out what that is. If modifications are made to the tpl file the admin mail shows no products, only totals. As for attributes they have never shown in the emails on vanilla installs after 1.0.5.0.
  21. artfulweb

    Mail Manager for OSC v2.3

    That is the way it is actually working as called for in n_checkout.php, mail manager only being called for the customer's order confirmation in HTML for using only the mail manager order_confirm, and the admin copy, not in HTML format uses the n_checkout.php and tpl_n_checkout.php
  22. artfulweb

    Mail Manager for OSC v2.3

    In fact, tpl_n_checkout.php is only called for the extra order email which is not in HTML format so the above changes blitzes the products in the email to the owner.
  23. artfulweb

    Mail Manager for OSC v2.3

    A bit overwhelmed! The file tpl_n_checkout.php is not called by mail manager so I do not understand how the change would affect it… doing the rest goes beyond my competences unfortunately. It worked perfectly in 1.0.5.0
  24. artfulweb

    Mail Manager for OSC v2.3

    Hi Matt, In n_checkout.php MM is added as follows and does send the order confirmation email in beautifully with html, just the products do not get listed $parameters = ['order' => $order, 'email' => &$email_order]; echo $GLOBALS['OSCOM_Hooks']->call('siteWide', 'orderMail', $parameters); //tep_mail($order->customer['name'], $order->customer['email_address'], MODULE_NOTIFICATIONS_CHECKOUT_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); //*******start mail manager****************// if (file_exists('includes/modules/mail_manager/order_confirm.php')){ include('includes/modules/mail_manager/order_confirm.php'); }else{ tep_mail($order->customer['name'], $order->customer['email_address'], MODULE_NOTIFICATIONS_CHECKOUT_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } //*******end mail manager*****************// In the Mail Manager file includes/modules/mail_manager/order_confirm.php the code is : <?php /* order_confirm.php, 2011 mail manager for oscommerce Copyright (c) 2011 Niora http://www.css-oscommerce.com Released under the GNU General Public License */ //get status of mail manager create account email $mail_manager_status_query = tep_db_query("select status, template, htmlcontent, txtcontent from mm_responsemail where mail_id = '1'"); $mail_manager_status = tep_db_fetch_array($mail_manager_status_query); //default to tep_mail if order_confirm mailpiece inactived in admin if (isset($mail_manager_status['status']) && ($mail_manager_status['status'] == '1')) { // create the order totals variable foreach ($GLOBALS['order_totals'] as $order_total) { $mm_ordertotal .= strip_tags($order_total[$i]['title']) . ' ' . strip_tags($order_total['text']) . "\n".'<br/ >'; } //retrieve html and txt headers $header_query = tep_db_query("select htmlheader, htmlfooter, txtheader, txtfooter from mm_templates where title = '".$mail_manager_status['template']."'"); $header = tep_db_fetch_array($header_query); //build email $output_content_html = $header['htmlheader'].$mail_manager_status['htmlcontent'].$header['htmlfooter']; $output_content_txt = $header['txtheader'].$mail_manager_status['txtcontent'].$header['txtfooter']; $output_subject = EMAIL_TEXT_CONFIRM.STORE_NAME; //define values for placeholder variables $order_no = EMAIL_TEXT_ORDER_NUMBER . ' ' . $order->get_id(); $order_date = EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG); $invoice_url = EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link('account_history_info.php', 'order_id=' . $order->get_id(), 'SSL', false); $billing_address = $customer->make_address_label($billto, 0, '', '<br />'); $delivery_address = $customer->make_address_label($sendto, 0, '', '<br />'); $telephone = EMAIL_TEXT_TELEPHONE . ' ' . $order->customer['telephone']; $email = EMAIL_TEXT_EMAIL_ADDRESS . ' ' . $order->customer['email_address']; $order_comments = EMAIL_TEXT_COMMENTS . ' ' . $order->info['comments']; $paymentmethod = $order->info['payment_method']; $ccardtype = $order->info['cc_type']; $payment_class = $payment_class->email_footer; //define placeholders $placeholders= ['$storeurl','$storename','$storeemail','$separator','$orderno','$orderdate','$invoiceurl','$productsorderedhead','$productsordered','$billingaddresshead','$billingaddress','$deliveryaddresshead','$deliveryaddress','$telephonehead','$telephone','$emailaddresshead','$email','$paymethodhead','$paymentmethod','$ccardtype','$ordercommentshead','$ordercomments','$totaltext','subtotaltext','$ordertotal']; $values= [HTTP_SERVER, STORE_NAME, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SEPARATOR, $order_no, $order_date, $invoice_url, EMAIL_TEXT_PRODUCTS, $products_ordered, EMAIL_TEXT_BILLING_ADDRESS, $billing_address, EMAIL_TEXT_DELIVERY_ADDRESS, $delivery_address, EMAIL_TEXT_TELEPHONE, $telephone, EMAIL_TEXT_EMAIL_ADDRESS, $email, EMAIL_TEXT_PAYMENT_METHOD, $paymentmethod, $ccardtype, $order_comments, EMAIL_TEXT_TOTAL, EMAIL_TEXT_SUBTOTAL, $mm_ordertotal]; $output_content_html=str_replace($placeholders, $values, $output_content_html); $output_content_txt=str_replace($placeholders, $values, $output_content_txt); //send email tep_mm_sendmail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $output_subject, $output_content_html, $output_content_txt); //send extra email to store owner tep_mm_sendmail($order->customer['firstname'] . ' ' . $order->customer['lastname'], STORE_OWNER_EMAIL_ADDRESS, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $output_subject, $output_content_html, $output_content_txt); //if mail manager status update email 'inactive' process normally via oscommerce }else{ tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } ?> The confirmation email sent looks like this (footer reduced so the image won't take up to much room to show here). As you can see the only thing missing are the products :
×