Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create Product
#9
Ok, lets take it step by step.


First, I need the name of the changeset that is failing, The filename or classname because the number is dynamic and changes in each install.

Second, I have no idea why you are getting that warning. The easy solution is to set your PHP error_reporting directive to E_ERROR, but ideally we should push forward and find out why the warning is appearing and fix it. If you would like to help me find out what is happening add the "var_dump" command I show in the next patch. If that is to complicated then just set the error_reporting to E_ERROR.


Code:
diff --git a/data/CRMEntity.php b/data/CRMEntity.php

index e21e313..f787531 100755
--- a/data/CRMEntity.php
+++ b/data/CRMEntity.php
@@ -706,6 +706,7 @@ class CRMEntity {
                        $dbvals = $result = array();
                        foreach ($this->tab_name_index as $table_name => $index) {
                                $result = $adb->pquery("select * from $table_name where $index=?", array($this->id));
+                               var_dump($table_name,$index);
                                $flds = $adb->fetch_array($result);
                                $dbvals = array_merge($dbvals,$flds);
                        }

Finally, since we updated coreBOS to support PHP7 PDFMaker requires updating. The guys at ITS4You aren't interested, not even in picking up the work we are doing maintaining the module and distribute it. If you are using PDFMaker free you can download the coreBOS version from github, if you are using Profession, you will have to contact me directly so I can send you the updated code. Send me an email and I will send you the code.
Joe
TSolucio
Reply


Messages In This Thread
Create Product - mindkicker - 02-19-2017, 05:49 PM
RE: Create Product - joebordes - 02-19-2017, 06:04 PM
RE: Create Product - mindkicker - 02-19-2017, 07:33 PM
RE: Create Product - joebordes - 02-19-2017, 08:44 PM
RE: Create Product - mindkicker - 02-19-2017, 09:01 PM
RE: Create Product - joebordes - 02-19-2017, 10:03 PM
RE: Create Product - joebordes - 02-19-2017, 10:06 PM
RE: Create Product - mindkicker - 02-20-2017, 08:40 PM
RE: Create Product - joebordes - 02-20-2017, 09:34 PM
RE: Create Product - joebordes - 02-20-2017, 09:56 PM
RE: Create Product - mindkicker - 02-21-2017, 02:37 PM
RE: Create Product - mindkicker - 02-21-2017, 04:49 PM
RE: Create Product - joebordes - 02-21-2017, 10:14 PM
RE: Create Product - joebordes - 02-21-2017, 10:15 PM
RE: Create Product - mindkicker - 02-22-2017, 08:08 PM
RE: Create Product - joebordes - 02-23-2017, 12:22 AM
RE: Create Product - mindkicker - 02-23-2017, 09:11 PM
RE: Create Product - joebordes - 02-24-2017, 07:40 AM
RE: Create Product - joebordes - 02-24-2017, 07:42 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)