Zencart causing me problemo's
argonaught
Joined: 2006-04-06
Posts: 13 |
![]() |
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. Thanks |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
there is a README included with the zcg2 download that has instructions.. do those help? |
|
giventofly76
Joined: 2005-01-01
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: |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
hard to help without more information.. |
|
giventofly76
Joined: 2005-01-01
Posts: 23 |
![]() |
Gallery version:2.1 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. |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
what did you click, what did you enter, what happened, exact error message? |
|
giventofly76
Joined: 2005-01-01
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. |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
maybe try again with G2 in 'immediate' debug mode in config.php and attach the output here (or post a link). |
|
Raven69
![]()
Joined: 2004-01-16
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: which says: so I checked and searched and .... found: include the following line to 'G2_DIR'/modules/zencart/classes/ZenCartAbstraction.class: and it should work (and don't forget to define 'IS_ADMIN_FLAG', 'true') greetz from Vienna, Austria EUROPE RaVen |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
maybe try the latest 1.2.x version of zencart. |
|
giventofly76
Joined: 2005-01-01
Posts: 23 |
![]() |
giventofly76
Joined: 2005-01-01
Posts: 23 |
![]() |
1.2.7d works. Thanks for the awesome suggestion. |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
Thanks for the confirmation.. I've noted that only 1.2.x works on the zcg2 codex page. |
|
toastmaster
Joined: 2003-05-01
Posts: 219 |
![]() |
Does anyone actually have this integrated and working in a site I can look at? |
|
Raven69
![]()
Joined: 2004-01-16
Posts: 24 |
![]() |
I'm starting with integration of zencart (v. 1.3) and gallery2 (v. 2.1). greetz from Vienna, Austria EUROPE RaVen |
|
kvenator
Joined: 2005-12-09
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 |
|
toastmaster
Joined: 2003-05-01
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! |
|
kvenator
Joined: 2005-12-09
Posts: 11 |
![]() |
let me know if you find anything like that. The option that I'm considering which is not quite ready is: |
|
ekitel
Joined: 2005-08-17
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? |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
as mentioned in the docs, and just a few posts up, use 1.2.x |
|
jcan
Joined: 2006-05-07
Posts: 2 |
![]() |
Well, after configruration of zen cart integration modules Gallery 2.1 any suggestion realy appreciate ps: |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
did you go back to site admin / modules? what DO you see for zencart? |
|
jwashburn
Joined: 2006-05-24
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 |
|
jesphoto
![]()
Joined: 2006-02-27
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. looking trought the glass of a lenses |
|
jesphoto
![]()
Joined: 2006-02-27
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. looking trought the glass of a lenses |
|
cc5henry
Joined: 2006-06-15
Posts: 12 |
![]() |
jesphoto wrote:
Remove 1.3 and installed 1.27.Works, butr I have no tumbnails. Images do not show. My images in G2 are 800X600. Hmm really weird.. Dunno if the ZC can handle that size but it should have worked in the beginning. |
|
kvenator
Joined: 2005-12-09
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. |
|
hareslade
Joined: 2006-07-16
Posts: 20 |
![]() |
I'm just taking faltering steps to attempt modification of the zencart add on for 1.3, in file Around line 125, ABOVE this code line: $zenBaseClassAbstraction = $this->_path . 'includes/classes/class.base.php'; if (!$platform->is_file($zenBaseClassAbstraction)) { return GalleryCoreApi::error(ERROR_BAD_PATH, __FILE__, __LINE__); } require_once($zenBaseClassAbstraction); //defeat the zc1.3 illegal access notes if (!defined('IS_ADMIN_FLAG')) define('IS_ADMIN_FLAG', true); 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 ... |
|
drhiii
Joined: 2003-04-27
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... |
|
hareslade
Joined: 2006-07-16
Posts: 20 |
![]() |
Hi - zencart 1.3 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 ============sob story... 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. ================= |
|
hareslade
Joined: 2006-07-16
Posts: 20 |
![]() |
My beta Gallery2 module-add-on for linking into zencart 1.3.0 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.. |
|
drhiii
Joined: 2003-04-27
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! |
|