Jump to content
Sign in to follow this  
dishadcruze

Module name changing causes broken link in phreebook

Recommended Posts

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.

 

post-203240-0-48658100-1484146858_thumb.png

 

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?
 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.