Results 1 to 10 of 1684

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    Thank you for looking into it.

    I believe so. It appears on 2 places in the header

    PHP Code:
    <script type="text/javascript"><!--//<![CDATA[
    if (typeof zcJS == "undefined" || !zcJS) {
      
    window.zcJS = { name'zcJS'version'0.1.0.0' };
    };

    zcJS.ajax = function (options) { 

    PHP Code:
    zcJS.timer = function (options) {
      var 
    defaults = {
        
    interval10000,
        
    startEventnull,
        
    intervalEventnull,
        
    stopEventnull 

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

    Default Re: Dynamic Price Updater

    Quote Originally Posted by mvstudio View Post
    Thank you for looking into it.

    I believe so. It appears on 2 places in the header

    PHP Code:
    <script type="text/javascript"><!--//<=!=[=C=D=A=T=A=[
    if (typeof zcJS == "undefined" || !zcJS) {
      
    window.zcJS = { name'zcJS'version'0.1.0.0' };
    };

    zcJS.ajax = function (options) { 

    PHP Code:
    zcJS.timer = function (options) {
      var 
    defaults = {
        
    interval10000,
        
    startEventnull,
        
    intervalEventnull,
        
    stopEventnull 
    I was grabbing at some straws with the question but wanted to be sure that the correct portion of the code would be expected to be processed.

    I think I have identified the cause (okay besides the programming that I added in), which was an attempt to evaluate the result of a function to see if it was empty or not. I have made a change in the master branch to account for a better arrangement, though that entire portion is still under review. I was going to try to use zen_href_link to build the link so that it would be more informative when using a URI rewriter, but because ajax.php itself must be called statically, it doesn't specifically resolve the issue previously described so I incorporated what I did to move things along and perhaps identify other strict processing issues that haven't yet been identified. :)

    Again thank you for the notification and patience.

    See this commit for proposed resolution of the above: https://github.com/mc12345678/Dynami...0748a66b3e7758
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    I have good news, and bad news.
    The good news, the changes didn't make the site crash completely like before. Bad news, product info pages are blank =(
    I keep on getting the error on line 126, after the changes, which would be the beginning of the changes you referenced.
    Sorry for reporting such bad news =(

  4. #4
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    I was checking the file last night and was able to make some progress, I think.

    In comparing the file in the plugin with the modifications you suggested, and this file https://github.com/mc12345678/Dynami...ce_updater.php which already contains the modifications, I found an extra line at the bottom of the code on the one on the plugin. In removing that extra line the product info page now downloads. However the ajax loader image stays on a loop. You can see the behavior on the test page here http://www.byvalenti.com/bvostoretem...&products_id=4

    No error log files are generated with this behavior.

    I hope this info helps you a bit =)

    Thank you for looking into it.

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

    Default Re: Dynamic Price Updater

    Quote Originally Posted by mvstudio View Post
    I was checking the file last night and was able to make some progress, I think.

    In comparing the file in the plugin with the modifications you suggested, and this file https://github.com/mc12345678/Dynami...ce_updater.php which already contains the modifications, I found an extra line at the bottom of the code on the one on the plugin. In removing that extra line the product info page now downloads. However the ajax loader image stays on a loop. You can see the behavior on the test page here http://www.byvalenti.com/bvostoretem...&products_id=4

    No error log files are generated with this behavior.

    I hope this info helps you a bit =)

    Thank you for looking into it.
    Now that have a link to a "problem" page, for one thing there are some significant html validation issues, one of which is considered a fatal error as seen here: https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.byvalenti.com%2Fbvostoretemp%2Findex.php%3Fmain_page%3Dpro duct_info%26cPath%3D8_9%26products_id%3D4.

    Another issue may be related to the loading of jquery 1.7.1 as what looks like the main jquery to be loaded.

    From my device, I couldn't see the entire page and the css essentialy wasn't loaded.

    Recommend addressing the validation issues before attempting to further work with javascript/jquery related code.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    The validation issues was on my to-do list, after installing all the plugins the site needed.
    Anyways all the validation issues have been resolved. The jquery 1.7.1 is part of the zx Slideshow plugin.

    Thank you!

  7. #7
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Dynamic Price Updater

    From my device, I couldn't see the entire page and the css essentialy wasn't loaded.
    I didn't see a css file for the plugin. The templates folder only contains a jscript and sideboxes folders.

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

    Default Re: Dynamic Price Updater

    Quote Originally Posted by mvstudio View Post
    I didn't see a css file for the plugin. The templates folder only contains a jscript and sideboxes folders.
    Correct, the plugin's folders do not contain a css file. What I was referring to was that your site did not load from my mobile device because of some problem on the site. Part of the observatio of that problem was that css would not get applied to the html objects because of whatever the error was.

    Now, today, I tried to access your site to see if it was the jquery 1.7.1 or some other issue that is causing the problem. Right now I see two console errors through firefox:
    onload@http://www.byvalenti.com/bvostoretemp/index.php?main_page=product_info&cPath=8_9&products_id=4:2:3
    index.php:4:3
    Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jscript_jquery-1.7.1.min.js:3:6598
    The first is because it appears that only part of this plugin has been removed (includes/modules/pages/product_info/jscript_dynamic_price_updater.php) for some reason. Mind you the image replace option could have been turned off so that there wouldn't be a spinning image to possibly stay behind... I've again tested the specific change(s) on my site without problems or javascript errors.

    The second because of the use of jquery 1.7.1... Would suggest looking into the ability to update/upgrade the zx Slideshow or at least to try to use newer jquery.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v151 Help with dynamic price updater
    By anderson6230 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Jul 2014, 08:52 AM
  2. v139h Dynamic Price Updater 3.0 Help!
    By Newbie 2011 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 12 Mar 2014, 06:46 AM
  3. Dynamic Price Updater Error
    By Inxie in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 26 Oct 2012, 06:19 PM
  4. Alternative to Dynamic Price Updater?
    By thebigkick in forum General Questions
    Replies: 0
    Last Post: 9 Jul 2012, 11:41 PM
  5. Dynamic Price Updater with href
    By maxell6230 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 1 Mar 2012, 12:34 AM

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