Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 23, 2012, 08:14:29 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155440
Posts in
21702
Topics by
7732
Members
Latest Member:
Smacki
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
[Solved] Problem with Gocart module
Pages: [
1
]
Go Down
Author
Topic: [Solved] Problem with Gocart module (Read 634 times)
mikejd
Offline
Posts: 160
[Solved] Problem with Gocart module
«
on:
September 09, 2008, 10:52:29 AM »
I have just had a major problem with my site due to a loss of hosting with a consequent loss of all files. Fortunately I was able to resurrect the database with all the information intact. I just had to reinstall WB and all modules including Gocart.
The original installation was, I think, WB 2.6.0. I have now installed 2.6.5 (tried 2.7 but this did not work with the old database) and i installed Gocart 1.6.2. This is working more or less but i am getting error messages on the page display:
Notice: Constant THUMB_PREPEND already defined in E:\domains\d\deveron-arts.com\user\htdocs\wb\modules\gocart\view.php on line 5
Notice: Constant THUMB_APPEND already defined in E:\domains\d\deveron-arts.com\user\htdocs\wb\modules\gocart\view.php on line 6
Notice: Constant NEW_ROW already defined in E:\domains\d\deveron-arts.com\user\htdocs\wb\modules\gocart\view.php on line 7
Also in the item description it is showing some fields instead of currency and shipping info (ie [CURRENCY] AND [SHIPPING]).
I guess its a question of which version I am using, I can't now recall which one I used originally. Perhaps I need to upgrade? Any advice welcomed.
Mike Davies
«
Last Edit: September 18, 2008, 10:05:12 AM by mikejd
»
Logged
mikejd
Offline
Posts: 160
Re: Problem with Gocart module
«
Reply #1 on:
September 09, 2008, 02:38:14 PM »
I have managed to uninstall Gocart 1.6.2 and install 1.6.4RC1and reinstated the database and page. This has corrected the display problem with currency and shipping costs.
However, the other error messages relating to the constants already defined remains.
Any assistance welcome
Mike
Logged
kweitzel
Forum administrator
Offline
Posts: 6975
Re: Problem with Gocart module
«
Reply #2 on:
September 11, 2008, 01:52:41 PM »
Go-Cart has not been activly developed for some time ... check out the bakery shop module.
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
mikejd
Offline
Posts: 160
Re: Problem with Gocart module
«
Reply #3 on:
September 15, 2008, 10:17:11 AM »
I have now added the Bakery module and will be adding a page based on this. Thanks.
Perhaps the Gocart module should be removed from the list of modules on the Addons page of the website if it is no longer in active development? Maybe there should be a category of outdated modules?
regards,
Mike
Logged
mikejd
Offline
Posts: 160
Re: [Solved] Problem with Gocart module
«
Reply #4 on:
September 18, 2008, 10:10:49 AM »
I tried the Bakery module with some success but it didn't solve the original problem. The problem is due to trying to have a number of instances of the Gocart (or Bakery) module on the same page. This results in repeated definitions of the same constants.
I solved it by adding a code section before the Gocart sections and copying the lines defining the constants from the view.php file into it. I then deleted those lines from view.php. The constants are therefore only defined once and the problem disappears. Probably not the most elegant solution but it works.
regards,
Mike
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> 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
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> 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
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...