Page 2 of 3

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Mon 14. Jan 2008, 14:08
by musons

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Mon 14. Jan 2008, 19:52
by breitsch
Edit .../config/phpwcms/conf.inc.php

Code: Select all

$phpwcms['SESSION_FEinit'] = 1; // set 1 to enable sessions in frontend, 0 to disable sessions in frontend
this must be set to 1!
See page 5 in the tutorial right on top-

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Mon 14. Jan 2008, 23:44
by musons
ok. this things I missed.
now I can delete categories in backend, but in sql I can see that is not deleted. and once more time I can't add the same name categories

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Tue 15. Jan 2008, 00:24
by breitsch
This sounds like a bug. Activate it again in sql for the moment. I'm sure OG will fix that.

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Thu 21. Feb 2008, 13:58
by Kulinarisk
I have set up the module in 1.3.3 and it works fine. But when I click the category link it gives me a 404. It's as if it can't find the page. Why won't it load the category?
http://malbecvin.dk/index.php?Shop

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Thu 21. Feb 2008, 16:57
by update
Did you assign the product to a category (in products BE)?

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Thu 21. Feb 2008, 17:49
by Kulinarisk
I think so. look at dump

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Thu 21. Feb 2008, 18:40
by update
try to assign an id=4 for the shop instead of an aid=1 - perhaps you'll succeed

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Thu 21. Feb 2008, 19:20
by Kulinarisk
Next time you are in Copenhagen I'll treat you to a bottle of Malbec :P
Works!! Thanks

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Thu 21. Feb 2008, 19:32
by update
a bottle of Malbec
MMMMHH! ;)

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Thu 21. Feb 2008, 20:25
by Kulinarisk
I followed the tutorial like a slave - hence I used the ID for the category and not the ID for the content .
This is the ID:

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Thu 21. Feb 2008, 22:28
by Kulinarisk
Another stupid question. Playing around with the backend - I have deleted some categories (since the hierarchy is alphabetical) and somehow it hangs in sql when I reintroduce the same name. How do I clean the cache in mysql? Or is it a bug?

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Fri 22. Feb 2008, 01:13
by Jensensen
Kulinarisk wrote:...I have deleted some categories (since the hierarchy is alphabetical) and somehow it hangs in sql when I reintroduce the same name. How do I clean the cache in mysql?...
http://forum.phpwcms.org/viewtopic.php?p=75673#p75673

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Fri 22. Feb 2008, 11:53
by Kulinarisk
Tried it! Doesn't work for me :(

Re: Tutorial for shop-module and hack to use shop in 1.3.3

Posted: Fri 7. Mar 2008, 21:12
by nebenaube
musons wrote:I use snapshot phpwcms-2007-10-03 and successfuly install all
but ir shop module

in categories I seen this
Warning: Invalid argument supplied for foreach() in /home/terasat/public_html/shop/include/inc_module/mod_shop/inc/listing.categories.inc.php on line 214

and in products

Warning: Invalid argument supplied for foreach() in /home/terasat/public_html/shop/include/inc_module/mod_shop/inc/listing.products.inc.php on line 218
psst... look at your table names, do the tables for the shop match the naming pattern of the other tables in the database?