Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
March 18, 2010, 06:26:02 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
WB 2.8.1 released!
Download and additional information are available
here
.
110327
Posts in
15933
Topics by
9291
Members
Latest Member:
topwzp
WebsiteBaker Community Forum
English
Modules
(Moderators:
Argos
,
BerndJM
)
New shopping module
Pages:
[
1
]
2
Author
Topic: New shopping module (Read 17694 times)
saschas
Offline
Posts: 41
New shopping module
«
on:
August 12, 2007, 06:00:36 PM »
So, after a lot of people asking in here for an onlineshop module, I decided to code one.
This is the first absolute alpha release and still doesn't run correctly in some point. especially:
standard lang is nl to be changed to uk
include langfile de
error on linking, looks for view.php which is not needed, but internal preview from /admin works
error on logout, file inclusion missing
missing "back to admin" button at end of installation routine
install.php and FreeWebshop.sql are not unlinked at
folder permissions for orders and images has to be set to 777 in install.php
including menues does not work
For this shop in original has no table prefixing, I had to rewrite a lot of code.
To all developers, please test the shop to find more errors and get it to the next level which would be somthing like "working"
The module is originally based on
http://www.freewebshop.org
and, when finished should have the same installation manner as the old SMF Forum.
Greetings from belgium, Sascha
«
Last Edit: August 12, 2007, 07:22:34 PM by saschas
»
Logged
saschas
Offline
Posts: 41
Re: New shopping module
«
Reply #1 on:
August 12, 2007, 07:27:04 PM »
o.k., next step. version 0.3Alpha
I solved:
standard lang is uk now
added german language files
linking works
logout error works (at least it worked on my localhost)
added back to admin and goto shop links
added folder permissions
including menus still does not work
More to come, Sascha
«
Last Edit: August 16, 2007, 08:20:30 PM by saschas
»
Logged
saschas
Offline
Posts: 41
Re: New shopping module
«
Reply #2 on:
August 13, 2007, 11:06:20 AM »
Next TODOS:
WB specific:
Put the WB menu in top of the theme or add a link back to WB
use the Captcha of WB to get rid of filesize
use the WB editor to get rid of filesize
FreeWebShop specific:
add template upload
??add template editor??
??add language editor??
IF you tested the shop, please report buggs only here
Greetings from belgium, Sascha
Logged
Vincent
Offline
Posts: 314
Re: New shopping module
«
Reply #3 on:
August 14, 2007, 03:18:29 PM »
This looks very promising, Sascha, so keep going!
Installation is flawless. After playing around a little I encountered only one error:
Code:
Table 'wb.payment' doesn't exist
But it surely wil be a valuable addition to WB if it works.
Regards, en zet 'm op
Vincent
«
Last Edit: August 14, 2007, 03:25:44 PM by Vincent
»
Logged
saschas
Offline
Posts: 41
Re: New shopping module
«
Reply #4 on:
August 14, 2007, 04:45:37 PM »
Quote from: Vincent on August 14, 2007, 03:18:29 PM
After playing around a little I encountered only one error:
Code:
Table 'wb.payment' doesn't exist
Vincent
Hi Vincent, thanks for your feedback.
Could you please specivy where exactly that error occured??
This happens cause I forgot to add the tableprefixing in one of the files.
Greetings from belgium, Sascha
Logged
saschas
Offline
Posts: 41
Re: New shopping module
«
Reply #5 on:
August 14, 2007, 05:06:22 PM »
AHHHH found the error, complete forgot to add tableprefixing to the payment table.
Here the new release with bugfixes.
For those who want to change things by hand:
1) replace `payment` in /fws by `".TBL_PREV."payment` please watchout that you have "casesensitive" checked cause there are also some fieldnames called `PAYMENT`.
2) in checkout.php replace in line 59 `".TBL_PREV."shipping` by `SHIPPING` cause thats a fieldname not a table.
Greetings from belgium, sascha
«
Last Edit: August 18, 2007, 02:09:51 PM by saschas
»
Logged
DGEC
Offline
Posts: 382
Re: New shopping module
«
Reply #6 on:
August 14, 2007, 07:07:55 PM »
Quote from: saschas on August 12, 2007, 06:00:36 PM
For this shop in original has no table prefixing, I had to rewrite a lot of code.
.......
The module is originally based on
http://www.freewebshop.org
and, when finished should have the same installation manner as the old SMF Forum.
Thanks so much for working on this.
- Er, how is the installation method different from normal modules, exactly?
(I haven't had a chance to install and look through it yet, so I hope these aren't stupid questions.)
- By no table prefixing, do you mean you changed the nice, clean CSS-only code to use tables?
- Also, which version of the FWS did you use? There's a new one that is almost out now, with some useful changes.
Logged
Vincent
Offline
Posts: 314
Re: New shopping module
«
Reply #7 on:
August 14, 2007, 07:15:47 PM »
@DGEC: normal install procedure thopugh WB admin interface. Works like a charm.
- Only the content uses tables, it looks pretty clean to me.
- it look like it's a brand new version, the changelog says 10-8-07.
@Sascha:
Yeh, that did the trick.
I guess we'll have to do some more testing to see what problems may come up.
Regards, and thanks for now,
Vincent
«
Last Edit: August 14, 2007, 07:21:00 PM by Vincent
»
Logged
tomhung
Offline
Posts: 352
Re: New shopping module
«
Reply #8 on:
August 14, 2007, 07:52:06 PM »
What is needed to wrap this in the WB template?
Logged
saschas
Offline
Posts: 41
Re: New shopping module
«
Reply #9 on:
August 14, 2007, 09:16:51 PM »
Quote from: DGEC on August 14, 2007, 07:07:55 PM
- Er, how is the installation method different from normal modules, exactly?
Normal modules (WB coded) have a view.php and are displayed within WB. You only need one WB internal setup an the module works. FWS has 2 install procedures, one to integrate it with a link into WB, second FWS installation itself.
Quote from: DGEC on August 14, 2007, 07:07:55 PM
- By no table prefixing, do you mean you changed the nice, clean CSS-only code to use tables?
No, FWS templating is as provided by the software itself. But on FWS installation there
is
was no possibility to add prefixes to the mysql tables itself, but for the integration itself I needed the TABLE_PREFIX from config.php + somethin like "_mod_freewebshop" for a clean integration.
Quote from: DGEC on August 14, 2007, 07:07:55 PM
- Also, which version of the FWS did you use? There's a new one that is almost out now, with some useful changes.
It's the latest 2.2.6 WIP 2, WIP3 will come end of the month and will be upgrated then.
Quote from: tomhung on August 14, 2007, 07:52:06 PM
What is needed to wrap this in the WB template?
Freewebshop as punBB and SMF Forum can't be that easy wrapped into WB, they allways will stay as separate software. This is because it is not a WB coded module that uses a lot of _GET _POST stuff that might cause colitions with the WB code. The team that coded SMF had the same problems.
If you want to wrap this into your WB, try a normal installation and use the wrapper module to integrate it. But eaven that might cause problems.
Thx for the feedback, Sascha
Logged
DGEC
Offline
Posts: 382
Re: New shopping module
«
Reply #10 on:
August 14, 2007, 11:25:34 PM »
Ah! Got it now. Can't wait to try it out
Logged
saschas
Offline
Posts: 41
Re: New shopping module
«
Reply #11 on:
August 15, 2007, 12:10:13 AM »
o.k, tested a little bit more to get on with my TODO's
WB specific:
Put the WB menu in top of the theme or add a link back to WB
use the Captcha of WB to get rid of filesize
use the WB editor to get rid of filesize
1) still to do but this is just a templating question
2) impossible or yust with imense codeing wich would makes updating harder
3) same as 2) => other configuration coding is used
FreeWebShop specific:
add template upload
??add template editor??
??add language editor??
Will come later after debugging is done with the official FWS releases.
Greetings from belgium, Sascha
Logged
chaozz
Offline
Posts: 2
Re: New shopping module
«
Reply #12 on:
August 15, 2007, 08:59:31 AM »
It's chaozz, the programmer of FreeWebshop.org. I just wanted to say that if you guys need any help, I'm more then willing to assist. Further more I wanted to say that 2.2.6 WIP_build3 is out. It's not the last WIP for the final I think, but this version is pretty close to the final release.
The main changes to build2 are template related. I've added an extra template just to show how easy the shop can be changed in appearance.
Good luck with the WB module.
Logged
saschas
Offline
Posts: 41
Re: New shopping module
«
Reply #13 on:
August 16, 2007, 12:12:47 AM »
Found another bug wich will be fixed with the next release wich will include FreeWebShop2.2.6WIP
3
in /modules/freewebshop/fws/errorlogadmin.php I missed to add Tableprefix (yes, again)
There are 2 sql statement where you have to `".TBL_PREV."errorlog` instead of `errorlog`.
Greetings, Sascha
Logged
escpro
Offline
Posts: 528
schau ma moi
Re: New shopping module
«
Reply #14 on:
August 17, 2007, 07:16:10 PM »
hi saschas very nice
Logged
esc-frühlingsgefühle
Spielerei
|
Websitebaker Templates
saschas
Offline
Posts: 41
Re: New shopping module
«
Reply #15 on:
August 18, 2007, 02:12:47 PM »
New Update available
This one includes Freewebshop 2.2.6 WIP3 + german language files + inclusion of WB_menu in topmenu and header.
Greetings from belgium
«
Last Edit: August 18, 2007, 06:46:04 PM by saschas
»
Logged
saschas
Offline
Posts: 41
Re: New shopping module
«
Reply #16 on:
August 18, 2007, 06:34:30 PM »
Stupid me, one error in /freewebshop/fws/tamplates/default/template.html
on line 50 there is an undefined function I wanted to use at first called wb_menu() its obsolete, please delete that line.
Greetings from belgium, Sascha
Logged
saschas
Offline
Posts: 41
Re: New shopping module
«
Reply #17 on:
August 18, 2007, 06:47:53 PM »
O.k., fixed the template error for /default and another bug in topmenu.php
Greetings, Sascha
Logged
Bramus
Forum Team
Offline
Posts: 484
Re: New shopping module
«
Reply #18 on:
August 18, 2007, 08:08:17 PM »
I did install this module on IIS6 + PHP5.2 and i can't configure it. Guess it is something with unix paths or something? I'm getting this error:
Code:
Error: Couldn find includes\settings.inc.php
The file excists
Code:
Make sure http://cs-panel.bramus.nl/modules/freewebshop/fws/includes/settings.inc.php is chmodded to 777
What could be wrong?
Ok after checking the install.php myself i found out that something is not working with IIS. I did change the following:
Code:
Line: 119 find: $filename = " /includes/settings.inc.php";
Change too
$filename = "C:\\Path\\To\\The\\File\\settings.inc.php";
So use two backslashes as needed in php and then this error is working. Maybe use the $filename also from a variable from the config.php? so you get the relative path and not the web path?
And i think this is for all the php files that are being used, editing main page isnt possible. So i guess there is a lot to change to get it to work @ IIS. it says the file main.txt (for example) isn't writeable while the rights are 777 (full) for the IUSR_<server> (about the same error as with install).
Hope you can fix this cause there are also people who are running on IIS or something
«
Last Edit: August 18, 2007, 08:35:22 PM by Bramus
»
Logged
BRAMUS.NL Internet Services
Webhosting - VPS - Domeinregistratie - Webdesign
WebsiteBaker Supported on Linux with DirectAdmin!
DGEC
Offline
Posts: 382
Re: New shopping module
«
Reply #19 on:
August 20, 2007, 11:33:15 PM »
After doing the install and going to the page, doing the setup (except for the SMTP server) I get errors in the menu, it looks like.
At the top of the page, I get:
Code:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
in /home/example.com/public_html/wbfolder/modules/freewebshop/fws/templates/default/template.html on line 23
Then the logon & slogan, then
Code:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
in /home/example.com/public_html/wbfolder/modules/freewebshop/fws/topmenu.php on line 7
This is wb 2.6.5 and Menu2 installed. (Redhat & PHP4.x if it makes any difference)
It could be another database table prefix issue - does it always read the actual database resource from the config file or does it assume the URL and datbase path are the same?
In my case, example.com is not the site address, it's wbfolder.com. I.e. the true URL is a subdomain of wbfolder.examples.c
om and is mapped to wbfolder.com so it can't assume anything!
Logged
cmlawson
Offline
Posts: 43
Re: New shopping module
«
Reply #20 on:
September 02, 2007, 05:39:45 AM »
Stupid Question: Where I can I download this thing? I'd like to give it a try.
CML
Logged
BerndJM
Moderator
Offline
Posts: 1677
Re: New shopping module
«
Reply #21 on:
September 02, 2007, 06:47:16 AM »
Stupid question:
Is it too hard to read the
whole
thread about an issue one is interessted in?
Regards Bernd
Hint: normaly the latest developement version is attatched to one of the postings from the starter of the thread
Logged
Recommended site of the day:
Help-Projekt
|
no
support via email or pm !!!
cmlawson
Offline
Posts: 43
Re: New shopping module
«
Reply #22 on:
September 02, 2007, 06:28:59 PM »
lol... I know, I know.
I just don't see it attached anywhere? I'm looking in the wrong place. I need a little guidance for my eye.
CML
Logged
saschas
Offline
Posts: 41
Re: New shopping module
«
Reply #23 on:
September 02, 2007, 06:55:53 PM »
http://forum.websitebaker.org/index.php/topic,7042.msg43747.html#msg43747
Have Fun, Sascha
By the way, there is only one file attached in this Thread cause I delete all deprecated once
Logged
Vincent
Offline
Posts: 314
Re: New shopping module
«
Reply #24 on:
September 02, 2007, 08:42:32 PM »
Sacha, I get the same errors as DGEC.
Any clues?
Regards,
Vincent
Logged
Pages:
[
1
]
2
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
Loading...