Laravel dompdf report using table html - dompdf

I tried to create a report PDF using HTML tables, but get an error like this.
The row #36 could not be found, please file an issue in the tracker with the HTML code
Does anyone else know about this problem?

Related

View in codeigniter loading plain html tags

my view is just displying html tags but cannot render. it was working fine till yesterday but i dont know what is wrong here. I have tried to fix it but couldnt. checked all the httpd conf file and php ini file but still could not get anything.
this is my login page view
To load a particular view file you will use the following method
$this->load->view('file_name');

How to view foreign language(i.e. Bangla) characters in Laravel?

I am trying to build an admin panel with Laravel framework for a website that is going to be in Bengali language. I can write Bangla fonts in my mysql database quite fine and when I insert directly into the database the fonts are displayed fine but when I try to insert Bangla from the panel and try to see the output through my laravel controllers, the fonts are not displayed. Can anyone give me a solution?enter image description here
This is where I am trying to add a category name in Bangla. You can see the font working well here. I am using Avro Keyboard for inserting Bangla. But when I try to display it, it is displayed like this
enter image description here
You can see that Bangla fonts are not working properly. Now this happens only when I am using laravel. I have inserted Bangla directly into mysql database in xampp but then it works fine.
$category->category_name = ucwords(strtolower($request->category_name));
This is the code I'm using in my controller to insert the category name.
I am using php 7 and database collation is utf8_general_ci. I am also using this meta tag <meta charset="utf-8"> in my site's head section. Now could anyone please provide me a solution? It would be greatly appreciated. Thanks.
I have found the problem. In my controller I was using strtolower() and ucwords() when inserting the category name. That's what was causing the problem.

How can I get Javascript results to show up in the Order Review section of the Onepage Checkout?

Hello I'm having trouble getting <script type="text/javascript"></script> display in the template/checkout/onepage/review/review.phtml or even the template/checkout/onepage/review/info.phtml. In fact the only place I can get a script tag to display is in the template/checkout/onepage/onepage.phtml.
Can anyone explain to me what I can do to get script tags to show up in the Order Review section? I need to add these scripts so I can tag orders for tracking.
Thanks in advance!
Magento will not strip out script tags so it is quite possible that you are editing the wrong template. Turn on template path hints to get the right file then insert the script tag.
Your template must have been overriden by some other modules template files.
BTW script tags are not written in template files. This causes many issues some of which I have personally faced
Include script tag in layout.xml using addJs in head or footer reference
But if you still want to include script in js see the current template file from the template path shown by fkim

Magento Orders->Google Sitemap ... since recently a blank page?

Magento Orders->Google Sitemap ... since recently a blank page?!!!!
Hi since some weeks our sitemap page via Magento Orders->Google Sitemap is empty. Nada! Just a simple white page
This is very frustrating as we dont know how to resolve (and do need to recreate)
And when I click create new, this is the error (create new is the only button we see)
Fatal error: Call to a member function getIdFieldName() on a non-object in /public_html/app/code/core/Mage/Core/Model/Abstract.php on line 151
Where do we start to investigate?
Do I need to clean some table?
And I dont understand why this suddenly is a new error
The problem was a faulty bracket not closing in config.xml

Need help finding a specific Magento Javascript file

I'm hoping that someone in this forum can help with finding a specific JavaScript file in a Magento shopping cart.
I'm working on fixing SSL non secure items messages and I've found and fixed all of them except for one.
The image I'm looking for is called "pager_arrow_right.gif" and it's on a customer account page generated from:
app\design\frontend\default\our_theme\template\sales\order\history.phtml
The image src code is not in this file though, it looks like the image src is in a JavaScript file generated from that history.phtml file:
<script type="text/javascript">decorateTable('my-orders-table')</script>
Does anyone have any idea where the JavaScript file for the above code is located?
I just can't seem to find it..
Thank You !!
Janet
The function decorateTable is in js/varien/js.js but it only applies some class names. Normally that image is used in pagers for collections. The line following your javascript is:
<?php echo $this->getPagerHtml(); ?>
...which seems more relevant. Look at the file template/page/html/pager.phtml instead.

Resources