Jump to content

piyushkeshri

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Location
    India
  • Activity
    Developer

piyushkeshri's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I eventually decided to create a fresh installation, overriding the theme and copying other override files. Fresh installation fixed the issue.
  2. 1-click auto-upgrade from 1.6.1.11 --> 1.6.1.13 failed. Server showing HTTP 500 error and cgi_log file shows the following fatal error. PHP Fatal error: Class 'Core_Business_ContainerBuilder' not found in /config/bootstrap.php on line 27 I removed cache/class_index.php but didn't help. I reverted manually to before upgrade admin, config folder(s) but no affect. I went through couple of other suggestions on this thread, however, issue still remains :-| Will really appreciate any pointers. Regards, Piyush
  3. Recently I downloaded fresh copy of prestashop and replaced my smarty folder with the fresh one. It seems to be working pretty seamlessly. I haven't dig deeper to figure out the reason though,
  4. I have the same issue and it is really irritating to work on localhost and keep refreshing every time if smarty doesn't compile the template. I removed the cache folder and created the new one but the problem always persist and it is very intermittent.
  5. Hi, I am using latest prestashop version PS 1.5.14. I am not able to receive Order Confirmation email on the customer side after placing order. It seems following code inside PaymentModule.php is not able to create a valid pdf that is not able to get attached. $pdf = new PDF($order->getInvoicesCollection(), PDF::TEMPLATE_INVOICE, $this->context->smarty); $file_attachement['content'] = $pdf->render(false); $file_attachement['name'] = Configuration::get('PS_INVOICE_PREFIX', (int)$order->id_lang, null, $order->id_shop).sprintf('%06d', $order->invoice_number).'.pdf'; $file_attachement['mime'] = 'application/pdf'; However, when I change the following line of code, I am able to receive Order Confirmation email but the attached pdf is corrupt. $file_attachement['content'] = $pdf->render(); Anyone having any idea how to resolve the issue? I tried going through following posts but didn't have a luck. https://www.prestashop.com/forums/topic/75045-attachments-to-e-mails/page-2 https://www.prestashop.com/forums/topic/226737-attach-pdf-on-emails/ https://www.prestashop.com/forums/topic/623[spam-filter]invoice-pdfs-not-being-emailed/ https://www.prestashop.com/forums/topic/199655-why-my-invoices-are-not-attached-to-mails/page-2
×
×
  • Create New...