• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

user parameter to avoid big join SQL

Dear all,
I have a strange question, please share with me a solution if the scenario is mentioned below:
+ I have a table to keep identification of a product box (Box name).
+ I need to print a list of these product box with some more data relating to those product box like: produced date package ID, storage, producer are the same for every record.
+ Normally, I can make the join list with product_id and combining with other details for printing out product box label tags using dompdf to export, product box code are rendered as QR-code.
+ However, dompdf will fail in producing a list with more than 50 records (50 QR-codes to be rendered at one click).
+ Using wget to find out problem I received just internal error message
HTTP request sent, awaiting response... 500 Internal Server Error
2018-07-05 22:01:58 ERROR 500: Internal Server Error.
and no qr-code was made.
I doubt this happened due to the time that dompdf is waiting for server to render Qr-code was too long.
I tested a similar case with QR for direct table without joining SQL and this time pdf was created correctly.
Therefore, I would like to ask your guidance on whether:
+ I will make a first set of general data for each product and then will be used for tag-printing by just call them in a form of a parameters like [[product name]], [[produced date.]]..
and the QR-code field will just take the data from a single SQL Select * from product_list where pakage_id =[id]
THis will help dompdf to work.
thank you very much for your advice
Dang Dinh Ngoc.

show case can be found here
https://nongnghiep.caobang.gov.vn/q...etListRefFromRequest=1&listref=5_com_fabrik_5
l for successful creation of labels
and the following link is for unstable creation of product label with big join table to show additional bits of details.

https://nongnghiep.caobang.gov.vn/g...etListRefFromRequest=1&listref=1_com_fabrik_1
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top