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

Get help with installation and running official modules for phpwcms here. Please do not post bug reports or feature requests here.
musons
Posts: 43
Joined: Sun 9. Jan 2005, 21:36

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

Post by musons »

breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

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

Post 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-
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
musons
Posts: 43
Joined: Sun 9. Jan 2005, 21:36

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

Post 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
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

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

Post by breitsch »

This sounds like a bug. Activate it again in sql for the moment. I'm sure OG will fix that.
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
Kulinarisk
Posts: 73
Joined: Tue 15. Jun 2004, 01:06
Location: Denmark
Contact:

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

Post 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
Attachments
Billede 3.png
Billede 5.png
Billede 4.png
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

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

Post by update »

Did you assign the product to a category (in products BE)?
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Kulinarisk
Posts: 73
Joined: Tue 15. Jun 2004, 01:06
Location: Denmark
Contact:

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

Post by Kulinarisk »

I think so. look at dump
Attachments
Billede 2.png
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

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

Post by update »

try to assign an id=4 for the shop instead of an aid=1 - perhaps you'll succeed
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Kulinarisk
Posts: 73
Joined: Tue 15. Jun 2004, 01:06
Location: Denmark
Contact:

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

Post by Kulinarisk »

Next time you are in Copenhagen I'll treat you to a bottle of Malbec :P
Works!! Thanks
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

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

Post by update »

a bottle of Malbec
MMMMHH! ;)
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Kulinarisk
Posts: 73
Joined: Tue 15. Jun 2004, 01:06
Location: Denmark
Contact:

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

Post 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:
Attachments
Billede 3.png
Kulinarisk
Posts: 73
Joined: Tue 15. Jun 2004, 01:06
Location: Denmark
Contact:

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

Post 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?
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

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

Post 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
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
Kulinarisk
Posts: 73
Joined: Tue 15. Jun 2004, 01:06
Location: Denmark
Contact:

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

Post by Kulinarisk »

Tried it! Doesn't work for me :(
nebenaube
Posts: 139
Joined: Fri 23. Nov 2007, 20:39
Location: Redlands, CA
Contact:

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

Post 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?
Post Reply