Search:

Type: Posts; User: mikeel100

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    34
    Views
    1,272

    Re: 1.5.6 > 1.5.7 define constants going crazy?

    I uninstalled DisplayLogs from admin/modules/plugin_manager and ran through download, clean, update, resize images, move products and switched to several other admin tools and settings WITHOUT any...
  2. Replies
    34
    Views
    1,272

    Re: 1.5.6 > 1.5.7 define constants going crazy?

    It did only show up once at the beginning.

    I will enable $debugAutoload in includes/autoload_func.php.

    Not sure what to look for...this popped up when I logged out after enabling debug.


    ...
  3. Replies
    34
    Views
    1,272

    Re: 1.5.6 > 1.5.7 define constants going crazy?

    I was resizing images this time when I got the error.

    Carl...Hey!!! did show up this time. Thanks for the tip.



    [29-Sep-2021 15:38:46 America/New_York] Request URI:...
  4. Replies
    34
    Views
    1,272

    Re: 1.5.6 > 1.5.7 define constants going crazy?

    After turning off sanitation and doing what Carl suggested, I logged into admin and was greeted by the DisplayLogs notice...same errors.



    [29-Sep-2021 10:19:49 America/New_York] Request URI:...
  5. Replies
    34
    Views
    1,272

    Re: 1.5.6 > 1.5.7 define constants going crazy?

    Done...waiting to see if anything happens.

    Oh, I did have this sanitizing method enabled but have disabled to see if that is causing it.



    //MIKE - OVERRIDES TO MAKE OFF SITE IMAGES WORK...
  6. Replies
    34
    Views
    1,272

    Re: 1.5.6 > 1.5.7 define constants going crazy?

    hmmm...developer tools searches was mentioned in my initial report. None of the reported duplicates are related to my plugin.

    I looked to see if /includes/languages/english/index.php is being...
  7. Replies
    34
    Views
    1,272

    Re: 1.5.6 > 1.5.7 define constants going crazy?

    What version of Zen Cart? 1.5.7c

    Is it a new install or an upgrade? New

    What the addons/contributions you have installed? DisplayLogs (zc_plugins) and one I am developing (zc_pluggins)

    What...
  8. Replies
    6
    Views
    245

    v157 Re: Display Logs Plugin Stuck In A Loop

    Thanks Carl. It looks like you answered about the same time I found that solution.

    I think I will keep my version number as is. I have been working on this plugin since 1.3.8a. If I ever submit...
  9. Replies
    6
    Views
    245

    v157 Re: Display Logs Plugin Stuck In A Loop

    I found a way to define my root directory in the extra_configures under the zc_plugins file structure.



    use Zencart\FileSystem\FileSystem;
    $ezfeedsPath =...
  10. Replies
    6
    Views
    245

    v157 Re: Display Logs Plugin Stuck In A Loop

    Additionally...init_MyPlugin.php does not autoload under zc_plugins. I have to use config.MyPlugin.php to require the file.



    $autoLoadConfig[300][] = array(
    'autoType' => 'require',
    ...
  11. Replies
    6
    Views
    245

    v157 Re: Display Logs Plugin Stuck In A Loop

    The Firefox browser working arrow kept spinning after I attempted the file open code (in my plugin) mentioned previously. Stopping the browser (X) enabled me to return to DisplayLogs...where I...
  12. Replies
    6
    Views
    245

    v157 Display Logs Plugin Stuck In A Loop

    ZC version: 1.5.7c
    Plugins: Display Logs and MyPlugin (in development)
    PHP version: 7.4
    Ubuntu 20.04 LAMP with Mariadb

    Display logs got stuck in a loop when I tried to delete all logs. I hit...
  13. Replies
    28
    Views
    5,816

    v157 Re: Plugin Manager (Zen Cart 1.5.7+)

    Thanks for all the replies and suggestions.

    I ended up moving a protected function into the scripted installer from the plugin installer script...


    protected function executeEZFeedsSql($sql)...
  14. Replies
    28
    Views
    5,816

    v157 Re: Plugin Manager (Zen Cart 1.5.7+)

    I figured out something that will work...had to dig backwards through the functions.

    Outside of zc_plugins, $db->execute precedes sql calls...inside of zc_plugins, $this->dbConn->execute($sql)...
  15. Replies
    28
    Views
    5,816

    v157 Re: Plugin Manager (Zen Cart 1.5.7+)

    Carl, the code used in 1.5.6c was not buried in an extended class like it is in 1.5.7c zc_plugins.

    Have you successfully added an admin plugin to the new structure? I seriously doubt it by the way...
  16. Replies
    28
    Views
    5,816

    v157 Re: Plugin Manager (Zen Cart 1.5.7+)

    I am trying to put my admin program into the zc_plugin folder and have hit a 3 day snag trying to figure out how to proceed.

    Fresh install of 1.5.7c
    Ubuntu 20.04 LAMP stack
    DisplayLogs module...
  17. Replies
    7
    Views
    319

    v156 Re: Logging Errors

    You nailed it and I figured out where I went wrong. Sorry for the mix up.

    Yes, I did a fresh install of 1.5.7c and copied the newest db to 4 of my previous stores back to 1.5.5...stupid mistake.
    ...
  18. Replies
    7
    Views
    319

    v156 Re: Logging Errors

    Interesting. I wonder if some files got crossed somewhere along the way.

    I'll just start fresh with 1.5.7c and move my modifications over from 1.5.6c

    Thanks.
  19. Replies
    7
    Views
    319

    v156 Re: Logging Errors

    [QUOTE=mc12345678;1382563]Out of curiosity, is there a reason that developing a new set of software instead of using existing?

    The constant is defined for a fresh install at:...
  20. Replies
    7
    Views
    319

    v156 Re: Logging Errors

    [QUOTE=mc12345678;1382563]Out of curiosity, is there a reason that developing a new set of software instead of using existing?

    The constant is defined for a fresh install at:...
  21. Replies
    7
    Views
    319

    v156 Logging Errors

    site URL - localhost
    ZC version - 156c
    list of plugins - none...except the one I am developing for importing mass data into the catalog.
    PHP version - 7.4

    STORE_PAGE_PARSE_TIME is not defined...
  22. v157 Re: Installing v1.5.7c on Ubuntu 20.04 Localhost

    I deleted xampp completely and did command line install of LAMP with Mariadb but still had the same issue with folder permissions and configue files.

    At least there were no white screens this...
  23. v157 Installing v1.5.7c on Ubuntu 20.04 Localhost

    Most users will give up if they have to go through the hoops I had to while installing the newest version of ZC on Ubuntu.

    It is terribly frustrating...even for a well seasoned user of Zencart...
  24. Re: how to pass a variable to attribute text field.

    Hmmmmm...interesting approach.

    I'm not really interested in Auctions...seems to be a lot out there.

    I do like the thought of having a Make Offer tool to deal with the MAP crap being forced down...
  25. Re: how to pass a variable to attribute text field.

    Disregard my last question.

    After re-reading your answer, I clearly need to stop this approach and introduce the offer way before what I am attempting now.

    It will take me days to fully digest...
  26. Re: how to pass a variable to attribute text field.

    Thanks for the thorough and quick explanation!

    I realize that even more areas will need to be modified after studying the files more last night...sales and products without a special price will...
  27. Re: how to pass a variable to attribute text field.

    I believe I found where I need to change the price...please verify no harm in doing it this way. Thanks.

    includes/functions/function_prices.php around line 25.



    if...
  28. Re: NOT WORKING IN V1.5.5f Re: How to hide categories with no active products

    If you do not want to booger up your Zencart files and keep track of multiple files changing, run this code:



    //HIDE CATEGORIES AND SUBCATEGORIES WITH NO ACTIVE PRODUCTS
    $distict_cIDs =...
  29. v155 Re: Problems with special characters in my Admin

    Good to know...thanks swguy
  30. Re: how to pass a variable to attribute text field.

    I have a similar question...

    On my product_info page, I created a Make Me An Offer input text box and want to pass the customer's offer to the shopping cart if it passes my math logic test...or...
  31. v155 Re: Problems with special characters in my Admin

    Debugging is turned on to try and figure out why special characters (mainly & with &) in admin are being replaced with html entities. Please read the whole post. Thanks for your input.
  32. v155 Re: Problems with special characters in my Admin

    Obviously, the report is telling me it sanitized Health & Beaty...which is where the problem is.

    What do I need to do, besides completely turning off sanitizing, to override / stop the program...
  33. v155 Re: Problems with special characters in my Admin

    I got my extra_configures files set up and working but what do I do with the sanitize_debug output?



    Sorry to be so dense but I really am clueless at this point.

    Thanks.
  34. v155 Re: Problems with special characters

    Thanks Dave.

    I know very little about classes or the reason and need for all this sanitizing...I'm sure it is security.

    I appreciate the link and will look into it.

    Since this is not...
  35. v155 Re: Problems with special characters

    ...or this in init_sanitze.php


    //$sanitizer->setDoStrictSanitization(DO_STRICT_SANITIZATION);
  36. v155 Re: Problems with special characters in my Admin

    The problem is not just occurring in my custom admin app.

    Input boxes, check boxes and text boxes throughout admin are affected.
  37. v155 Re: Problems with special characters

    Commenting this out in AdminRequestSanitizer.php makes the problem go away but I don't fully understand the impact of leaving this commented out.


    public function...
  38. v155 Re: Problems with special characters

    Will these files work in 1.5.6c? It looks like they are only good through 1.5.5f.

    I am getting the conversion of & to &...running on XAMPP v3.2.4, PHP 7.3.15, most recent version of windows 10 64...
  39. Re: When To Use A Custom Function When Developing Admin App?

    I think I have a handle on it now...may be wrong. LOL

    At least it is a starting point.

    These functions (and probably a few more) are repeated throughout my files.



    //used in 1 file...
  40. Re: When To Use A Custom Function When Developing Admin App?

    Point taken...be careful when naming functions and files.
  41. Re: When To Use A Custom Function When Developing Admin App?

    I didn't see anywhere to attach a file...so, sorry for the whole script.

    I'll just show you my download.php file and ask what would you make functions, classes, or procedural php coding...the more...
  42. Re: When To Use A Custom Function When Developing Admin App?

    I think I'll just avoid using catalog side functions in admin until the powers that be decide how and when to have only one naming system for all functions.

    Wouldn't classes solve that problem? ...
  43. Re: When To Use A Custom Function When Developing Admin App?

    Thanks for that warning!
  44. Re: When To Use A Custom Function When Developing Admin App?

    Thanks, both of you, for the quick references links.

    I will be reading a lot this week before proceeding.
  45. Re: When To Use A Custom Function When Developing Admin App?

    Is it possible to use catalog side functions within admin scripts?
  46. Re: When To Use A Custom Function When Developing Admin App?

    Great idea...will do.



    I will look at this one today...sounds like it may save me tons of coding time!

    So, my gut feeling was right. I jumped into writing custom functions way too soon. I...
  47. Re: When To Use A Custom Function When Developing Admin App?

    That is my biggest concern about turning simple queries into functions...seems like I'm duplicating thing unnecessarily.

    Believe me, I have re-written my program more times than I can remember...
  48. Re: When To Use A Custom Function When Developing Admin App?

    I didn't even think about that benefit!

    I've been doing simple php queries for so long that using functions just does not feel right. But, I will forge on with your good advice.

    ezfeeds_ will...
  49. When To Use A Custom Function When Developing Admin App?

    PHP 7.1
    ZC 1.5.5f
    Website

    I've been developing an admin tool, for quite some time, that imports datafeeds from a supplier and massages the data to get the most usefulness out of it...follow the...
  50. Re: v155f Sanitizing Is Killing Custom DB Updates And Search Queries

    Also had to add addslashes


    $current_feed_list_no_slashes = $find_me->fields['set_function'];
    $current_feed_list = addslashes($current_feed_list_no_slashes);

    if...
Results 1 to 50 of 304
Page 1 of 7 1 2 3 4
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR