Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

unica e-shop

Members
  • Content Count

    80
  • Joined

  • Last visited

  • Days Won

    1

unica e-shop last won the day on April 28 2019

unica e-shop had the most liked content!

Community Reputation

10 Good

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. That did work, thank you both for your great help :), i did use your consistency check and it doesn't show any error.
  2. I did that and now it says: ThirtyBeesException Call to undefined method HTMLTemplateInvoice::assignData() in file override/classes/pdf/PDF.php at line 62 Source file: override/classes/pdf/PDF.php 43: if($customer_group){ 44: $_id_template = (int)Configuration::get('GWADVANCEDINVOICE_GROUP_'.$customer_group, null, $id_shop_group, $id_shop); 45: if($_id_template > 0) $id_template = (int)$_id_template; 46: } 47: }elseif($templatetype == 'HTMLTemplateDeliverySlip'){ 48: 49: $id_template = (int)Configuration::get('GWADVANCEDDELIVERY_TEMPLATE', null, $id_shop_group, $id_shop); 50: $order = new Order((int)$object->id_order); 51: $customer_group = Customer::getDefaultGroupId((int)$order->id_customer); 52: if($customer_group){ 53: $_id_template = (int)Configuration::get('GWADVANCEDIDELIVERY_GROUP_'.$customer_group, null, $id_shop_group, $id_shop); 54: if($_id_template > 0) $id_template = (int)$_id_template; 55: } 56: } 57: include_once(_PS_MODULE_DIR_.'/gwadvancedinvoice/model/gwadvancedinvoicetemplateModel.php'); 58: $templateinvoice = new gwadvancedinvoicetemplateModel((int)$id_template); 59: if(Validate::isLoadedObject($templateinvoice)){ 60: $this->pdf_renderer->AddPage(); 61: $this->pdf_renderer->setCurOrientation($templateinvoice->pagesize,$templateinvoice->pageorientation); 62: $data = $template->assignData($id_template); 63: 64: if($templateinvoice->rtl){ 65: $this->pdf_renderer->setRTL((bool)$templateinvoice->rtl); 66: } 67: 68: if($templateinvoice->activeheader){ 69: $this->pdf_renderer->SetPrintHeader(true); 70: $this->pdf_renderer->createHeader($template->getHeaderGw($data)); 71: }else{ 72: $this->pdf_renderer->createHeader(''); Stack trace
  3. hmm ya that module does say me some thing, and correctly i am not using it instead i use: Advanced Invoice Builder, So is there any solution to it?
  4. Hi, When i create an order from backoffice, it dosent send email to the costumer and shows the following error: Class 'QRCodeLib' not found in file override/classes/pdf/HTMLTemplateInvoice.php at line 285 Source file: override/classes/pdf/HTMLTemplateInvoice.php 266: $description_short = strip_tags($product->description_short); 267: if (Tools::strlen($description_short) > 90) { 268: $stringCut = Tools::substr($description_short, 0, 90); 269: $description_short = Tools::substr($stringCut, 0, strrpos($stringCut, ' ')).'...'; 270: } 271: $order_detail['description_short'] = $description_short; 272: $order_detail['barcode'] = ''; 273: $code = $template->barcodeproductformat; 274: $text = ''; 275: if($code == 'product_link'){ 276: $text = $product->getLink();//urlencode($product->getLink()); 277: }else{ 278: $text = urlencode($order_detail[$code]); 279: } 280: $filename = md5($template->barcodeproducttype.'_'.$text).'.png'; 281: if(!Tools::file_exists_no_cache(_PS_MODULE_DIR_.'gwadvancedinvoice/views/img/barcodes/'.$filename)){ 282: if($template->barcodeproducttype == 'qrcode'){ 283: $ecc = 0; 284: if($code == 'product_link') $ecc = 1; 285: $qrcodeObj = new QRCodeLib($text,$ecc); 286: $im = $qrcodeObj->createImage(4,2); 287: imagepng($im,_PS_MODULE_DIR_.'gwadvancedinvoice/views/img/barcodes/'.$filename); 288: }else{ 289: $bacodeObj = new Barcode($text,$template->barcodeproducttype); 290: $bacodeObj->getBarcodePNG(_PS_MODULE_DIR_.'gwadvancedinvoice/views/img/barcodes/'.$filename,2,35,array(0,0,0)); 291: } 292: } 293: if(Tools::file_exists_no_cache(_PS_MODULE_DIR_.'gwadvancedinvoice/views/img/barcodes/'.$filename)){ 294: $order_detail['barcode'] = '<img src="'.$base_url.'modules/gwadvancedinvoice/views/img/barcodes/'.$filename.'"/>'; Do you have any solution for it? Thank you.
  5. @Traumflug Thank you for your reply, anyway i found out a solution now. Please mark it as solved 🙂
  6. Thank you both for your answer, @wartin i tried it but it doesn't have any effect, but what i dont understand is why the frontend changed to look complty messed up: www.unicadesign.dk @Traumflug I wanted to change the main domain name from unicae-design.dk to unicadesign.dk so that the old url would redirect to the new url, for that i had to go through all as i understood it.
  7. @Wartin Thank you very much, i tried up to nr. 4, but now i cant access the backend of the older domian, as it refuse to accept my password, and when i click on send by email nothing happens Also when i when i type in the old domain url it redirects to the new domain, but looks very messy: www.unicae-design.dk (old domain) -> www.unicadesign.dk (new domain url) and another strange things is that when i change the shop url via SQL on the database it automatically changes on the other SQL database, i have checked settings.inc.php for both and they are correct, meaning that they are not pointing on the same SQL database but different ones
  8. @Wartin Thank you for your reply, let me try to explain: I have a webshop with the domain www.unicae-design.dk that is hosted on simply.com, then i decided to change the domain to one that is easier therefor i bought another domain, without any hosting: www.unicadesign.dk (I only bought the domian name/adress/Url). Now to change the old domain for the shop to the new i had to buy another webspace/hosting on the same host, so when i did that i then copied all the files from the old domain map to the new domain map, so i know have 2 website hosted on there own seperat webspace, so now when i change the domain name in SEO 6 URL under preference from the backoffice in the old domain, the domian also changes on the new one, so when i try type the new url it then redirects me to the old domain. I know it is a bit unclear, but hopefully you understand me
  9. Does anybody know a solution?
  10. Hi, I have two url one wich is www.unicae-design.dk which is the original one and the second www.unicadesign.dk, both are hosted on there own webhotels, but when i change the URL in the SEO & URL section the shop url for both of them changes to one, how can i split these so there is no connection between these two? Thank you
  11. Hi it is working now, i dont know how, but i think it could be becouse of some module, Anyway @toplakd tank you very much for you help effort. Can you please mark it as solved.
  12. @toplakd How do i download it, as I cant see any download option
  13. @toplakd, Thank you for your reply, I did download the consistency module, and did apply all database schema fixes, but it still doesn't work, in chrome it just says error 500
  14. Isn't there any who know the solution?
  15. Hi all, When i am trying to access the CMS menu from my backoffice, the whole website goes white, nothing shows up, when i click refresh nothing happens, all the other menus does work, but not the CMS. I toggled on the bug-finding but that to doesn't give any information. I hope you can help me. Thx-
×
×
  • Create New...