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 7 ... 21   Go Down

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

0 Members and 1 Guest are viewing this topic.

johnbcheetah

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

I'd like to give it, but on this public platform? (I'm a novice to forums)
Logged

johnbcheetah

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #41 on: November 06, 2010, 09:58:24 am »

Stramm, how can I give you my password? Have you an e-mail address?
Logged

Stramm

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

Just give me a user/ password fo a non admin testuser account. That you can post here. If I should need an admin account later I'll send you a PM.
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 #43 on: November 06, 2010, 03:02:15 pm »

user: miloff     Password: 20tanssi10       Albums  made inaccessible because they for restricted registered viewers, (ballet school pictures involving kids), but of course they are visible should you go through admin.... let me know.
Logged

hfxmedic

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #44 on: November 07, 2010, 02:26:03 pm »

Hello all:

I'm having a tough go at my install.  I have satisfied all the requirements for PAY integration however one demon has poked its head out that I cannot seem to squash.

My problem is that when I have the plugin installed it will not allow users to register and provides the following error:

Code: [Select]
Critical error
Invalid action for form creation select

File: /home/them1765/public_html/photographs/register.php - Line: 384

my debug txt shows:
Code: [Select]
USER:
------------------
Array
(
    [ID] => a0ac3493114a90e16aa881030e91a034
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 530
            [1] => 526
            [2] => 561
            [3] => 10
        )

    [liv_a] => Array
        (
            [0] => 29
            [1] => 1
            [2] => 5
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 0
    [user_name] => Guest
    [groups] => Array
        (
            [0] => 3
        )

    [group_quota] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 0
    [can_post_comments] => 0
    [can_upload_pictures] => 0
    [can_create_albums] => 0
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [access_level] => 2
    [disk_max] => 0
    [disk_min] => 0
    [has_admin_access] => 0
    [group_name] => Guests
    [can_see_all_albums] => 0
    [group_id] => 3
    [allowed_albums] => Array
        (
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT name, value FROM cpg_config [include/init.inc.php:181] (1 ms)
    [1] => SELECT * FROM cpg_plugins ORDER BY priority [include/plugin_api.inc.php:54] (0 ms)
    [2] => SELECT user_id, time FROM `them1765_copp3`.cpg_sessions WHERE session_id = 'd51eb1c37062472075b95d6d0eb59289' [bridge/coppermine.inc.php:264] (0 ms)
    [3] => SELECT user_id, user_password FROM `them1765_copp3`.cpg_users WHERE user_id = 0 [bridge/coppermine.inc.php:276] (0 ms)
    [4] => SELECT MAX(group_quota) AS disk_max, MIN(group_quota) AS disk_min, MAX(can_rate_pictures) AS can_rate_pictures, MAX(can_send_ecards) AS can_send_ecards, MAX(can_post_comments) AS can_post_comments, MAX(can_upload_pictures) AS can_upload_pictures, MAX(can_create_albums) AS can_create_albums, MAX(has_admin_access) AS has_admin_access, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS  priv_upl_need_approval FROM cpg_usergroups WHERE group_id in (3) [bridge/udb_base.inc.php:321] (0 ms)
    [5] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 3 [bridge/udb_base.inc.php:325] (0 ms)
    [6] => SELECT aid FROM cpg_albums WHERE moderator_group IN (3) [include/init.inc.php:271] (0 ms)
    [7] => SELECT lang_id FROM cpg_languages WHERE enabled='YES' [include/init.inc.php:329] (0 ms)
    [8] => SELECT * FROM cpg_plugins [plugins/slider/include/load_sliderset.php:23] (0 ms)
    [9] => SELECT * FROM cpg_plugin_slider [plugins/slider/include/load_sliderset.php:35] (0 ms)
    [10] => SELECT name, value FROM cpg_cpgshop_config [plugins/cpgshop/libs/cpgDB.class.php:24] (0 ms)
    [11] => DELETE FROM cpg_banned WHERE expiry < '2010-11-07 07:43:35' [include/init.inc.php:443] (0 ms)
    [12] => SELECT null FROM cpg_banned WHERE ('24.224.220.204' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:459] (0 ms)
    [13] => SELECT aid FROM cpg_albums WHERE (1  AND visibility != 0 AND visibility != 10000 AND visibility NOT IN (3)) [include/functions.inc.php:967] (0 ms)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
    [agree] => I agree
)

==========================
COOKIE :
------------------
Array
(
    [cpg15x_data] => YTo1OntzOjI6IklEIjtzOjMyOiJhMGFjMzQ5MzExNGE5MGUxNmFhODgxMDMwZTkxYTAzNCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTo0OntpOjA7czozOiI1MzAiO2k6MTtzOjM6IjUyNiI7aToyO3M6MzoiNTYxIjtpOjM7czoyOiIxMCI7fXM6NToibGl2X2EiO2E6Mzp7aTowO2k6Mjk7aToxO2k6MTtpOjI7aTo1O319
    [2f693be5e2e513e933fbdabdc840ac86] => f1f0c37d59582792c8b7bdfbcd931eda
    [cpg15x_cpgshop] => YToyOntzOjQ6ImNhcnQiO2E6MDp7fXM6NzoicHJvZmlsZSI7YTowOnt9fQ==
    [PHPSESSID] => 371a72bd182b5390e17a9b471a398949
)

==========================
SESSION :
------------------
Array
(
    [php_captcha] => 291574fd3034f61c524191033cc46c64
)

==========================
               


Any help would be appreciated.

the site:  www.photographs.themonkeysfist.ca
Logged

hfxmedic

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: [cpg1.5.x]: cpgShop - a PayPal shopping cart
« Reply #45 on: November 07, 2010, 02:40:17 pm »

oh... I've created a tester account as well (if by chance someone wants to help me out)

user: tester
passwrd: coppermine

thanks again.
Logged

Stramm

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

I see... give me some days
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 #47 on: November 10, 2010, 04:32:50 pm »

Stramm, I'm finding more bugs that prevent me from using the shop. For example the "view cart" ikon apears in all windows, including guests, showing what another visitor has got in it.
Also although I've set the prices  and options in their respective categories, I can't get the prices to show when making a "purchase". And as previously mentioned the "profile" and "register" buttons show "error" when cpgShop is active.
Just a little thing I'd like to mention Stramm, "Surname", "Name" and "Last Name" all mean the same thing, so I would advise to use "First Name" and "Last Name" to save any confusion?
Logged

Stramm

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

Stramm, I'm finding more bugs that prevent me from using the shop. For example the "view cart" ikon apears in all windows, including guests, showing what another visitor has got in it.

The basket items are stored in a cookie. So it doesn't matter if you're shopping as a guest and then you log in. Once you checked out, the data is stored in the db an dbound to your account.

Quote
Just a little thing I'd like to mention Stramm, "Surname", "Name" and "Last Name" all mean the same thing, so I would advise to use "First Name" and "Last Name" to save any confusion?
If someone is willing to correct my english I won't mind at all.

Quote
Also although I've set the prices  and options in their respective categories, I can't get the prices to show when making a "purchase". And as previously mentioned the "profile" and "register" buttons show "error" when cpgShop is active.

Elaborate more.. I do not know what you mean and I can't replicate your issue with the register and profile. Make sure everything is uploaded correctly. Maybe reupload all files. If that doesn't help please post the php version you use.
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 #49 on: November 11, 2010, 08:44:09 am »

1)OK, I'll check on another computer under another name and see if there's still thhat problem, but I think your explanation makes good sense.

2) your English is excellent, and most mistakes are trivial, but I felt I needed to point this one out, though I don't want to hurt any feelings!

3) I think you'd have to get  into my admin to see more precisely what I mean, so if you give me your mail address..... if cpgShop is active, it's not possible to register or look at profile.
PHP Version 5.3.3-0.dotdeb.1
Logged

Stramm

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

Please check if it's working for you now (shame on me btw).
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 #51 on: November 11, 2010, 03:16:29 pm »

Great, thats the profile and register solved, thanks!
Do you think you could check the settings on the Price Manager, Price Set Manager and Options? , If I try to make a purchase it doesn't register or confirm the size or price.... but it might be just me not having set the thing right in the managers. In the options manager I tried to put 0.90/2.00/4.00 as values, but it only registers 0.90, and "0" when I try to  purchase a picture, and empty in the "Item and option price" window.
By the way, in the window "add image to shopping basket".....  what's the icon (an arrow) underneath the pictures which shows a small box when you click on it, but nothing happens?  (I know that the "add" box is on the right of the picture)
Logged

Stramm

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

You need to give price and option groups names. I use the names to identify the groups so the prices won't display without.
Check your 2010 album. Here I've reenabled the shop for the named groups.
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 #53 on: November 11, 2010, 05:05:06 pm »

ok, gotcha.... thanks for the help! I'll work on this tonight..... getting there! There are some things I would reword for the customer, but I wouldn't maybe later when I get cleverer!
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: cpgShop - a PayPal shopping cart
« Reply #54 on: November 11, 2010, 08:20:04 pm »

New version cpgShop 1.0.1 with  fix of the profile and regiter page issue is up. I've lso fixed the german lang file encoding.
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

RVB Pixels

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: cpgShop - a PayPal shopping cart
« Reply #55 on: November 11, 2010, 10:15:48 pm »

Hi,
First of all I would like to thank you for this fine work.
I've installed without too much problems..., although still testing.

One question, (well there will probably be more) is there a way to have the 'thank you' messages in differents languages.
I've translated and have a French language file for the plugin, but don't know how we can translate on the fly the thank you messages at the end of transactions.

OOps another question, to update to this new version 1.0.1 do we just overwrite the older files? There are no database changes?

kindest regards,
RVB
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: cpgShop - a PayPal shopping cart
« Reply #56 on: November 12, 2010, 12:26:21 am »

No database changes in this version so just overwrite the files. You can read how to do a correct upgrade in the docs.

The language question. I had my thoughts on that already cause of the document management in the shop admin different languages aren't supported atm. However I intend to code some fallback so you can switch to a document management via lang files.
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

hfxmedic

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: cpgShop - a PayPal shopping cart
« Reply #57 on: November 12, 2010, 03:44:33 am »

Stramm,

Thank you very much for the update :)  Working perfectly now.
Logged

johnbcheetah

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: cpgShop - a PayPal shopping cart
« Reply #58 on: November 12, 2010, 07:53:45 am »

Hi again! My wife wants to translate all the text (especially payment instructions) into Finnish. Is this possible, or do we have to be nuclear scientists?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: cpgShop - a PayPal shopping cart
« Reply #59 on: November 12, 2010, 09:32:01 am »

It's easy. In the document management most used texts are stored (in english). Check the docs if you need to know what each file does. These you can modify as you wish.
The rest is done in a language file. Copy the contents of plugins/cpgshop/lang/english.php into a new text file and name it finnish.php. Now start translating (the text after => ). If the text is in double quotes, you need to escape double qoutes if you use them (with a /). Same for single quotes and the slash itself. Make sure you save the lang file utf8 encoded.
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/
Pages: 1 2 [3] 4 5 6 7 ... 21   Go Up
 

Page created in 0.021 seconds with 22 queries.