dishadcruze Posted January 11, 2017 Share Posted January 11, 2017 I am working as freelancer and have gotten a project to customize a opensource called phreebooks for a client. My client wants to rename 3 modules such as phreebook, phreeform and phreedom as finance, report and company. I am successfully done with the two modules phreebook to finance and phreedom to company. But after changing phreeform module to report, the print option is not working. Here is the screenshot of the pop-up page where the print option comes. If you have seen phreebooks earlier, there should be a tab 'Criteria' which is missing after renamed the module. In error log it says : Company: phree RUN-TIME WARNING: 'Creating default object from empty value' line 51 in file F:\wamp\www\phree\modules\report\pages\popup_gen\pre_process.php if (isset($_GET['xfld'])) { // check for extra filters if (isset($_GET['xfld'])) $report->xfilterlist[0]->fieldname = $_GET['xfld']; if (isset($_GET['xcr'])) $report->xfilterlist[0]->default = $_GET['xcr']; if (isset($_GET['xmin'])) $report->xfilterlist[0]->min_val = $_GET['xmin']; if (isset($_GET['xmax'])) $report->xfilterlist[0]->max_val = $_GET['xmax']; // line no 51 } I am not getting what went wrong and where. I mean what may be the missing links here? Can somebody help me out? Quote Link to comment https://forums.phpfreaks.com/topic/302910-module-name-changing-causes-broken-link-in-phreebook/ Share on other sites More sharing options...
Destramic Posted January 11, 2017 Share Posted January 11, 2017 Check $_GET['xmax'] value as i would say it's empty Quote Link to comment https://forums.phpfreaks.com/topic/302910-module-name-changing-causes-broken-link-in-phreebook/#findComment-1541280 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.