Im using gallery 2.0.4 with zencart 1.3.0, and intergrating it using a module i downloaded from this site called zcg2-0.8.3.zip.
I have installed zencart and can access it fine under localhost, when i configure the module under gallery i enter the path to the zencart dir, (which is in the same public dir as gallery2) and it comes up with a white page with illegal access.
I admit i know nothing about these aplications and so it is probably a basic error on my part but any help would be massivley appreciated.
Thanks
Argonaught
Posts: 8601
there is a README included with the zcg2 download that has instructions.. do those help?
Posts: 23
I'm having the same problem. Any help would be awesome. And no, I read the READMEs and there is no mention of "illegal access". I even searched the forums on the zencart website.
Currently using:
gallery 2.1
zencart 1.3.0
zencart for G2 0.9.0
Posts: 8601
hard to help without more information..
Posts: 23
Gallery version:2.1
PHP version: 4.1.14-standard
PHPInfo Link:
Webserver: Apache/1.3.34 (Unix)
Database:MYSQL 4.1.14-standard
Activated toolkits: GD and NETPBM
Operating system: XP
Browser: Firefox 1.0.7
I installed the zencart and it's currently sharing databases with g2. The zencart has a prefix of zen_
Thanks for you help and let me know if you need more info.
Posts: 8601
what did you click, what did you enter, what happened, exact error message?
Posts: 23
After a fresh instal of G2 I uploaded the zencart module into the appropriate folders. I then installed zencart and it's currently sharing a database with G2 but it's using a table prefix of zen_. I then installed the G2 zencart module which in turn asks to configure it. The cart asks for the path which I enter /home/clrfocus/public_html/zencart/ . After this step, it acts as if it's processing something as if it's going to work but then just goes to a white page with a small error message in the upper left corner: illegal access.
It's probably something small that I'm overlooking. Thanks for you help.
edit: illegal access not illegal operation.
Posts: 8601
maybe try again with G2 in 'immediate' debug mode in config.php and attach the output here (or post a link).
Posts: 24
having the same problem, i did a debug and found out that there has to be defined 'IS_ADMIN_FLAG' in the configure.php files of zencart.
But then I got:
Fatal error: Class 'base' not found in /home/.../.../ZENCART_DIR/includes/classes/db/mysql/query_factory.php on line 19
which says:
class queryFactory extends base {
...
so I checked and searched and .... found:
include the following line to 'G2_DIR'/modules/zencart/classes/ZenCartAbstraction.class:
$this->_path . 'includes/classes/class.base.php',
somewhere between line 109 and 111
and it should work (and don't forget to define 'IS_ADMIN_FLAG', 'true')
greetz from Vienna, Austria EUROPE
RaVen
Posts: 8601
maybe try the latest 1.2.x version of zencart.
Posts: 23
Edit: NM Found it
https://sourceforge.net/project/showfiles.php?group_id=83781&package_id=125709
Posts: 23
1.2.7d works. Thanks for the awesome suggestion.
Posts: 8601
Thanks for the confirmation.. I've noted that only 1.2.x works on the zcg2 codex page.
Posts: 219
Does anyone actually have this integrated and working in a site I can look at?
I *think* ZCG2 does what I want it to (ie: embeds G2 into Zen Cart in the same way that WPG2 embeds Gallery 2 into Wordpress) however, before I start messing and upgrading my gallery, I'd like to see it in action! Thanks.
Posts: 24
I'm starting with integration of zencart (v. 1.3) and gallery2 (v. 2.1).
So you can have a look on http://www.volgger.com/photoshop/
pls. be aware that this site is sometimes not available because of maintenance.
greetz from Vienna, Austria EUROPE
RaVen
Posts: 11
I have also tried the module with Zen Cart 1.3 and received the illegal access error. If you get it to work with 1.3, please post back. The module works with Gallery 2.1 and Zen Cart 1.2.6 & 1.2.7
Posts: 219
Hmm, not entirely sure this is what I am looking for - it appears to just show the gallery items as purchasable items. What I want is a gallery "wrapped" Zen Cart. We have a costume hire side-business, and we want people to stay within the one window, for their sake and ours!
Posts: 11
let me know if you find anything like that. The option that I'm considering which is not quite ready is:
xoops cms plus zen cart module for xoops (zen cart v1.2.7 until the gallery zen module works with zen cart 1.3), gallery zen cart module (as discussed here) and xoopsgallery.org (an embedded gallery for xoops not yet updated for gallery 2.1; but close).
Posts: 30
using Zen 1.3 I get this error when I try to click on an item
Warning: main(includes/modules/pages/product_info/main_template_vars_attributes.php): failed to open stream: No such file or directory in /www/t/traditionpho/htdocs/cart/includes/modules/pages/product_gallery_info/main_template_vars.php on line 94
and indeed that file does not exist there! is there any way around this? or should I just use 1.2.7?
Posts: 8601
as mentioned in the docs, and just a few posts up, use 1.2.x
i've asked the zcg2 author to update it for zc 1.3, but if anyone submits a patch before he gets to it, we can apply that too.
Posts: 2
Well, after configruration of zen cart integration modules
- path
- category
I've got
"Successfully configured module zencart"
But, is no activation option on the right site.
Gallery 2.1
zencart 12.5d
g21.zencart.inegr..zcg2-0.9.0.tar.gz
any suggestion realy appreciate
Jul
ps:
[with zencart 1.3.0.1 ERR Illegal Access after setup od path to zencart}
Posts: 8601
did you go back to site admin / modules? what DO you see for zencart?
Posts: 5
Hey Raven , do you have 1.3 working with 2 of Gallery? Is that what we are seeing on your site. I kept hetting illegal access when I tried it
Posts: 46
I asked the author of that module about the "illega accsess" what I am having and he said the this module it is not compatible with zencart 1.3.
That means I have to remove 1.3 and install 1.2
looking trought the glass of a lenses
Posts: 46
Remove 1.3 and installed 1.27.Works, butr I have no tumbnails. Images do not show. My images in G2 are 800X600.
Does the ZC can handle that size of images?
looking trought the glass of a lenses
Posts: 12
Hmm really weird.. Dunno if the ZC can handle that size but it should have worked in the beginning.
Posts: 11
Try turning on the long url option in the Gallery module admin settings... may require deactivating and reactivating.
Also, there are a couple of thumbnail related settings within Zen cart that may affect the presentation of the thumbnails (e.g. if they are distorted). Keep in mind that you may need to manually select the top level category image in ZC; but I believe the module will generate subsequent sub-category thumbnails.
Posts: 20
I'm just taking faltering steps to attempt modification of the zencart add on for 1.3, in file
$RCSfile: ZenCartAbstraction.class,v $ in the add on fileset for 1.2.xx
Around line 125, ABOVE this code line:
/* Load Zen Cart's database abstraction. Done after includes because of the constant. */
ADD this code block:
I'm slowly trying to sort the thing out for zc1.3,
And if anyone else has done the zencart add-on update for 1.3 already, let me know, it saves my effort ...
Posts: 397
Would also like to see how others have accomplished this integration.... please speak up. It will help the rest of us as we work this...
Posts: 20
Hi
I have an integration of g2 working in zencart 1.3
the ordinary mode works, that is
- zencart 1.3
- using the version I modified of the original 1.2.xx zencart module for gallery2
- this setup produces a zencart product for each gallery picture that you make
- as with the old module, the links from the zencart products to the gallery2 main picture, cause a new window to open, running the gallery on that new page.
-and the links from the gallery pics point back to the correct zencart product(s)
Check it out at http://hareslade.com/zc_1_3_0_test1/index.php?main_page=index&cPath=67
The 4 products in that category 'gallery' were created in gallery2 only by adding gallery2 pics.
I need someone to load the add on files, check if what I have here works on someone else's zencart 1.3 test cart with gallery2 using a shared database.
If it all seems ok, I'll contact the author & he can formally upgrade the gallery2/zencart add on if he thinks its ok.
Don't all rush at once... anyone want the beta add-on files to test out, feed back to me if it works ok?
Ideally you need to know roughly what any error messages approximately mean if things go a bit weird.
============sob story...
I had hoped to embed the gallery page totally within in zencart as well, but it won't have it!
The gallery page itself works fine while embedded in zencart, but the url 'purchase' links (created by the g2 zencart add on) that point back to the zencart products are 'corrupted' by the added base url string that gallery2 insists on adding to all url's, because it thinks it's running in a gallery2 page of its own making.
I have no answer for this, but I understand exactly why its failing, purely because there is no way to remove the gallery2 'base url correction' on just the purchase link url. The embedded mode gallery2 alters ALL links on its embedded page, to suit its own return address.
But of course, we now need purchase links to the zencart (folder) products, NOT links back into the embedded gallery2 (folder) page.
Its easy enough to get a url that 'should' work, using the zencart add on abstraction layer, (and NOT using the url created by PurchaseOptions.inc) - but there's no way of presenting the required link url in gallery 2.
If anyone really expert at gallery2 methods wants to help out, I did put a post up here about it, but no-one's answered in 5 days...
it may need a small add on to create a new callback (gizmo?) to specifically place a link on the gallery main picture page, a link that can be loaded with the correct url for it's specific zencart product page, a url created by the zencart abstraction class etc.
I just don't know how to avoid having the gallery2 embed base path correction added in.
=================
Posts: 20
My beta Gallery2 module-add-on for linking into zencart 1.3.0
is at:
http://www.hareslade.com/zc125/download/BETA_GALLERY2_ZENCART1_3_INTEGRATION.zip
I need your expert beta-testing feedback ... does this fileset work OK?
I can't offer it to the original author for release officially, unless its been tested a bit, as he's not got time to look at it much
It seems to work ok for me
Please test it out, others with less knowledge may want to use it
For functional details, please refer to the official info that comes with the older zencart 1.2.xx version module, available on this site in the modules listings..
Posts: 397
I will drill down into it this eve. Will work on it with much interest and report back. This is an important element!