Page 1 of 2 12 LastLast
Results 1 to 10 of 3673

Hybrid View

  1. #1
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by JNR345 View Post
    I, too, am getting a blank page with Easy Populate with 1.5.8. The error message I get is as follows:

    --> PHP Fatal error: Uncaught Error: Cannot access private property queryFactory::$link in /home/public_html/test/admin/includes/functions/extra_functions/easypopulate_4_functions.php:625

    Thanks for any help.
    Yeah basically in the class declaration for asking the database to do something, one of the variables has been made private and no helper function has been provided for the variable declared at the following link.

    https://github.com/zencart/zencart/b...actory.php#L22

    Could possibly apply the following untested change:

    From
    Code:
        private $link; // mysqli object
    To
    Code:
        public $link; // mysqli object
    That again is to modify the catalog file: includes/classes/db/mysql/query_factory.php

    Will generate a github issue after further evaluation of the situation. Obviously there are other ways to interface with the Zen Cart code which could include development or copying of the same class file for use with EP4, rewrite of EP4 code, additional code in the Zen Cart core code or perhaps the above change.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #2
    Join Date
    Nov 2013
    Location
    USA
    Posts
    52
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Thank you! That did the trick. Easy Populate works great now. I really appreciate the quick response.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by JNR345 View Post
    Thank you! That did the trick. Easy Populate works great now. I really appreciate the quick response.
    The log data helped. Before posting my proposed solution I looked through the history of that change and it almost looks like it was at to private or rather remained private because no core code accessed that class member from outside the class. Glad that it resolved that issue though.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by mc12345678 View Post
    Yeah basically in the class declaration for asking the database to do something, one of the variables has been made private and no helper function has been provided for the variable declared at the following link.

    https://github.com/zencart/zencart/b...actory.php#L22

    Could possibly apply the following untested change:

    From
    Code:
        private $link; // mysqli object
    To
    Code:
        public $link; // mysqli object
    That again is to modify the catalog file: includes/classes/db/mysql/query_factory.php

    Will generate a github issue after further evaluation of the situation. Obviously there are other ways to interface with the Zen Cart code which could include development or copying of the same class file for use with EP4, rewrite of EP4 code, additional code in the Zen Cart core code or perhaps the above change.
    For those that may have had interest in the "detail" of the above, an issue was opened on the Zen Cart Github site with the above offered as a solution that was incorporated and is expected in Zen Cart 1.5.8a or whatever next Zen Cart release. For further understanding of the issue, may I suggest reading some of the PR "background" related to the proposed change.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jul 2009
    Posts
    126
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by mc12345678 View Post
    For those that may have had interest in the "detail" of the above, an issue was opened on the Zen Cart Github site with the above offered as a solution that was incorporated and is expected in Zen Cart 1.5.8a or whatever next Zen Cart release. For further understanding of the issue, may I suggest reading some of the PR "background" related to the proposed change.

    Dear mc12345678

    I'm just finding it hard to read. my dyslexia comes running to me like a little child ...
    i know you all do so much to get / keep it all up to date... but reading in english is not so my best subject
    Eugénie

  6. #6
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by kernheimer View Post
    Dear mc12345678

    I'm just finding it hard to read. my dyslexia comes running to me like a little child ...
    i know you all do so much to get / keep it all up to date... but reading in english is not so my best subject
    Eugénie
    Understand. For confirmation are you able to tell the difference between red and green? The code change to the Zen Cart 1.5 8 software needed for operation is at this link: https://github.com/zencart/zencart/pull/5486/files

    The first highlighted text is red and has a dash of negative sign on the left side. That is what is the "problem" below that is green text with a plus. That is the code needed.

    I can describe differently if still request.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Sep 2016
    Location
    Dallas, TX USA
    Posts
    71
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Friends, I'm using version v1.5.5e. (yeah, I know...) but I have like 50 sites and upgrading is going to be a massive undertaking, so I'm still there. Until a few days ago, this mod worked perfectly, has worked perfectly for years. Now I'm getting this error each time I choose "easy populate 4" from my tools menu:

    Click image for larger version. 

Name:	Screen Shot 2023-02-02 at 6.43.56 AM.jpg 
Views:	692 
Size:	24.5 KB 
ID:	20202

    Any ideas what may have changed on my hosting server perhaps? This behavior is consistent across ALL of my sites, and has been this way for several days. Everything else is working fine on the site.

  8. #8
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by cindygordon View Post
    Friends, I'm using version v1.5.5e. (yeah, I know...) but I have like 50 sites and upgrading is going to be a massive undertaking, so I'm still there. Until a few days ago, this mod worked perfectly, has worked perfectly for years. Now I'm getting this error each time I choose "easy populate 4" from my tools menu:

    Click image for larger version. 

Name:	Screen Shot 2023-02-02 at 6.43.56 AM.jpg 
Views:	692 
Size:	24.5 KB 
ID:	20202

    Any ideas what may have changed on my hosting server perhaps? This behavior is consistent across ALL of my sites, and has been this way for several days. Everything else is working fine on the site.
    Check, or ask you host to check, modsecurity rules. They have have been updated. A 503 error will happen if modsecurity is blocking the action. There are, of course, many other reasons for a 503, but I have seen this happen.

  9. #9
    Join Date
    Sep 2016
    Location
    Dallas, TX USA
    Posts
    71
    Plugin Contributions
    0

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by jeking View Post
    Check, or ask you host to check, modsecurity rules. They have have been updated. A 503 error will happen if modsecurity is blocking the action. There are, of course, many other reasons for a 503, but I have seen this happen.
    Thank you, I'll check w/ godaddy.

  10. #10
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: EasyPopulate 4.0 Support Thread

    Quote Originally Posted by cindygordon View Post
    Friends, I'm using version v1.5.5e. (yeah, I know...) but I have like 50 sites and upgrading is going to be a massive undertaking, so I'm still there. Until a few days ago, this mod worked perfectly, has worked perfectly for years. Now I'm getting this error each time I choose "easy populate 4" from my tools menu:

    Click image for larger version. 

Name:	Screen Shot 2023-02-02 at 6.43.56 AM.jpg 
Views:	692 
Size:	24.5 KB 
ID:	20202

    Any ideas what may have changed on my hosting server perhaps? This behavior is consistent across ALL of my sites, and has been this way for several days. Everything else is working fine on the site.
    Check your logs directory to see what if any debug logs were generated while attempting access. If posting the content here, remember that the admin directory will be present and should be obscured.

    Also, if the housing company for all sites is the same, they may be having a particular issue besides s what was previously suggested.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. BackUp ZC [Support Thread]
    By skipwater in forum All Other Contributions/Addons
    Replies: 285
    Last Post: 23 Dec 2020, 10:40 AM
  3. Wordpress On ZC [Support Thread]
    By hira in forum All Other Contributions/Addons
    Replies: 1858
    Last Post: 17 Jan 2014, 01:24 AM
  4. ZJ Black 2 support thread
    By Liamv in forum Addon Templates
    Replies: 1
    Last Post: 15 Feb 2010, 02:53 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