Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2006
    Posts
    23
    Plugin Contributions
    0

    Default pageY is null -- imageHandler mod

    I receive the following error when surfing over products on the home page. I searched and found the same problem BUT, changing pageY to clientY didn't work. ZenCart version 1.3.7. PHP version 5.2.4. Database patch 1.3.7:

    Line: 125
    Char: 7
    Error: 'pageY' is null or not an object
    Code: 0
    URL: <store URL>

    HELP
    "In the game of chess you must never allow your opponent to see your pieces."

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: pageY is null

    I haven't seen that happen with a fresh untouched version of Zen Cart.
    However, I *have* seen that happen with the ImageHandler addon installed.

    What version of Zen Cart are you using?
    What addons/contributions are installed?
    What is your site URL?


    Moving this thread out of the Bug Reports area, since it seems to be related to an addon.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: pageY is null

    Zencart Version 1.3.7
    Wallet theme template
    http://www.sissystreasures.com/
    "In the game of chess you must never allow your opponent to see your pieces."

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: pageY is null

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jun 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: pageY is null

    That did it. Thank you very much. I really appreciate you time.
    "In the game of chess you must never allow your opponent to see your pieces."

  6. #6
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: pageY is null -- imageHandler mod

    Quote Originally Posted by DrByte View Post
    Quote Originally Posted by death1 View Post
    That did it. Thank you very much. I really appreciate you time.
    I have the same error, the above page does not exist. I can't find anything about this in the IH2 forum....What is the solution?

  7. #7
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: pageY is null -- imageHandler mod

    Quote Originally Posted by dharma View Post
    I have the same error, the above page does not exist. I can't find anything about this in the IH2 forum....What is the solution?
    Posted in the Image Handler thread.
    http://forum.zen-cart.com/showthread...35913&page=136
    See post 1353 & 1354

    What version do you have? The latest version was fixed.

    M

  8. #8
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: pageY is null -- imageHandler mod

    I have the lastest version-Image Handler 2.0 for Zen-Cart v1.3.x from http://breakmyzencart.com/image-handler
    the page Y change in the forum (thank you) doesnt seemed to be addressed in the update...

    this is what I have:

    Code:
       if (docheight - event.clientY < zoomimg_h + (2 * padding)){
          ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + e.pageY - docheight - truebody().scrollTop));
        } else {
          ycoord += truebody().scrollTop + event.clientY;
    should I change
    e.pageY
    to
    event.clientY
    Last edited by dharma; 25 Jan 2008 at 06:48 AM.

  9. #9
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: pageY is null -- imageHandler mod

    Quote Originally Posted by dharma View Post
    I have the lastest version-Image Handler 2.0 for Zen-Cart v1.3.x from http://breakmyzencart.com/image-handler
    the page Y change in the forum (thank you) doesnt seemed to be addressed in the update...

    this is what I have:

    Code:
       if (docheight - event.clientY < zoomimg_h + (2 * padding)){
          ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + e.pageY - docheight - truebody().scrollTop));
        } else {
          ycoord += truebody().scrollTop + event.clientY;
    should I change to
    The version you have is old.
    Get the latest from Downloads.
    http://www.zen-cart.com/index.php?ma...roducts_id=117

    That change should be the fix.
    You can also download the new version and pull the javascript file and upload over your old one.

    M

  10. #10
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: pageY is null -- imageHandler mod

    Woops! I thought the authors site carried the lastest release! I didn't think to look in ZC downloads

    I downloaded the release from 10/07 for 1.3.7 and installed (without shopad folder)...works great!

    Thanks for the heads up!

 

 

Similar Threads

  1. Replies: 7
    Last Post: 4 May 2016, 01:59 AM
  2. Replies: 11
    Last Post: 15 Jan 2010, 04:44 PM
  3. ImageHandler + Lightbox
    By Clarky in forum All Other Contributions/Addons
    Replies: 20
    Last Post: 14 Jun 2009, 10:42 PM
  4. ImageHandler problem
    By karanj in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 22 Nov 2007, 06:13 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