Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default var-type undefined: stringIgnoreNull(Daniel) - Account Edit

    Hi
    Getting this var-type undefined: stringIgnoreNull(Daniel) , on account edit page trying to update some info.

    There's no log report on this one..... javascript ?

    Thanks
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  2. #2
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: var-type undefined: stringIgnoreNull(Daniel) - Account Edit

    I have rewards points on this page.... but not sure what should I be looking
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  3. #3
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: var-type undefined: stringIgnoreNull(Daniel) - Account Edit

    And also happening in address_book_process .........
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  4. #4
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: var-type undefined: stringIgnoreNull(Daniel) - Account Edit

    ok, I've narrow down the issue to this type stringIgnoreNull
    If I change all this :
    $sql_data_array = array(array('fieldName'=>'customers_firstname', 'value'=>$firstname, 'type'=>'stringIgnoreNull'),

    to this :

    $sql_data_array = array(array('fieldName'=>'customers_firstname', 'value'=>$firstname, 'type'=>'string'),


    Life is much better.
    But I guess, this is here for a reason. So where could this error coming from ? php, mysql version ?
    Using php5.6.15 , mysql mysqlnd 5.0.11...

    Thanks
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  5. #5
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: var-type undefined: stringIgnoreNull(Daniel) - Account Edit

    Where is this code from? Looks like information possibly related to ZC 1.5.5a or the recent sanitization software that should be installed/incorporated into ZC 1.5.x.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: var-type undefined: stringIgnoreNull(Daniel) - Account Edit

    Hi
    I just found out, but yes, probably that's it... I've check the lasted download package and compare it and
    I had no

    Code:
    case 'stringIgnoreNull':
            return '\'' . $this->prepare_input($value) . '\'';
            break;

    in query_factor.php .
    I've downloaded the last update that you've mentioned... but there was no change on this file... Or probably I've updated to 155a and miss this file ( and hopefully, nothing else )
    It's working now !

    Thanks
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  7. #7
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: var-type undefined: stringIgnoreNull(Daniel) - Account Edit

    But looking at the docs folder changed_files-v1-5-5.html, I see no changes reported to this file...
    But no one has reported this.... so I guess it's a matter of karma :)
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  8. #8
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: var-type undefined: stringIgnoreNull(Daniel) - Account Edit

    1. To help others that come along this thread, could you please identify what version of ZC you are/were using when this issue arose?
    2. You said something about 1.5.5 and some sort of file comparison, but how did the version of ZC you are using come to be?
    3. Was this an upgrade?
    4. Is/was this happening with your ZC base code or was it in relation to a plugin?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: var-type undefined: stringIgnoreNull(Daniel) - Account Edit

    It's possible that the query_factory file might not have been listed in the docs as one of the changed files. But it definitely was changed!

  10. #10
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: var-type undefined: stringIgnoreNull(Daniel) - Account Edit

    Quote Originally Posted by mc12345678 View Post
    1. To help others that come along this thread, could you please identify what version of ZC you are/were using when this issue arose?
    2. You said something about 1.5.5 and some sort of file comparison, but how did the version of ZC you are using come to be?
    3. Was this an upgrade?
    4. Is/was this happening with your ZC base code or was it in relation to a plugin?
    My current version is 155a

    I started with v155
    Looking at the original files from 155, this type stringIgnoreNull is not there in \includes\classes\db\mysql\query_factor.php

    So it has been added on update 155a.
    But it was not mentioned in the changed files docs that I followed when I updated to 155a... so... error.

    This type stringIgnoreNull is use around 5 files, related to customers, accounts edits, etc...

    So it's better to "reupload" the query_factor.php from 155a... in case one gets this error.

    I think I've express my self very badly :)
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Product Type - Fatal error: Call to undefined function
    By DeeR in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 17 May 2010, 03:57 AM
  2. New Product type - typefilter url var results in blank page
    By GuitsBoy in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 24 Dec 2007, 09:33 PM
  3. Edit/Update Account Doesn't Work after Adding a new Account Field
    By webomat in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 19 Apr 2007, 04:51 AM
  4. Replies: 1
    Last Post: 8 Nov 2006, 12:41 AM
  5. Replies: 2
    Last Post: 19 Aug 2006, 09:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg