Just downloaded the latest version for zen 1.3...
\includes\modules\additional_images.php
\includes\modules\main_product_image.php
seem to be missing closing ?>
actually most of the php files are missing the closing tag...?
Printable View
Just downloaded the latest version for zen 1.3...
\includes\modules\additional_images.php
\includes\modules\main_product_image.php
seem to be missing closing ?>
actually most of the php files are missing the closing tag...?
OK, so I did some searches and see this has been discussed before. PHP sucks if it is so sensitive to whitespace after the tag. Yes I've spent hours wondering why a mod didn't work and then noticed some bogus whitespace. Actually I totally gave up on oscommerce partly because an image handler mod wasn't working for that exact reason... lol. Also the mods were full of old potentially unsecure code.
So, then why does html_output have a closing tag and an extra blank line?
http://www.zen-cart.com/forum/images/smilies/wacko.gif
:wacko:
Ok, I've got a really screwy problem and I can't figure out what is causing it, but as best I can tell it has something to do with Image Handler 2, probably related to specific server settings.
We're setting up a ZC install for a client. The whole install works great on my localhost dev server (Windows), and it works great on the live demo site (Linux) which we've been letting him use and play with. We finally got the go-ahead to upload to his real server (also Linux) so I did that this morning - straight copy of the files and database from our demo site (with fixed configure.php file, obviously, for the new locations and what-not). Got all the CHMOD folders and files set up correctly, at least according to the ZC and Image Handler install docs.
Everything on ZC works fine, EXCEPT the catalog pages or any other page where product images have to be displayed. These are now completely blank. In the admin site, everything works EXCEPT Image Handler's manager section. In the Manager section of this, it displays down to "Please donate. Why? One time gift of <textbox>" and then stops. The rest of the page is blank, and View Source confirms that the "don-amount" textbox is the last thing on the page.
Manually adding "error_reporting(E_ALL)" to /admin/includes/ih_manager.php does bring up a bunch of notices about undefined variables and properties, but none of them seem to be show-stoppers and they all also show up on my localhost server (which does work).
The real server does have gd. The rest of the specs are Apache 2.0.50, PHP 4.3.10, and MySQL 3.23.58. It does have Zend Debugger and Zend Optimizer running, which is the only major difference I can tell between the client's live server and our live demo server. Does IH2 have an issue with Zend Optimizer, perhaps? I can't imagine why, but it's the only thing I can think of at this point.
Any help would be much appreciated. Thanks so much!!!
---Jamin
is this a zencart 1.3 thing i can't figureout why this option isn't showing anymoreQuote:
Originally Posted by sgflowers
Nevermind my above post. I deleted the entire ZC directory on the final site and re-uploaded everything, and now it's working. I'd tried that once before to no avail, but it seemed to work the second time. Silly me.
Anyhoo, yeah, disregard my above post. Sorry.
---Jamin
I'm having this exact problem as well. I modified the jscript_imagehover.js file as recommended on the breakmyzencart forums, but the problem is still there. The only instances of 'pageY' in my file are as follows:Quote:
Originally Posted by woodlandsprite
Any suggestions? Thanks so much - I'm totally new to all this...Code:if (docheight - e.pageY < zoomimg_h + (2 * padding)){
ycoord += e.pageY - Math.max(0,(0 + zoomimg_h + (5 * padding) + e.pageY - docheight - truebody().scrollTop));
} else {
ycoord += e.pageY;
exact same pageY problem here...i tried to figure out what is going wrong but cannot seem to get any closer to a solution.
Help would be highly appreciated!!!
change the pageY's to clientYs and see if that fixes your issue.
Yes! That seems to have worked! Thanks woodlandsprite!Quote:
Originally Posted by woodlandsprite
i found 3 or 4 PageY's in tje .js file and changed them to ClientY.... no errors no more.. yet ;-) for before it also seemed to not always occur.
THANKS for the tip!