Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: 1 [2] 3 4 5 6 ... 21   Go Down

Author Topic: cpgShop - a PayPal shopping cart  (Read 183038 times)

0 Members and 1 Guest are viewing this topic.

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #20 on: November 02, 2010, 11:11:07 am »

This results from your attempt to install the plugin under another path.
With a tool like phpmyadmin delete the plugins database entry in the plugins table (by default that's cpg15x_plugins).
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

johnbcheetah

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #21 on: November 03, 2010, 06:44:04 am »

screwed up, deleted cpg15x_plugins table, now can't get into coppermine. So I guess I have to re-install Coppermine, right? I refuse to accept that even at over 60 I can't get this right!!
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #22 on: November 03, 2010, 08:48:34 am »

no, you shouldn't delete the plugins table but the shop plugin entry. Recreate the plugins table using phpmyadmin
Run that SAL in phpmyadmin when viewing the cpg database. Replace CPG_ with the prefix you're using eg. cpg15_

Code: [Select]
CREATE TABLE CPG_plugins (
  plugin_id int(10) unsigned NOT NULL auto_increment,
  name varchar(64) NOT NULL default '',
  path varchar(128) NOT NULL default '',
  priority int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (plugin_id),
  UNIQUE KEY name (name),
  UNIQUE KEY path (path)
) TYPE=MyISAM COMMENT='Stores the plugins';
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

johnbcheetah

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #23 on: November 03, 2010, 05:30:21 pm »

I've lost you I'm afraid.... "run that SAL.........."  I've spent hours today trying to work it out, but it's beyond my depth. Is there another way?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #24 on: November 03, 2010, 05:35:36 pm »

copy the above code into sql/update.sql (at the very end is a good place) then run update.php ( http://www.pictorious.fi/coppermine/update.php ). When done remove the code you've added to update.sql.
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

johnbcheetah

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #25 on: November 04, 2010, 12:26:27 pm »

At last! Gee thanks very much for your help and patience, I very much appreciate it, and it's a brilliant program too! Hope I didn't take too much of your time.

All the best, John
Logged

dshelley

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #26 on: November 04, 2010, 02:56:59 pm »

Stramm,

With the help you previously provided I have been able to get the shop configured and working - thanks!.

I have a question - I'm trying to use only COD as the gateway and I want the COD fee to be $0. If I set this in the config, I get this error on Checkout:

Error
There is a problem with cart or shipping data. Please go back and fix:

    * Data inconsistent: It seems that product data has changed since you're shopping. Please start the checkout again and verify the values

The only way to clear the error and finish checkout is to set the Gateway fee to something other than $0. Is this behaviour expected?

Regards,
Doug
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #27 on: November 04, 2010, 03:16:10 pm »

If you do not want to charge a fee, then disable the fee
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

dshelley

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #28 on: November 04, 2010, 03:26:47 pm »

Sorry, I should have added - if I disable the COD fee then I have no gateways, which doesn't work either. It won't the checkout continue if you have no gateways.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #29 on: November 04, 2010, 03:42:24 pm »

You need a gateway... how do you want your customers to pay? The minimum is to display the wire information. That one you can customize to show the wire info or if you want, that your customers should bring cash when they pick up the goods.
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

dshelley

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #30 on: November 04, 2010, 03:49:34 pm »

At this point, my "market" is constrained to a group of people at a skating club so I print the photos and accept payment on delivery. The Wire Transfer options appears to work. How do I change the text of "Wire Transfer"? do I edit the language file?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #31 on: November 04, 2010, 04:27:25 pm »

yes, cpgshop_wire_enable is the key

However cod should work also if you enable cod but disable charging a fee for it
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

dshelley

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #32 on: November 04, 2010, 04:42:23 pm »

ok, thx

On the COD, as far as I can tell I did enable it with 0 fee which generated the error that I put in one of my previous posts. The $0 fee seems to be triggering some condition that generates that error message during checkout.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #33 on: November 04, 2010, 04:47:56 pm »

That's why I told you to disable charging a fee if you do not want to do it.

Edit: the error message is not really an error message. I use that to verify if the shops form data hasn't been modified in any way. If something seems to be fishy then you get tha 'data inconsistent' message.
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

johnbcheetah

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #34 on: November 05, 2010, 10:29:31 am »

Hi again. Having activated cpgShop in general shop settings and configured some settings, there appears no box or icon for the user to make a purchase, just a small window of "view cart(0)" which appears in all wndows, even in admin config windows.
Furthermore, (and I don't know if it's relevant but it didn't happen before I installed cpgShop), there comes an Error message when clicking on "Register" and "My profile."
Whenn clicking on My profile:

/include/functions.inc.php

    * Notice line 184: Undefined index: dbcharset

/plugins/cpgshop/libs/cpgTool.class.php

    * Notice line 197: Undefined variable: fileORcontent

/profile.php

    * Notice line 589: Undefined variable: lastComByText
    * Notice line 592: Undefined index: thumb
    * Notice line 593: Undefined variable: lastComDate
    * Notice line 600: Undefined variable: lastUploadByText

when clicking on Reigster:

/include/functions.inc.php

    * Notice line 184: Undefined index: dbcharset

/plugins/cpgshop/libs/cpgTool.class.php

    * Notice line 197: Undefined variable: fileORcontent
    * Notice line 197: Undefined variable: fileORcontent

/plugins/cpgshop/codebase.php

    * Notice line 384: Undefined variable: icon_array
    * Notice line 388: Undefined variable: icon_array
    * Notice line 388: Undefined variable: icon_array
    * Notice line 388: Undefined variable: icon_array
    * Notice line 388: Undefined variable: icon_array
    * Notice line 388: Undefined variable: icon_array
    * Notice line 388: Undefined variable: icon_array
    * Notice line 388: Undefined variable: icon_array
    * Notice line 390: Undefined variable: icon_array

Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #35 on: November 05, 2010, 10:39:47 am »

That's debug output you probably have enabled in config. Disable it if it means nothing to you (that's not shop related).

Have you read the documentation of the shop and configured it properly? Otherwise you won't see purchease options.
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

johnbcheetah

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #36 on: November 05, 2010, 03:22:46 pm »

I've disabled debug..... I just wanted to show it to you. My problem is that when I disable plugins (cpgShop is the only one I use), the Registger and Profile work properly, but not when I enable the plugin.
If you like you're  welcome to get in there, but I'd need to let you have the password somehow.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #37 on: November 05, 2010, 04:35:48 pm »

Switch to english and see if the login problem persists. And of course a testuser account would be useful.
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

johnbcheetah

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #38 on: November 05, 2010, 05:09:50 pm »

it IS in English, and there's a test user account that I use.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #39 on: November 05, 2010, 05:11:55 pm »

there's a test user account that I use.
Stramm asked for the login details so he can perform some tests ::)
Logged
Pages: 1 [2] 3 4 5 6 ... 21   Go Up
 

Page created in 0.021 seconds with 20 queries.