Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Work Order Error?
01-12-2014, 10:39 PM,
#1
Work Order Error?
In weberp when i create a work order with a Batch number it display an error that is:

Fatal error: [] operator not supported for strings in /home/......My path....../WOSerialNos.php on line 208


But work Order completed. Please suggest me.

Thank you
Reply
01-13-2014, 07:40 AM,
#2
RE: Work Order Error?
I have seen this happening in 4.11.2 myself. Will look into it tomorrow.

Thanks
Tim
Reply
01-14-2014, 12:59 AM,
#3
RE: Work Order Error?
Ok, this is fairly easy to solve.

It is another of those problems where the developer didn't initialise the variable before using it. Allowed in PHP but not advisable. By setting error_reporting to be -1 in config.php developers can normally find these errors before committing.

Solution:

Insert

$sql = array();

at line 180 of WOSerialNos.php immediately below the line

$WOQuantityTotal=0;

Thanks
Tim
Reply
01-15-2014, 04:29 PM,
#4
RE: Work Order Error?
Perhaps I was witholding development :-)
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
01-15-2014, 07:35 PM,
#5
RE: Work Order Error?
(01-15-2014, 04:29 PM)phil Wrote: Perhaps I was witholding development :-)

Entirely up to you of course, but being open source its probably best not to withhold development?
Reply
01-15-2014, 08:48 PM,
#6
RE: Work Order Error?
(01-15-2014, 07:35 PM)Forums Wrote:
(01-15-2014, 04:29 PM)phil Wrote: Perhaps I was witholding development :-)

Entirely up to you of course, but being open source its probably best not to withhold development?

Phil Sir what happen why you withhold development?
Reply
01-16-2014, 03:26 AM,
#7
RE: Work Order Error?
I was joking of course. I gave webERP to the GPL and will continue to support it as long as I enjoy doing so.
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
01-16-2014, 03:42 AM,
#8
RE: Work Order Error?
(01-16-2014, 03:26 AM)phil Wrote: I gave webERP to the GPL

As did all the rest of the contributors Smile
Reply
01-19-2014, 11:31 PM,
#9
RE: Work Order Error?
I have had to remind you before Phil, that you must remember that the webERP community contains people of many different cultures, and many different languages. Sarcasm rarely works in a language that is not your first (to be honest it's not the greatest way of expressing yourself in any language), and what you might intend as banter or sarcasm can be misunderstood or considered hurtful by people of other cultures or languages.
Reply
01-24-2014, 05:38 PM,
#10
RE: Work Order Error?
I have used WebErp for a while and I find a very
useful software.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)