[Module] Zencart Bridge

Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2008-06-12 13:03

knyc
I need a link to a picture page that has the drop down with the module enabled.
--
Gallery version = 2.2.4
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
knyc

Joined: 2008-06-12
Posts: 5
Posted: Thu, 2008-06-12 13:29

I turned on the drop down for all users. You can now see the drop down and he cart button. The Add Item link from the drop down works, the icon generates an error.

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2008-06-12 13:38

knyc

Your controller is still a version with PurchaseOptions so restore to that

Now, the issue with the Icon not working has to do with PGTheme and the hack posted (which I have never tried).

The icon is attempting to add to the cart module so I suspect the hack posted might be incomplete.

Try contacting the person that posted the hack for information on how it should be done correctly

--
Gallery version = 2.2.4
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
knyc

Joined: 2008-06-12
Posts: 5
Posted: Thu, 2008-06-12 13:48

Thanks.

 
ChrisGray

Joined: 2008-08-02
Posts: 2
Posted: Sat, 2008-08-02 05:33

Quick question, although my application of Gallery+ZenCart is a little strange so please bear with me. :)

I only want to display thumbnails to users, with a flat-rate price for every photo, offering digital-only sales (no prints, cds etc).

With ZenCart supporting digital downloads (provided automatically after purchase), is it possible to do all of this and have ZenCart handle the offering of full-res files after purchase? Or will I simply get an email and have to send the invoice and images manually? I'm hoping to use PayPal to handle payment, but that's purely a ZenCart module from what I can tell.

I tried using Coppermine for this (urk) and then plain ZenCart, but with no luck. I'm quite excited to find this module, but before I spend another weekend delving into it I wanted to ask if what I need is possible.

Thanks for taking the time to answer, and good work on the module. :)

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2008-08-02 17:23

ChrisGray

ZenCart can handle digital downloads but this module has g2 as the frontend and ZenCart as backend and is geared for print sales and does not add much with respect to digital downloads to what you would have have while evaluating ZenCart by itself.

To do digital downloads, you will have to upload the zipped images into ZenCart and then specify which file is associated with each item in the admin. This module only copies thumbnails into ZenCart and you will have to manually associate full res files with the thumbnails.

There is a G2 intergration module on the ZenCart site that is geared towards digital downloads with ZenCart as the frontend and G2 as backend but I have noticed from posts that it seems to be broken (probably because it was written for ZC 1.3.7 and the current version is 1.3.8a) and Chuck Redman has not been responding to support requests.

So your choices are either to try Chuck's version and perhaps try to fix it (if successful, please remember to update the ZenCart Site for others to benefit) or use this one and do the manual uploads and stuff.

Whichever way you go, ZenCart will make download links available after confirmation of payment whether using paypal or not and handle all the other misc stuff.

ZenCart offers a lot of options on shipping, automatically applying relevant taxes and other stuff but that might not be what you need so you might also want to take a look at the checkout module which has had a lot of work done on it, has a tighter integration with G2 and I think it can do downloads as well.

--
Gallery version = 2.2.4
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
ChrisGray

Joined: 2008-08-02
Posts: 2
Posted: Sun, 2008-08-03 01:59

Thanks for the reply. :)

I've decided that I'll have to take the plunge and buy PhotoStore; as much as I hate supporting non-OSS, it does almost everything I need out of the box, and there really is no equivalent on the market. :(

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sun, 2008-08-03 16:53

ChrisGray

If it does almost everything you need out of the box, if there is no equivalent on the market and the price is O.K, then I suppose it selects itself for use.

All the best.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
pyrosteve

Joined: 2008-08-12
Posts: 7
Posted: Tue, 2008-08-12 18:25

Hi all,

I am having some issues with the installation of this bridge. I am using:

ZenCart 1.3.8a
Gallery2 2.2.5
zcg2-3_2_2-full
Database: MySQL 5.0.45-community-nt
PHP Version: 5.2.1 (Zend: 2.2.0)
Windows 2003 Server with IIS6

(On a development server, not live online else would post a link)

Both ZenCart and Galery2 are fresh installs, followed the bridge install instructions to the word. The first problem is that on the step to enable a theme in ZenCart (PGSnow I picked) when I go to view the catalog I just get a blank white page with nothing on it, put it back to the default theme and all works.

So I leave this step on PGSnow (even though it gives a blank page) and go to gallery2, make some albums and put some photos on. I then install the bridge plugin. Everytime I put in a vaild route to the diretory (D:/Website Data/Gallery2/Shop/ or ./Shop) it comes up with errors about a bad path and seems to be trying to find a directory called "cart_admin" but this is not present in the shop directory, only "admin". So I rename the "admin" folder to "cart-admin" and the plugin installs and activates ok.

I can then see the category I created in ZenCart on the gallery2 plugin and it activates fine. But every time I click to view the cart or add a photo I get a blank page - so I change the template of zencart back to the defualt and it seems to be working as it should but displays things like:

"ATRIBUTES_PRICE_DELIMITER..." etc in the drop down box of options, also things like "TEXT_PRODUCT_OPTIONS" - which I presume due to not using PGSnow or PGCharcoal?

I am lost as to how to make this work properly and any help would be great.

Steve

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sun, 2008-08-17 18:04

pyrosteve
Thanks for clearly identifying your versions.

I was in the process of updating the module a few days ago but started to try out some stuff (you will notice the moneybookers payment module for zencart I wrote is included in the version you downloaded), got distracted and then stopped halfway.

What you had there was an example of the pains of developing something for ones site and then having to remember to go through to make it generic/standard.

I will send you a link of a version that should work by PM.

define(NOTE_TO_SELF 'The whole world now knows what you renamed your zencart admin folder as. Remember to change it');

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
pyrosteve

Joined: 2008-08-12
Posts: 7
Posted: Tue, 2008-08-12 20:21

Dayo,

Thanks for clearing that up and the very prompt reply. I was wondering why I couldnt get it to work properly when others seemed to have it running fine.

Will wait for a generic working version and give it another go :)

Steve

 
pyrosteve

Joined: 2008-08-12
Posts: 7
Posted: Wed, 2008-08-13 09:24

Dayo,

That cleared up the installation issues with the bridge in Galler2 but I still have the issue of the PGCharcoal and PGSnow theme giving blank pages when enabled in ZenCart, if I use the classic default theme for ZenCart then it all seems to function properly aside the "ATRIBUTES_PRICE_DELIMITER..." "TEXT_PRODUCT_OPTIONS" etc being displayed?

Possible ideas?

Steve

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Wed, 2008-08-13 16:42

pyrosteve

Sent you another link.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
pyrosteve

Joined: 2008-08-12
Posts: 7
Posted: Thu, 2008-08-14 09:27

Dayo,

Thank you, it all works as expected now, however one major issue:

On my test gallery everything seems to work fine with an album and a couple of photos, links to ZC, thumbnails work properly etc all cool.

When I try this on a copy of my real gallery2 install with over 35,000 photos it is impossible to activate the module to mirror the image data over to ZC, it seems to just hang up, the module bar goes green in gallery2 when I hit activate but just goes off again and does not activate after a few seconds.

I often batch add a few 1000 photos at a time to my gallery so am wondering if this setup will actually work at this volume of photos.

If Dayo or anyone else has any idea on these timeout issues I would like to hear, I am thinking this is a possible PHP or MySQL server issue rather than the module. My setup is:

ZenCart 1.3.8c
Gallery2 2.2.5
zcg2-3_2_2-full
Database: MySQL 5.0.45-community-nt
PHP Version: 5.2.1 (Zend: 2.2.0)
Windows 2003 Server with IIS6

Steve

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2008-08-14 16:17

pyrosteve

Try the upgrade to Version 3.2.1d I sent you.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
pyrosteve

Joined: 2008-08-12
Posts: 7
Posted: Fri, 2008-08-15 13:03

Hi Dayo,

I am currently working away from home till Sept, so do not have access to my development server but I will try the new package when I return and feedback here.

I did try removing some albums and reducing the photo count, it then copied the correct folder layout to ZC, along with a single image from the first gallery and then seemed to hang up again.

Back in a couple of weeks,

Steve

 
RickyFarrow
RickyFarrow's picture

Joined: 2007-02-19
Posts: 21
Posted: Sat, 2008-08-16 03:26

Where can I find the files to download? The link at the top of this thread leads to a blank page.

Thanks.

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2008-08-16 06:56

pyrosteve
I have made some changes to the 3.2.1d version I sent you that should reduce timeout issues and help with scaling up. The default worked on my gallery which has < 200 pics but I can see how it can be timing out for '000s of images.

I'll roll the changes into the others I have been making for 3.2.2.

Have a nice trip

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2008-08-16 12:40

RickyFarrow
I have taken the files offline for some amendments and will restore the link later.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
RickyFarrow
RickyFarrow's picture

Joined: 2007-02-19
Posts: 21
Posted: Sun, 2008-08-17 18:24

Dayo,

Thank you - I will wait for your changes. I have been trying to do this integration for a couple of years - but I have to really dig in an concentrate. Life kinda gets in the way and I have to start over. I really look forward to trying this the way you have and appreciate all your efforts.

Thanks again!

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sun, 2008-08-17 22:32

RickyFarrow
Version 3.2.2a is available for download.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
sambo1

Joined: 2006-10-15
Posts: 8
Posted: Thu, 2008-08-21 03:21

Hi Dayo,

firstly, thanks for the work and the support! I am having the the same issue as knyc with the PurchaseOptions not allowing the icon to work. How do I change the controller as you have suggested in your post?

Thanks in advance, Sam

 
codeice

Joined: 2008-08-25
Posts: 2
Posted: Mon, 2008-08-25 13:56

Hi
Have been very interested in using the ZC-Gallery bridge solution for selling photographic images and had my 2 installations working nicely.

Original installation was with the G2/ZC installation placed in a subdirectory as thus

topdomain.com/subdirectory/g2/zc/

However it was decided to make the sub directory containing G2-ZC a subdomain with a new domain name pointing to the sub directory e.g

topmain.com/www.subdomain/g2/zc/

I disabled and then re-enabled the URL rewrite module as described in the FAQ´s. The result now is that when I click through to see an item in ZC and try to get back to Gallery the links in ZC still point to the original G2 directory and a 404 error occurs.

Plus I cannot now login into G2 admin, the error below occurs. Any help to unravel this would be appreciated, thanks.

Authentication Failure

Your change cannot be completed due to a loss of session data.

Back to the Gallery
Error Detail -
Error (ERROR_REQUEST_FORGED)

* in modules/core/classes/GalleryController.class at line 239 (GalleryCoreApi::error)
* in main.php at line 224 (GalleryController::assertIsGenuineRequest)
* in main.php at line 94
* in main.php at line 83

System details are:

ZenCart 1.3.8a
Bridge zcg2-3_2_2a-full

Gallery 2 version 2.2.4
PHP version 5.2.6 cgi-fcgi
Webserver Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Database mysqlt 5.0.45-community-log
Toolkits ImageMagick, Thumbnail, NetPBM, Gd
Operating system Linux box405.bluehost.com 2.6.22-19_1.BHsmp #1 SMP Thu May 22 08:08:32 MDT 2008 x86_64
Browser Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080715 Ubuntu/7.10 (gutsy) Firefox/2.0.0.16

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Mon, 2008-08-25 17:06

codeice

I don't think your issue has to do with the module specifically and must be to do with how this this arrangement works: topmain.com/www.subdomain/g2/

Have you edited your g2 config file to point to w w w . subdomain / g2?

I think the configuration may be why you you can't log in and stuff. G2 probably thinks you are a hacker.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
codeice

Joined: 2008-08-25
Posts: 2
Posted: Tue, 2008-08-26 01:51

Yes, the config line was set as follows:

$gallery->setConfig('baseUri', 'http://subdomain/main.php');

I have since tried different combinations of the url address, slashes in different places etc but pretty much the same thing occurs - sorry!

Also the issue with ZC links back to G2, this would involve adjustments to ZC template file?

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2008-08-26 17:28

codeice
Your issues are related to a misconfiguration of your site and editing files in the module will not change this. Zencart gets the return path passed by G2.

Try completely uninstalling the module, do the same to the rewrite module and reset baseUri back to ''. Then navigate to h t t p : // subdomain / upgrade and follow that through which should to get the site setup properly and you can then go from there.

You might need to do h t t p : // subdomain / install instead of "upgrade".

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
krisman136

Joined: 2008-07-21
Posts: 5
Posted: Tue, 2008-09-02 03:49

Hi,

I first want to congratulate you on building a sweet, free way to organize your photos and selling them. I am a newbie at this and I was able to get zen cart and gallery 2 working mostly. However I have a question I've not been able to fix.

My Site:
http://deepscenicphotography.com/gallery2/gallery2/main.php

When looking at a picture, I want there to be a "add to cart" button at the bottom. which will add the photo to my zen cart. However whats under the picture is actually "selection: view Items". I want to change the view items icon to add to cart. Is there any way to change that?

Sorry about my newbness, but I would just love to get this beautiful peace of work working.

Thanks,
Chris

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2008-09-02 06:27

krisman136

Things to do with display in G2 are handled by the theme in use which in your case is the carbon theme.

You will have to edit the theme files to display the icons you want and you will also have to attach the relevant links to those icons.

I have not investigated doing this so can't guide you on specifics.

You may be better off asking specific questions on how to achieve this sort of thing in a new thread.

Also, please add other information such as Theme Name, G2 & ZC Versions as well as module version when you ask for assistance. The link to your site is helpful and provides some of this info.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2008-09-02 06:38

codeice
I just realised that your issues are actually most likely caused by your zencart config files still referring h t t p : // main.com / subdomain / instead of h t t p : // subdomain /

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
julieford

Joined: 2008-09-09
Posts: 2
Posted: Tue, 2008-09-09 20:59

I have the Gallery2 & Zencart now loaded on my webserver, and I am trying to get the zencart module to configure it, but it appears the link it broken on the Codex page. Is there another link that I can get the module from?

Thanks.

Julie Ford

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Wed, 2008-09-10 20:09

julieford

Thanks for pointing out the link is broken. I restored my website to the state it was back in May and forgot to replace the module file.

Unfortunately I am away from home for a few days and will upload it when I get back home on Saturday.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
raedwulf

Joined: 2005-10-29
Posts: 29
Posted: Thu, 2008-09-11 08:30

In lieu of Dayo's return on Saturday where he indicated he will put the zcg2 code back in place (can't be retrieved from the Codex link at the moment), can anyone post the current code somewhere? I'd like to give it a go....

tx

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2008-09-11 15:59

raedwulf

I have arranged for the file to be uploaded.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Thu, 2008-09-11 20:24

Well shoot... hope I didn't disrupt your travels. You have a ton of envious travel photos and I can only imagine you are doing more, now??

Anyhoo, tx for this post. Will slurp down and get after it.

Dayo wrote:
raedwulf

I have arranged for the file to be uploaded.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Fri, 2008-09-12 07:16

So when was the last time an installation with multiple locations, files, permissions, settings, etc., worked the first time? Like, never....

But your bridge installation and instructions worked flawlessly. I RTFM'd everything, installed ZC then the bridge, and wham. It worked first time. I repeated it on a second test G2, and it worked, flawlessly.

Well done Dayo. Well done. I will dig in and start stressing stuff and learning the nuances, but this was one of the more cool installs of anything.

r

Dayo wrote:
raedwulf

I have arranged for the file to be uploaded.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
julieford

Joined: 2008-09-09
Posts: 2
Posted: Fri, 2008-09-12 15:21

Dayo - thank you so much. I have downloaded it and will be doing the install today or tomorrow.

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Sat, 2008-09-13 09:45

Noted the timeout issues above. The installation into a smaller test site with a few hundred images works a peach. I then tried it on a site with 32,000 images and it hung like as described above.

Am thinking about how to resolve this, like reinstalling with a small footprint and then re-importing images.

But thought I would mention the timeout thing bit me on a large site. I didn't see any debugging info. Also, this was to install the mod in G2. Also, I have very large timeout variables in the php.ini file. When the bridge installs into G2 for the first time, is it attempting to cache stuff at that point? Or does it wait until it has a path in the configuration before it starts to migrate all the images over? Curious as to the action when one clicks 'install' to bolt it into G2....?

The bridge tho is super slick...

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sun, 2008-09-14 19:10

drhiii

Thanks for the feedback.

Stumped with the timeout issues and can't test it since I only have a few items in my gallery.

I have noticed a bug affecting the categories sidebox on the lastest version 3.2.2b. It only affects trying to browse within ZC and not transactions initiated from G2 (which is how the modules is envisaged to the used) but I'll be looking at sorting it out.

The problem is how the album ids no longer match ZC category ids which throws off the product to category matching in ZC and I think it may to do with G2.2.5.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
raedwulf

Joined: 2005-10-29
Posts: 29
Posted: Mon, 2008-09-15 07:29

Hello Dayo,

Yes, it stumps me too. I am not strong on observing how MySql and G2 are interacting with each other. Is it perhaps a timeout issue with MySql? When the bridge is installed in G2, does it populate MySql with pointers or reference points to the images present in the existing archives?

I don't know. Just asking in a sophomoric way.

I would be more than privileged to supply a test site with dozens, hundreds, thousands... tens of thousands of images to test against. If this would help. I was sooooooooooo psyched to see the new Zen and G2 bridge that you have engineered. I am attempting to bolt it into some sites that will project towards in the near term, hundreds of thousands of images with the projection of several million images. I suppose one way to do it is to build a site and bolt ZC + bridge, then import the objects after the fact. Akward. But one way to attack this.

Anyhoo... if you let me know what I can do to assist in helping attack this, yell back. This would be a cool thing to solve. The purpose behind projecting several million objects into this architecture is very cool, but will release it when the time it right, meaning when bolted in stuff works reasonanably well... the purpose is to return some features back to the G2 community, when things work on our side.

I will help in however I can. If you want a site to bang on with a lot of objects, let me know. Can do, for starters.

tx

Dayo wrote:
drhiii

Thanks for the feedback.

Stumped with the timeout issues and can't test it since I only have a few items in my gallery.

I have noticed a bug affecting the categories sidebox on the lastest version 3.2.2b. It only affects trying to browse within ZC and not transactions initiated from G2 (which is how the modules is envisaged to the used) but I'll be looking at sorting it out.

The problem is how the album ids no longer match ZC category ids which throws off the product to category matching in ZC and I think it may to do with G2.2.5.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Tue, 2008-09-16 18:06

Dayo, anything I can do to further a look-see into the timeout issues?

Dayo wrote:
krisman136

Things to do with display in G2 are handled by the theme in use which in your case is the carbon theme.

You will have to edit the theme files to display the icons you want and you will also have to attach the relevant links to those icons.

I have not investigated doing this so can't guide you on specifics.

You may be better off asking specific questions on how to achieve this sort of thing in a new thread.

Also, please add other information such as Theme Name, G2 & ZC Versions as well as module version when you ask for assistance. The link to your site is helpful and provides some of this info.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2008-09-16 18:48

drhiii

I suspect it itmes out in the activation function which writes the G2 data into ZC.

With 10s of thousand of items, it could be hitting the php code time limit which is usually set at 30secs and which is almost certainly not long enough to write all those items to more than one ZC db tables.

Perhaps switching on the debug output might give a clue or looking at the server error logs.

If you are happy to work through, then we could try to figure it out.

I wish I could get to log into the discussion channel thing but I can't work out how it works.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Wed, 2008-09-17 00:28

I can set up something that can work and produce debug logging, you bet. Let me get to work on something. Would like to contrib a solution back into the community you bet.

And do you mean the IRC stuff, for the discussion channels? Ya, I'm not fluid in IRC-speak if that is what you mean. I don't think I could keep up with the techno-levels of those on there anyway.

Will come back when I have something to bang on.

Also, I have several PHP settings cranked way up in terms of timeout settings. Will dig to see if MySql has similar timeout mechanisms????

Dayo wrote:
drhiii

I suspect it itmes out in the activation function which writes the G2 data into ZC.

With 10s of thousand of items, it could be hitting the php code time limit which is usually set at 30secs and which is almost certainly not long enough to write all those items to more than one ZC db tables.

Perhaps switching on the debug output might give a clue or looking at the server error logs.

If you are happy to work through, then we could try to figure it out.

I wish I could get to log into the discussion channel thing but I can't work out how it works.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Thu, 2008-09-18 07:23

Here is a start. I ran the zencart installation in G2. Had G2 in debug mode and nothing was reported during debug. I went to the mysql .bin files and exported them into ascii, and I have file attached the exact block of logging when the bridge Installation was initiated, all the way to the end of the logging in mysql. It is added here as a file attachment.

I do not know what I am looking at, but it does appear to not be healthy. That is hardly technical or deep I know. But thought I'd get things rolling to post at least that.

Note that I have the php.ini timeouts and file sizes tweaked to accept very long timeouts, far past the default 30 seconds and 2 MB payload. Just as an fyi. I can supply the exact settings via email

Dayo, I have a site we can bang on. Let's communicate via email so I can share the particulars of the site, and we can begin the effort to figure this out. Will post an email to ya...

drhiii wrote:
I can set up something that can work and produce debug logging, you bet. Let me get to work on something. Would like to contrib a solution back into the community you bet.

And do you mean the IRC stuff, for the discussion channels? Ya, I'm not fluid in IRC-speak if that is what you mean. I don't think I could keep up with the techno-levels of those on there anyway.

Will come back when I have something to bang on.

Also, I have several PHP settings cranked way up in terms of timeout settings. Will dig to see if MySql has similar timeout mechanisms????

Dayo wrote:
drhiii

I suspect it itmes out in the activation function which writes the G2 data into ZC.

With 10s of thousand of items, it could be hitting the php code time limit which is usually set at 30secs and which is almost certainly not long enough to write all those items to more than one ZC db tables.

Perhaps switching on the debug output might give a clue or looking at the server error logs.

If you are happy to work through, then we could try to figure it out.

I wish I could get to log into the discussion channel thing but I can't work out how it works.

--
Gallery version = 2.2.5
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2008-09-20 08:58

drhiii

I sent you an email

--
Gallery version = 2.2.6
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
raedwulf

Joined: 2005-10-29
Posts: 29
Posted: Sun, 2008-09-21 06:55

Yessir. Received. Responded, and am genning up a series of regression tests and will post the results to you.

Dayo wrote:
drhiii

I sent you an email

--
Gallery version = 2.2.6
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
pahvi
pahvi's picture

Joined: 2004-10-20
Posts: 31
Posted: Tue, 2008-11-04 18:25

Hi
I've got two issues arising when trying to install the zencart itegration module.

first, when i've added the files to the zencart dir i'm supposed to "choose one of the Gallery2 Integration Templates provided"
no templates, exept the default template are there!

second, when configuring the gallery zencart module "Enter the full server path to your Zen Cart installation" i get a white page saying "illegal access"

I've got the following config:

Gallery 2.3 installed at root web folder
ZenCart 1.3.8a installed in subdir (/shop) of the gallery root folder.
Both installations of zencart and gallery successful.
Both databases in same database container with different prefixes.

Server Information
Server OS: Linux 2.6.17-1.2142_FC4smp
Database: MySQL 5.0.51a
HTTP Server: Apache
PHP Version: 5.2.3 (Zend: 2.2.0)
PHP Memory Limit: 32M PHP
Safe Mode: Off
PHP File Uploads: On
Max Size: 10M
POST Max Size: 8M

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Wed, 2008-11-05 14:45

pahvi
I not not tried with G2.3 but I gather the module works on this version of G2.

If that is indeed the case, and you follow the installation instuctions precisely, you will not have these issues.

Your first problem with the templates suggests you have done followed the steps and that your issue is independent of the G2 version.

--
Gallery version = 2.2.6
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
hyperopto
hyperopto's picture

Joined: 2007-10-14
Posts: 2
Posted: Thu, 2008-11-06 00:04

Has anyone tried Galley 2.3 with zcg2-3_2_2b - zc 1.3.8a???
More to the point - can it be done as per the zcg2-3_2_2b readme?
btw - Thanks to Dayo for very nice work on this module!

 
raedwulf

Joined: 2005-10-29
Posts: 29
Posted: Thu, 2008-11-20 10:48

A belated response, but yes. I have these versions playing very nicely together. All thanks to Dayo.

One site is up to 54,000 images and 9600 albums with approx 30 products in ZenCart. All playing nicely. I am having to work out a display issue with I.E. on the ZenCart theme side. But otherwise, with some patience, works like a charm.

hyperopto wrote:
Has anyone tried Galley 2.3 with zcg2-3_2_2b - zc 1.3.8a???
More to the point - can it be done as per the zcg2-3_2_2b readme?
btw - Thanks to Dayo for very nice work on this module!

 
mark3738
mark3738's picture

Joined: 2005-10-14
Posts: 7
Posted: Mon, 2008-12-08 04:03

I really like the new integration you have put together Dayo and am busy upgrading my site which was running the original version of the G2 ZC bridge but due to being hacked and other issues it has been taken down and a complete new build is under way...

I only have one major problem and although I know of one fix, would rather a tidier solution....the answer may be elsewhere in the forums but my search terms haven't yet found an answer. I have various different types of prints available and have categorised them into the default of Print Size, as well as Poster Size, Canvas Size, Novelty Items (i.e. t-shirts, coffee mugs, jigsaws, etc) and Digital Copies. However when adding a product to the cart the Starting at price tallies the first item from each option and adds them all to the cart even if you only choose a 6x4 print. I can solve this by listing all the products under 'Print Size', but then this stretches a long way down the page and is untidy. I have inserted an image to show my problem below with an ideal layour but with a starting at price of $8 and not automatically adding the other items. Any pointers would be most appreciated

[img]http://www.findapic.co.nz/images/cartdemo.gif[/img]

Medlicott Design
Helping you reach the world from your place