I intend to buy, but some issues? April 03, 2020, 10:27:11 PM OK, So I would like to build simple store, web based inventory DB, with POS, with add product, add to cart, add sale, something practical, calculating quantity, to be able to export few .pdf files, send to email, auto store issued docs and some other options... have downloaded trial 2.7.21st issue? I got this msg:trial software failed to startstring was not recognized as a valid DateTimesomething went wrong. please visit phprad.com for more info is it ok? 2nd issue:my understanding of php and JS is basic! Here I found a lot of functions and is hard to see hole picture Do you have more documentation for the structure? more details of the functions? 3th issue:search issue : so i have product table and category table, relation is made and so category_id, calls category_name in product.list why search option is not searching by category?4th:I have few good working script for add to cart and I'm submitting by link in product.list , so $_session[product_id] is made, but there is some delay, needs refresh.... may by due to form issue ... or my function_count_cart is not loading first time...question is : Are providing similar solutions for add to cart? or we should find our self how to solve? Do you have tutorial?Do you provide projects as simple store, simple inventory, invoice etc...?5th:export to word/pdf gives blank pages? why? Quote Selected
Re: I intend to buy, but some issues? Reply #1 – April 06, 2020, 01:31:37 AM @dobsun 1st issue? I got this msg:Provide a screenshot of the message.2nd issue:At the top of the phprad app, you will see a View Helper with a list of variables/functions and their explanations.3th issue:Because of issues encountered in previous versions of phprad due to search on a master-details page.4th:Not clear enough.5th:From my end everything works fine please make sure the page you are exporting contains data and that you are using default settings to make sure the issue is not with your export configuration. Quote Selected
Re: I intend to buy, but some issues? Reply #2 – April 06, 2020, 01:42:39 PM @wilvin1# see attached2# I saw that, ok3# So how to search, in both tables then? combined table?4# I want to make function_add_ to_document by session to submit information from different tables like: company_table(name,adress,email) , condition_table(case1,case2...n), product_table(prod_1,prod_2...n), partner_table(name,info,etc) and so that info will go to form_page by button "add" right next to view,edit,delete in list.php.question is : Do you have function for add to session like that or function_add_to_cart.... ?I just like to keep in the framework in order, to keep updating site in future...5# export to word/pdf give error see attached, excel is OK, csv gives monkeys for all Cyrillic... my BD_collation utf8_general_ci Quote Selected
Re: I intend to buy, but some issues? Reply #3 – April 06, 2020, 03:03:09 PM @dobsun 1# Go to C:\ProgramData\RadSystems\PHPRad\1.0.0.0\ and delete this files( PHPRadClassicDefaultSettings-2.7.1.bin and PHPRadClassicDefaultSettings.bin) if they exists and start the phprad app.3# please use the join configuration in list page properties to join tables and configure search on them.4# yes there is a function for it, if you read through the view helper you will see that there is a function called set_cookie($name,$value,$days=30), get_cookie($name)and clear_cookie($name) with their explanation on how to use it.5# follow this https://phprad.com/forum/index.php?topic=748.0 to solve the issue. Quote Selected Last Edit: April 06, 2020, 03:42:06 PM by willvin
Re: I intend to buy, but some issues? Reply #4 – April 06, 2020, 08:09:51 PM @wilvin1#after delete file PHPRadClassicDefaultSettings-2.7.1.bin come back over and over... /I will manage with that ...will see logs,services, reinstall.../3#ok4#ok5# I will look on that, but not sure will work, as Cyrillic here came from mysql_db, not from language.iniThank you !BR,Dobrin Quote Selected
Re: I intend to buy, but some issues? Reply #5 – April 06, 2020, 08:37:18 PM 5# NO export to pdf/doc in Cyrillic is not solved by language.ini ... see attached....is there so restrictions as allowed_charset? Quote Selected Last Edit: April 06, 2020, 08:49:40 PM by dobsun
Re: I intend to buy, but some issues? Reply #6 – April 07, 2020, 12:41:57 PM @dobsun please use an external browser to test for the error Quote Selected
Re: I intend to buy, but some issues? Reply #7 – April 07, 2020, 10:32:47 PM @wilvinhi,the aim of my project is to issue documents, so pdf export is key for mepdf export is working fine in english/latin but not in Cyrillic?I have try to identify where to look and few possible problems:#browsers - same story, all browsers give same error#collation - I have try that: changing collation in the db, but no...#php version - 7.4.1. all looks fine for me #font issue - ? what font uses, are they Cyrillic compatible? where to look#report_layout.php - Maybe the key is here? - I wrote some Cyrillic manually ... for test: there was no error, but pdf was with monkey on that place? css?#maybe we should look in Warning msg: DOMDocumentFragment::appendXML(), Warning: DOMNode::appendChild()....https://stackoverflow.com/questions/4645738/domdocument-appendxml-with-special-characters - some talks about...I've study your code to find a way, but to complex for me, I'm lost Quote Selected
Re: I intend to buy, but some issues? Reply #8 – April 08, 2020, 11:21:43 AM @dobsun thanks for the info, I will pass it across to the dev team.But first, do the following and let me know how it goes.open this file system/BaseView.php with a code editor, locate line 743, you should see the following:Code: [Select]$fragment->appendXML($html);replace it with this:Code: [Select]$fragment->nodeValue = $html; Quote Selected Last Edit: April 08, 2020, 11:31:19 AM by willvin
Re: I intend to buy, but some issues? Reply #9 – April 08, 2020, 03:09:46 PM @willvin nodeValue - not working for both English and cyrI'm almost sure it is a font problem, but I don't know how to import Cyrillic font in dompdfhttps://stackoverflow.com/questions/27780035/itextpdf-html-to-pdf-containing-cyrillic-lettersI seeking for arial cyrillic and so: here is working link: https://code.google.com/archive/p/ipwn/downloadshttps://stackoverflow.com/questions/990181/dompdf-problem-with-cyrillic-charactershttp://fabrikar.com/forums/index.php?threads/fatal-error-class-dompdf-options.47068/#post-243961 how to import? I saw the folder, but is not simple copy in...Strange is that, it is the same problem for *.doc Quote Selected Last Edit: April 09, 2020, 01:53:24 PM by dobsun
Re: I intend to buy, but some issues? Reply #10 – April 09, 2020, 08:19:46 PM @dobsun Following the second answer from here https://stackoverflow.com/questions/990181/dompdf-problem-with-cyrillic-characters, add this codeCode: [Select]body { font-family: DejaVu Sans; } to your custom css and preview.If you want to follow the steps stated here https://stackoverflow.com/questions/990181/dompdf-problem-with-cyrillic-characters, this is where you can locate the DOMPDF folder in phprad vendor\dompdf\dompdf. Quote Selected
Re: I intend to buy, but some issues? Reply #11 – April 09, 2020, 10:45:03 PM @wilvinhi,yes, I try dejavu sans in report_layout.php... not working, modify css in dompdf -not workingI'm lost !For testing I create ppm with two tables alphabet english and bulgarian see attachedexport to pdf english is OK, bulgarian is not Quote Selected
Re: I intend to buy, but some issues? Reply #12 – April 14, 2020, 09:46:54 PM @wilvinHi,little success !in report_layout.php<meta http-equiv="content-type" content="text/html; charset=utf-8">in .htaccessAddDefaultCharset UTF-8export to word document is working perfect!export to pdf document is working, at least no errors, but we have ? ? ? ? ? ? instead of cyrillic !help me find a solution for that? Quote Selected
Re: I intend to buy, but some issues? Reply #13 – April 15, 2020, 08:45:38 AM @dobsun I will look into that and get back to you. Quote Selected
Re: I intend to buy, but some issues? Reply #14 – April 15, 2020, 09:37:09 AM @willvinfixed, finally ! I was trying with DejaVu Sans before then with Arial so when I back to DejaVu Sans it worked!If other have similar issue ? ? ? ? ? ? instead of cyrillic or empty pages or Warning msg: DOMDocumentFragment::appendXML(), Warning: DOMNode::appendChild()....when exporting to PDF/WORD, please do the following:find report_layout.phpput that in head:<meta http-equiv="content-type" content="text/html; charset=utf-8">in <style> find font-family and change to:font-family: DejaVu Sans;If your Apache is not accessible put/change this in: .htaccessAddDefaultCharset UTF-8Take care! Quote Selected Last Edit: April 15, 2020, 09:40:21 AM by dobsun 1 Likes