checkout 0.0.17/18

nicoprod

Joined: 2006-06-18
Posts: 15
Posted: Tue, 2007-08-14 12:23

Hi,
I've just set-up this great module on my site and I have a little problem :
The text/button "Add to cart" is only visible in the "administration part", not in the "guest part"

Thank a lot for your future help !
Nico

www.alsace-en-photos.com

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Tue, 2007-08-14 11:38

Nico, you probably have your permissions wrong for the Everybody group.

Go into your album and set up Everybody to also have the [Checkout] Purchase item permission enabled.

Cheers,

Andreas

 
nicoprod

Joined: 2006-06-18
Posts: 15
Posted: Tue, 2007-08-14 12:22

It works !!!
Thanks a lot Andreas !
Nico

www.alsace-en-photos.com

 
llamadave

Joined: 2007-07-22
Posts: 1
Posted: Thu, 2007-08-16 17:14

Hi,

I have a new installation: http://elmore.cc/gallery2 and am testing checkout and checkout by email using IE7. When I click my add to cart button too soon before the page is finished loading (easy to do at least when testing) then it does not add to cart and the "continue shopping" button goes to the top gallery page. My theme is a modified version of ICE. I think the solution is for the "add to cart" button to not appear until the page is ready for it. I don't think that is an easy change.

David

Gallery version = 2.2.2 core 1.2.0.4
PHP version = 4.4.7 cgi
Webserver = nix
Database = mysqlt 4.0.27-standard, lock.system=flock
Toolkits = Exif, Gd, SquareThumb
Acceleration = none, none
Operating system = Linux megs8.100mwh.com 2.4.33 #1 SMP Sat Aug 12 03:17:20 MDT 2006 i686
Default theme = deice
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
Rows in GalleryAccessMap table = 5
Rows in GalleryAccessSubscriberMap table = 159
Rows in GalleryUser table = 3
Rows in GalleryItem table = 159
Rows in GalleryAlbumItem table = 8
Rows in GalleryCacheMap table = 0

 
alanuk

Joined: 2004-03-10
Posts: 24
Posted: Sat, 2007-08-18 17:51
capturedbyagela wrote:
I have loaded Gallery 2.2 and loaded the checkout, checkout by email and checkout by paypal moduels. I have it all working except the pay by paypal button is not showing up on the checkout screen. Only the email order button is showing up. How do I fix this? Thanks!

I'm having exactly the same problem! I originally installed these versions Checkout 0.1.14, Checkout by Email 0.0.7, Checkout by Paypal 0.1.11 but could not get the Paypal to configure. then I found that all three plugins had been updated so installed thoose then I found I could not get into the payment page at all - all I had was "Modify order" or "Continue to checkout". Its only be installing the versions shown that I've been able to get the payment by email to work. I can configure the Paypal plugin now but it doesn't appear.

Hoping someone can help.

Thanks

Alan
http://www.alanrolfe.com/gallery/main.php (very much work in progress!)

 
standers67

Joined: 2007-08-20
Posts: 15
Posted: Mon, 2007-08-20 12:05

Just a question to all of you that have been using this plugin.

This is what I want to accomplish:

- Users place the pictures they want to order in their cart
- Payment online will be implemented but not necessary to begin with
- When they checkout they are sent a confirmation mail with a link to a zipped package that they can download.

Is this setuo possible to implement using Checkout incombination with Checkout by Email?

Thanks!!

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Mon, 2007-08-20 13:54

Standers67, what you need should be possible, though I have not testet the process without the Paypal module in the circuit.

Jayhen should be able to give a better answer if he is available.

It's certainly possible in the standard configuration with payment, as it is this setup I am using.

Cheers,

Andreas

 
standers67

Joined: 2007-08-20
Posts: 15
Posted: Tue, 2007-08-21 06:57

Thanks Andreas,

I will try to experiment a bit more. I installed the latest version and there was alot of new options. Since I am pretty new to this plugin, I really miss some kind of documentation or how-to that is up-to-date.

I have searched on the net, all information that I could find is in this forumthread. Are there any other sources of information or are you "on your own" trying to set this thing up?

I was thrilled when I saw this plugin since it is exactly what I need on our site. But all I have accomplished so far is that there is a confirmation mail sent to the user with the order details. I was hoping that it would be possible to send the ordered pictures using SMTP in an attached zip-file. In the latest version it is possible to download the items in the cart, but only before you have checked out which is not exactly what I want. I read some post about this behaviour before, they were mentioning some functionality in "test".

There is an option that I find interesting
Display download link after purchase
Payment plugins compatible with this option will propose a download link on return to the site after successful payment

Where is this link supposed to be seen? I was hoping that this would work together with the Checkout with Email pluging - still no luck..

Is it possible to configure the plugin the way I need it or is this functionality something that is not yet implemented?

Hope that somebody can ebnlighten me a little, I am a bit confused here... Thanks a lot!

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Tue, 2007-08-21 07:34

Standers67, there are som other bits of info, though as you point out, some of it is outdated. It might serve to give you what you need, so here is what I have used:

http://codex.gallery2.org/Gallery2:Modules:checkout
http://gallery.menalto.com/node/61732
http://gallery.menalto.com/node/33285
and this thread, of course.

What you need is clearly possible according to the description of the CheckoutEmail, I hope you will find the necessary info in thease threads.

Sounds to me as if you have the Zip Download plugin active. AFAIK, this should be turned off, as well as the original Cart plugin. Try turning these off and see if it makes a difference.

The option you describe will show a link and/or button for download after payment, that is upon return from Paypal.

Cheers,

Andreas

 
standers67

Joined: 2007-08-20
Posts: 15
Posted: Tue, 2007-08-21 14:00

Thanks a lot once again Andreas,

I will use these resources that you sent. I tried to clean up the installation and reinstall the checkout module. I ran into another problem then, but I think that I found the solution.

I received this Error:

Quote:
Error (ERROR_STORAGE_FAILURE)
in modules\core\classes\GalleryStorage\GalleryStorageExtras.class at line 305 (GalleryCoreApi::error)
in modules\core\classes\GalleryStorage.class at line 309 (GalleryStorageExtras::saveEntity)
in modules\core\classes\GalleryEntity.class at line 294 (GalleryStorage::saveEntity)
in modules\checkout\Confirm.inc at line 199 (GalleryEntity::save)
in main.php at line 231 (ConfirmController::handleRequest)
in main.php at line 94
in main.php at line 83

When I turned on debugging it appeared to be related to a problem with the definition of a field in one of the tables which did not allow NULL values... Maybe a problem with the previous upgrade?

This SQL statement fixes that problem..

Quote:
ALTER TABLE `g2_checkouttransaction` CHANGE `g_downloadAttempts` `g_downloadAttempts` INT( 11 ) NULL

Regards

/ Stefan

 
standers67

Joined: 2007-08-20
Posts: 15
Posted: Tue, 2007-08-21 20:39

Another evening experimenting has not lead me anywhere - sadly...

The modules seems to work, maybe I am just expecting things that are not supposed to happen. This is my setup:

- Gallery 2.2.2
- Plugin Checkout
- Plugin Checkout with Email

Checkout plugin configured with the following options:

Quote:
[X] Checkout by Email
[X] Use unique filename (The download filename will include a unique identifier based on the date of download using the format YYYYMMDDHHMMSS, e.g. photos-20101231235959.zip )
[X] Email a download link to the email address provided by the user (An email with a link allowing the items to be downloaded will be sent to the address provided by the user )
[X] Limit the number of days the download remains available to: 30 days (This option will limit the number of days that the download is available from the time of the order )
[X] Limit the number of download attempts allowed to: 10 attempts (This option will limit the number of times that the user may download the order )

What I expect (hope) to happen is that the Checkout with Email should send an order confirmation mail for the order and then that the Checkout module should zip the pictures and send an email with a download link.

All that happens is that I get an order confirmation mail from the Checkout with Email module. I fear that the functionality in the Checkout module that I need, only works with the Checkout with PayPal... Could this be the case??
I have run some lowlevel tools on the server and I am sure that the Checkout module does not even attempt to zip the files that are in the cart.

I have read all the Forum threads I have found and I think that I have tried everything now.

Please help!

/ Stefan

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Tue, 2007-08-21 21:41

Stefan, I enabled the Checkout Email plugin on my site and I have not been able to make it work either.

As far as I can tell, the CheckoutEmail plugin does not work. It just sends confirmations, but no link to the originals, as you have pointed out.

As most people prob. uses only the Paypal module, this may have gone by unnoticed until now.

The Paypal module handles it's own's email stuff, and does not use the email plugin, btw.

I wish I knew more about the inner workings of these modules, but lets hope Jay comes online and has the opportunity to look into this.

Maybe someone else can check this out?

A thought occured to me. Maybe you could try to use an older version, as the module may have broken in one of the later versions.

Cheers,

Andreas

EDIT: The email module DOES work, it just doesn't do anything besides sending email confirmations, se below for details.

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Tue, 2007-08-21 21:41

Stefan, I flipped through the docs a bit and found out that the CheckoutEmail plugin only sends confirmations, no other action is taken. The idea is that you (the admin) uses the information in the order confirmation to later provide the customer with the pictures after he has paid you in some way. A manual process.

From the codex:

"The email plugin allows the contents of the cart to be emailed to a designated address, along with delivery information. You can then collect payment by other means (e.g. cheque) before fulfilling the order."

From the original author:

"Feel free to do anything with the email payment option - this will just send you a copy of the confirmation email, but nothing further will happen."

So it seems, unless someone upgrades the email plugin, you may need to find another solution.

Have you tried the 'built-in' cart and download as zip modules?

Sorry for not catching this earlier, seems my mind was stuck in the way the Paypal module works.

Cheers,

Andreas

 
standers67

Joined: 2007-08-20
Posts: 15
Posted: Wed, 2007-08-22 06:39

Thanks for all you effort Andreas...

The problem with the built-in cart is that really need the email confirmations that are sent when pictures are ordered. I don't think that is possible with the cart module.

If I had coded more in PHP I would probably have noticed that the Checkout with Email only generates mail and nothing more. My idea now is to find out what modifications that are needed in order to get the Checkout extension to treat the Checkout to Email plugin as a valid payment option like PayPal...

All help to fix this problem is really appreciated!

Thanks!
BR / Stefan

 
paulcobb

Joined: 2006-05-04
Posts: 122
Posted: Wed, 2007-08-22 07:57

JAYHEN

How are things coming along with your next upgrade?
I having been watching this thread with interest but don't feel confident yet to upgrade to Gallery2.2 and therefore upgrade my live gallery which is working ok at the moment.
Currently using checkout 0.1.15, checkout by email 0.0.8, checkout by paypal 0.1.10

Paul

 
standers67

Joined: 2007-08-20
Posts: 15
Posted: Thu, 2007-08-30 21:58

This is just a little follow up on my problem with Checkout with Email. I have made some modifications to one of the files in the Checkout with Email module that does exactly what I needed. Nothing too complicated really, but I had to spend a few hours with the code before I understood how it should be done.

This version of the file makes Checkout with Email to send a mail to the orderer with a download link in the same way as when a PayPal transaction has been completed. The file should be placed under \modules\checkoutemail and replace the original done.inc

Maybe the code can be useful for someone else as well...

/ Stefan

AttachmentSize
Done.zip1.42 KB
 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Fri, 2007-08-31 06:59

Very nice, Stefan.

I am sure it will be useful to others.

Thanks for sharing your efforts and I'm glad you got it working.

Cheers,

Andreas

 
comp615

Joined: 2007-09-01
Posts: 3
Posted: Sat, 2007-09-01 13:13

Thanks for the mod both of you, I had a few more ideas I was wondering if anyone has worked on yet.
1: Static Items (items like year-long subscription) that people could buy
2: Radio-boxes for quantities...we sell digital pictures or edited digital pics so why buy more than one :)
3: Flowing email transactions; I.E. why not send a link in the admin email to mark it as paid...which would then send the download link back to the purchaser
3.5: The best way to do above would be a sort of admin page where you could review purchases. The database setup is perfect for this, so why not add a user friendly review page

I think that these would be really valuable things to have, I havn't done any gallery coding so I don't really know the coding practices, but I would be able to help a bit if needed. Thanks!

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Sat, 2007-09-01 13:30

Comp615,

Your suggestions are all good, imo.

As for 2. I have removed the quantity fields as well as the postage/shipping fields from my checkout pages. As you say, it's not really relevant when dealing with downloadable items. Just remember to set the default quantity to 1 in the Checkout admin. Also, if you are on another language than English, you will need to update your column headers in your language file and recompile those.

3. There was a user working on an order admin module before summer, check the various checkout threads for more details.

Cheers,

Andreas

 
comp615

Joined: 2007-09-01
Posts: 3
Posted: Sat, 2007-09-01 13:35

good idea on #2...my thinking was that I could have a radio because one for unaltered and one radio for retouching. But we were trying to avoid retouching anyways. SO maybe your idea would be a better idea. It certainly is easier, I'll bet.

Do you happen to have a link or more info on what you mean in #3...don't mean to be lazy, but I just don't know exactly what I should be looking for

 
jayhen

Joined: 2007-02-12
Posts: 159
Posted: Sun, 2007-09-02 00:08

Hi All,

I just wanted to check in. I see that most of the technical issues encountered are the old favorites (permissions, etc.). Most still seem to come through a lack of documentation (and some slightly unintuitive features of the modules!). I hope that some kind-hearted people who have learnt from the problems they encountered will feel like updating the docs themselves to avoid other people having the same problems.

standers67 - what type of database are you using? (I'm wondering about the database problem you had. Was it an upgrade from older checkout modules?)
Also, thanks for posting the contribution. If you felt like adding an option in checkoutemail Admin to allow people to turn the download link feature on and off for checkoutemail, I could then incorporate it into the module.

paulcobb - my time is all taken up 24*5 by contracts at the moment so I'm only working on the checkout modules when it's a part of paid work. I've given up on donations. The modules seem stable to me, you need to carefully filter all the messages here, most seem to me to be transitory problems/misunderstandings/one-offs. I have the modules running on client sites with G2.1 and G2.2 and they're perfectly stable. But if you have a production site, I would recommend duplicating your site and running a test upgrade before you upgrade. Or make sure you backup everything and are able to revert to the old version if it goes wrong.

comp615 - all help appreciated! If you want to send me any code you produce, I'll merge it into the next release.
For your point 3 : this is more or less what the checkoutpaypal module does automatically, if you want to get your inspiration from there. Please try to use the checkout module emailing functionality, rather than any payment-plugin-specific code. I'm trying to centralise the functions as much as possible.
A note about gallery code conventions : the checkout modules are a bit of a mess and are not a good example of gallery code. But you could read the relevant docs for correct coding practices. You can get the latest checkout code using SVN from here : https://gallery-contrib.svn.sourceforge.net/svnroot/gallery-contrib/trunk/gallery2/modules

For the near future, I probably won't be able to do another release for at least another month, I have too much pressure from paying clients. I have been refactoring the code a little, specifically in relation to zipping up orders (could be helpful in order to develop adding a zip to emails). I've also added the notion of capabilities to payment plugins, but this will only really be useful to future payment modules. These are all non-functional changes, so I'm not planning to release until I have some functional changes, or bug fixes.

One thing I do plan is to set up a bug tracking/feature request system, since it's impossible keeping track of everyone's issues on this thread will all the 'noise'. Then we can sort out the real problems from the (understandable) misunderstandings.

Jay (Elucidos)

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Sun, 2007-09-02 10:22

Jay, nice to see you again.:)

Comp615,

The thread I was thinking about starts here:
http://gallery.menalto.com/node/33285?page=21#comment-240980

I don't know how far this has progressed, though.

If I get the time, I may look into this myself, as I could use some sort of admin functionality myself.

Cheers,

Andreas

 
alanuk

Joined: 2004-03-10
Posts: 24
Posted: Mon, 2007-09-03 14:05

Hi

Has anyone else had the same problems as we have had with the Paypal module? All is working fine on a Gallery 2.1 site but it does not work on my installation of gallery 2.2.

Thanks in advance!

alanuk wrote:
capturedbyagela wrote:
I have loaded Gallery 2.2 and loaded the checkout, checkout by email and checkout by paypal moduels. I have it all working except the pay by paypal button is not showing up on the checkout screen. Only the email order button is showing up. How do I fix this? Thanks!

I'm having exactly the same problem! I originally installed these versions Checkout 0.1.14, Checkout by Email 0.0.7, Checkout by Paypal 0.1.11 but could not get the Paypal to configure. then I found that all three plugins had been updated so installed thoose then I found I could not get into the payment page at all - all I had was "Modify order" or "Continue to checkout". Its only be installing the versions shown that I've been able to get the payment by email to work. I can configure the Paypal plugin now but it doesn't appear.

Hoping someone can help.

Thanks

Alan
http://www.alanrolfe.com/gallery/main.php (very much work in progress!)

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Mon, 2007-09-03 14:35

Alan,

Just to make sure; You have selected to show the Paypal module under the 'Checkout plugins to display' section in Checkout configuration?

Cheers,

Andreas

 
Troxy

Joined: 2007-09-03
Posts: 4
Posted: Mon, 2007-09-03 23:19

Hi can some1 help me out ?
I downloaded and followed the instruction of installing the module but inside of admin panel I've got this :

Checkout 0.1.18 Shopping cart module supporting different products and payment
Incompatible module!
Core API Required: 7.2 (available: 6.8)
Module API Required: 3.0 (available: 2.0)

Checkout by Email 0.0.10 Complete checkout by email
Incompatible module!
Core API Required: 7.2 (available: 6.8)
Module API Required: 3.0 (available: 2.0)

Checkout by Paypal 0.1.12 Complete checkout by paypal
Incompatible module!
Core API Required: 7.2 (available: 6.8)
Module API Required: 3.0 (available: 2.0)

And obviously the module cannot be run. I tried to upgrade the core but it just collapsed the whole website.
I would appreciate if someone would give me 123 step with links if neccesary .

Thanks

 
standers67

Joined: 2007-08-20
Posts: 15
Posted: Tue, 2007-09-04 07:10

jayhen - I use MySQL 5.1. I installed first an older version of Checkout, don't remember exactly which but I did not download it from the online reposirory. The DB problem arised when I upgraded CheckOut to the latest version from the repository.

If you would like to incorporate the funtionality to send mail with the download link for the Checkout with Email-module, I would be more than happy :-)

Thanks,

/ Stefan

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Tue, 2007-09-04 08:07

Troxy,

Basically your Gallery core needs to be upgraded, as you have discovered, and your issue is probably not related to the checkout modules themselves.

There are numerous threads on upgrade issues on the forum, and many suggestions for solutions to a plethora of issues.

Try a search on your error messages and such.

Cheers,

Andreas

 
Troxy

Joined: 2007-09-03
Posts: 4
Posted: Tue, 2007-09-04 19:38

Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.3.11 cgi-fcgi
Webserver = Apache
Database = mysql 5.0.45-log
Toolkits = ArchiveUpload, Exif, ImageMagick, SquareThumb, Thumbnail, Gd
Operating system = Linux linhost240.prod.mesa1.secureserver.net 2.4.21-40.ELsmp #1 SMP Thu Feb 2 22:22:39 EST 2006 i686
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2)

Well I've got 2.0.2 version of gallery and can't find any patches and upgrades from it. All I found is >2.1.x .
Can I put 2.1.x or even 2.2.x straight away or replace the file. Will it do anything to the website and all the pics that are there ?

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Wed, 2007-09-05 05:41

Troxy,

I can't advise you on this, as it is outside my experience. (I have some experience with the checkout modules, so I try to help out on thes topic.)
If you don't get a response from one of the core team at this point, I suggest you start a new topic or search for similar issues under Administration & Maintenance.

Good luck.

Cheers,

Andreas

 
alanuk

Joined: 2004-03-10
Posts: 24
Posted: Wed, 2007-09-05 14:20
Andreas Thyholdt wrote:
Alan,

Just to make sure; You have selected to show the Paypal module under the 'Checkout plugins to display' section in Checkout configuration?

Cheers,

Andreas

Thanks, andreas. This is not an option (I'm using Checkout 0.1.14 (http://codex.gallery2.org/Gallery2:Modules:checkout) which does not give an option.

Alan

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Wed, 2007-09-05 14:28

Alan,

Since you are posting in the 0.0.17/18 thread, I assumed you were using the current version.

The version of checkout you are using is not actively supported anymore, as far as I know, so I recommend you upgrade. The link to the current version is in the first post on this topic.

Make sure your G2 core is up to date before you upgrade to avoid issues with compatibility.

Cheers,

Andreas

 
vveakling

Joined: 2007-09-05
Posts: 5
Posted: Thu, 2007-09-06 04:24

so.. what module do i need to enable to get these permissions settings for the guest user that everyone is talking about? i can't figure out how to enable the add to cart link for anyone besides the admin.

 
vveakling

Joined: 2007-09-05
Posts: 5
Posted: Thu, 2007-09-06 04:53

Nevermind. I was looking in the admin area.

Permissions are set with the 'edit permissions' link on the gallery homepage or any of the albums.

 
eelkcin

Joined: 2007-09-07
Posts: 8
Posted: Fri, 2007-09-07 06:48

Can anyone help with this one....

I've installed Gallery recently (it was about 5 days ago - I think I have version 2.2.2), as well as having the most up to date versions of Checkout and Checkout via PayPal.

Checkout works fine in the site, you can add photos to the cart, view the cart etc, you can then select to pay via paypal, which all works fine - you are transferred to paypal, where you can pay you money, it completes successfully, then you reach the page that tells you it's all completed and within 10 secs you'll be returned to the site, then I get a screen saying:
"Security Violation
The action you attempted is not permitted." with a link: "Back to the Gallery". When you click that link - it returns you to the gallery - with the item still in your cart - and the transaction seemingly incomplete (except that you've made a payment.

This is the situation when I access Gallery via Gallery 2 Bridge in my Joomla! installation.

On the other side, if I access Gallery directly, (as a stand alone system) - it operates in the same way, until final paypal screen. However, this time, rather than a security violation above, i get this one:
"Security Violation
The action you attempted is not permitted.

Back to the Gallery

Error Detail -
Error (ERROR_BAD_PARAMETER)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 39 (gallerycoreapi::error)
in modules/core/classes/GalleryCoreApi.class at line 2259 (galleryentityhelper_simple::loadentitiesbyid)
in modules/checkoutpaypal/PaymentComplete.inc at line 76 (gallerycoreapi::loadentitiesbyid)
in modules/core/classes/GalleryView.class at line 300 (paymentcompleteview::loadtemplate)
in main.php at line 441 (paymentcompleteview::doloadtemplate)
in main.php at line 94
in main.php at line 83
System Information
Gallery version 2.2.2
PHP version 4.4.7 cgi
Webserver Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
Database mysqlt 4.1.20-standard
Toolkits Thumbnail, Gd
Operating system Linux bacchus.diyhost.co.uk 2.6.9-42.0.10.ELsmp #1 SMP Fri Feb 16 17:17:21 EST 2007 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; InfoPath.1) "

Anyone got any ideas?!?!?!? PLEASE!!!!

 
eelkcin

Joined: 2007-09-07
Posts: 8
Posted: Fri, 2007-09-07 06:52

oh, and the other thing I forgot to mention was that in the second instance, when accessed directly - the transaction does actually complete - and I do get emailed the download link, but obviously I'm not seeing the completed details, or the download button (i get the emailed link - but not the button - as i'm not getting the final screen)

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Fri, 2007-09-07 07:50

Eelkcin,

I have not seen this myself, but I suggest you turn on debug mode in your config file and look for the value for 'IPN Transaction ID'.

It seems this parameter may be missing.

Good luck.

Cheers,

Andreas

 
eelkcin

Joined: 2007-09-07
Posts: 8
Posted: Fri, 2007-09-07 15:03

Andreas,

Thanks for that, I've turned on debug - and here's what i get in the main window:

Security Violation
The action you attempted is not permitted.

Back to the Gallery

Error Detail +
Error (ERROR_BAD_PARAMETER)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 39 (gallerycoreapi::error)
in modules/core/classes/GalleryCoreApi.class at line 2259 (galleryentityhelper_simple::loadentitiesbyid)
in modules/checkoutpaypal/PaymentComplete.inc at line 76 (gallerycoreapi::loadentitiesbyid)
in modules/core/classes/GalleryView.class at line 300 (paymentcompleteview::loadtemplate)
in main.php at line 441 (paymentcompleteview::doloadtemplate)
in main.php at line 94
in modules/core/classes/GalleryEmbed.class at line 179
in /home/spankstu/public_html/cms/components/com_gallery2/gallery2.php at line 38 (galleryembed::handlerequest)
in /home/spankstu/public_html/cms/index.php at line 235
Debug Output
file_exists(/home/spankstu/public_html/gallery/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter cookie.path for core plugin file_exists(/home/spankstu/public_html/gallery/g2data/cache/module/core/0/0/0.inc) getParameter session.lifetime for core plugin getParameter session.inactivityTimeout for core plugin
--------------------------------------------------------------------------------
(mysqlt): SET NAMES "utf8"
--------------------------------------------------------------------------------
file_exists(/home/spankstu/public_html/gallery/g2data/cache/module/_all/0/0/GalleryStorage_describeMap.inc)
--------------------------------------------------------------------------------
(mysqlt): SELECT g_userId, g_remoteIdentifier, g_creationTimestamp, g_modificationTimestamp, g_data FROM g2_SessionMap WHERE g_id='60d11fba84afeccf4cc20444c9dd4fca'
--------------------------------------------------------------------------------
controller , view checkoutpaypal.PaymentComplete Loading plugin core Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/core/module.inc) core plugin successfully instantiated file_exists(/home/spankstu/public_html/gallery/g2data/versions.dat) file(/home/spankstu/public_html/gallery/g2data/versions.dat, ) [1189177169] can't guarantee 5 -- extending! file_exists(/home/spankstu/public_html/gallery/g2data/cache/entity/1/1/118.inc) Loading plugin checkoutpaypal Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/checkoutpaypal/module.inc) checkoutpaypal plugin successfully instantiated Check the version of the checkoutpaypal plugin file_exists(/home/spankstu/public_html/gallery/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the checkoutpaypal plugin is ok file_exists(/home/spankstu/public_html/gallery/modules/checkoutpaypal/PaymentComplete.inc) getParameter acceleration for core plugin getParameter id.anonymousUser for core plugin getParameter id.anonymousUser for core plugin getParameter id.adminGroup for core plugin
--------------------------------------------------------------------------------
(mysqlt): SELECT g_userId FROM g2_UserGroupMap WHERE g_userId=118 AND g_groupId=3 LIMIT 1
--------------------------------------------------------------------------------
getParameter id.rootAlbum for core plugin file_exists(/home/spankstu/public_html/gallery/g2data/cache/entity/0/0/7.inc) getParameter default.theme for core plugin Loading plugin matrix Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/themes/matrix/theme.inc) matrix plugin successfully instantiated Check the version of the matrix plugin file_exists(/home/spankstu/public_html/gallery/g2data/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the matrix plugin is ok file_exists(/home/spankstu/public_html/gallery/g2data/cache/theme/matrix/0/0/0.inc) getParameter allowDownloadsPostPurchase for checkout plugin file_exists(/home/spankstu/public_html/gallery/g2data/cache/module/checkout/0/0/0.inc) getParameter displayDLLink for checkout plugin getParameter emailDownloadLink for checkout plugin Loading plugin albumselect Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/albumselect/module.inc) albumselect plugin successfully instantiated Loading plugin comment Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/comment/module.inc) comment plugin successfully instantiated Loading plugin customfield Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/customfield/module.inc) customfield plugin successfully instantiated Loading plugin hidden Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/hidden/module.inc) realpath(/home/spankstu/public_html/gallery/modules/core/classes/../../..) Binding text domain: modules_hidden -> /home/spankstu/public_html/gallery/modules/hidden/locale hidden plugin successfully instantiated Loading plugin httpauth Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/httpauth/module.inc) httpauth plugin successfully instantiated Loading plugin imageblock Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/imageblock/module.inc) imageblock plugin successfully instantiated Loading plugin linkitem Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/linkitem/module.inc) linkitem plugin successfully instantiated Loading plugin migrate Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/migrate/module.inc) migrate plugin successfully instantiated Loading plugin multilang Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/multilang/module.inc) multilang plugin successfully instantiated Loading plugin password Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/password/module.inc) realpath(/home/spankstu/public_html/gallery/modules/core/classes/../../..) Binding text domain: modules_password -> /home/spankstu/public_html/gallery/modules/password/locale password plugin successfully instantiated Loading plugin permalinks Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/permalinks/module.inc) permalinks plugin successfully instantiated Loading plugin quotas Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/quotas/module.inc) quotas plugin successfully instantiated Loading plugin rating Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/rating/module.inc) rating plugin successfully instantiated Loading plugin sizelimit Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/sizelimit/module.inc) sizelimit plugin successfully instantiated Loading plugin thumbnail Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/thumbnail/module.inc) thumbnail plugin successfully instantiated Loading plugin useralbum Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/useralbum/module.inc) useralbum plugin successfully instantiated Loading plugin watermark Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/watermark/module.inc) watermark plugin successfully instantiated Loading plugin checkout Class not defined, trying to include it. file_exists(/home/spankstu/public_html/gallery/modules/checkout/module.inc) checkout plugin successfully instantiated Loading plugin core core plugin successfully instantiated IPN Transaction ID: getParameter default.theme for core plugin Loading plugin matrix matrix plugin successfully instantiated Check the version of the matrix plugin The version of the matrix plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok getParameter id.adminGroup for core plugin realpath(/home/spankstu/public_html/gallery/modules/core/classes/../../../) realpath(/home/spankstu/public_html/gallery/) file_exists(/home/spankstu/public_html/gallery/g2data/smarty/templates_c/%%152816190) is_dir(/home/spankstu/public_html/gallery/g2data/smarty/templates_c/%%152816190) file_exists(/home/spankstu/public_html/gallery/g2data/smarty/templates_c/%%152816190) is_writeable(/home/spankstu/public_html/gallery/g2data/smarty/templates_c/%%152816190) file_exists(/home/spankstu/public_html/gallery/g2data/smarty/templates_c/%%152816190/v_12) file_exists(/home/spankstu/public_html/gallery/modules/core/classes/../../../lib/javascript/local/BlockToggle.js) realpath(/home/spankstu/public_html/gallery/modules/core/classes/../../..) Binding text domain: themes_matrix -> /home/spankstu/public_html/gallery/themes/matrix/locale file_exists(/home/spankstu/public_html/gallery/modules/core/../../themes/matrix/local/theme.css) file_exists(/home/spankstu/public_html/gallery/modules/core/classes/../../../themes/matrix/local/theme.css)

And this is the pop-up:

Smarty Debug Console
included templates & config files (load time in seconds)
themes/matrix/templates/error.tpl (0.06631) (total)
modules/core/templates/ErrorPage.tpl (0.00156)

assigned template variables
{$ErrorPage} Array (3)
isAdmin => false
stackTrace => "Error (ERROR_BAD_PARAMETER)<ul><li><..."
code => Array (1)
securityViolation => true
{$SCRIPT_NAME} "/cms/index.php"
{$_debug_config_keys} Array (2)
0 => "files"
1 => "vars"
{$_debug_config_vals} Array (2)
0 => Array (0)
1 => Array (0)
{$_debug_keys} Array (5)
0 => "ErrorPage"
1 => "SCRIPT_NAME"
2 => "head"
3 => "l10Domain"
4 => "theme"
{$_debug_tpls} Array (2)
0 => Array (3)
type => "template"
filename => "themes/matrix/templates/error.tpl"
depth => 0
1 => Array (4)
type => "template"
filename => "modules/core/templates/ErrorPage.tpl"
depth => 1
exec_time => 0.00155997276306
{$_debug_vals} Array (5)
0 => Array (3)
isAdmin => false
stackTrace => "Error (ERROR_BAD_PARAMETER)<ul><li><..."
code => Array (1)
securityViolation => true
1 => "/cms/index.php"
2 => Array (3)
tpl => Array (0)
style => Array (0)
javascript => Array (1)
0 => "lib/javascript/BlockToggle.js"
3 => "themes_matrix"
4 => Array (1)
errorTemplate => "modules/core/templates/ErrorPage.tpl"
{$debug_output} "<!DOCTYPE html PUBLIC "-//W3C//DTD XH..."
{$head} Array (3)
tpl => Array (0)
style => Array (0)
javascript => Array (1)
0 => "lib/javascript/BlockToggle.js"
{$l10Domain} "themes_matrix"
{$theme} Array (1)
errorTemplate => "modules/core/templates/ErrorPage.tpl"

assigned config file variables (outer template scope)
{#files#} Array (0)
{#vars#} Array (0)

Any ideas anyone???

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Fri, 2007-09-07 15:52

Eelkcin,

I am sorry to say that I can not figure this out.

I had hoped the Smarty console would include the calling template variables, but it only reports the error variables.

Let's hope someone else can crack this one for you.

Cheers,

Andreas

 
eelkcin

Joined: 2007-09-07
Posts: 8
Posted: Fri, 2007-09-07 15:55

No problem....thanks for looking over it.....

If anyone else has any ideas...I'd be highly greatful!

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Fri, 2007-09-07 15:59

Eelkcin,

You could try debugging the file PaymentComplete.inc manually.

Try echoing variables before line 76, where the error occurs.

Check that the $transactionId is not empty or invalid.

Good luck.

Cheers,

Andreas

 
eelkcin

Joined: 2007-09-07
Posts: 8
Posted: Fri, 2007-09-07 16:38

I don't think i have enough knowledge to know what I'm doing/looking for to be able to manually debug it! Thats why I'm hoping someone else could help....

This is so annoying - I really like this module - and it does exactly waht I want - I just need it to actually work properly!

 
alanuk

Joined: 2004-03-10
Posts: 24
Posted: Sat, 2007-09-08 20:58

Thanks, Andreas. Since I first had the problem, the only way I could get anything to it work was to revert to an older version and I posted on this thread because someone else had the same problem as I did before I reverted to old version.

However, it looks like the checkout the module has since been upgraded again so I've upgraded all modules to the latest versions now and all is working!

Thaks for your help.

 
eelkcin

Joined: 2007-09-07
Posts: 8
Posted: Sun, 2007-09-09 13:51

is there any way of getting any of the older versions, both of checkout and gallery? (Just so as I can see if any of the dated verions work?)

Unless anyone else can help with my security violation!?>?!?!

 
Andreas Thyholdt

Joined: 2007-06-29
Posts: 54
Posted: Sun, 2007-09-09 15:16

Eelkcin,

I believe I have most of them, so send me a PM with yout email address and I can send them to you.

Cheers,

Andreas

 
jayhen

Joined: 2007-02-12
Posts: 159
Posted: Mon, 2007-09-10 21:54

Just a general reminder to people to please not send me private messages unless you have something confidential that cannot be posted to the forum. I do follow the thread and respond to specific problems if/when I have time. Thanks for your understanding.

 
helaku

Joined: 2007-04-29
Posts: 51
Posted: Tue, 2007-09-11 12:09

Hello everyone,

after upgrading from 0.1.17 to 0.1.18 some weird item names show up on the PayPal website. After adding a few items to the cart and clicking the PayPal Buy Now button item names like xxxBASE64_STARTxxxMTg5MyDCtyBCdXR0ZXJjdXAgKFJhbnVuY3VsYWNlYWUpxxxBASE64_ENDxxx show on the PayPal website (see attached screenshot).

I have run all the maintenance tasks like optimize database, clear template cache, delete database cache, but the weird names persist. Can anyone help? (My Gallery is on http://skylark.co.nz/gallery2/)

Thanks

AttachmentSize
paypal_weird_item_names.jpg46.25 KB
 
Troxy

Joined: 2007-09-03
Posts: 4
Posted: Wed, 2007-09-12 10:57
Quote:
Error Detail -
Error (ERROR_BAD_PARAMETER) : Smarty error: unable to read resource: "gallery:modules/checkout/templates/SelectProducts.tpl"
in modules\core\classes\GallerySmarty.class at line 76 (gallerycoreapi::error)
in lib\smarty\Smarty.class.php at line 1591 (gallerysmarty::trigger_error)
in lib\smarty\Smarty.class.php at line 1417 (gallerysmarty::_fetch_resource_info)
in lib\smarty\Smarty.class.php at line 1869 (gallerysmarty::_compile_resource)
in g2data\smarty\templates_c\%%3547324963\%%EE^EE2^EE289D2E%%module.tpl.php at line 13 (gallerysmarty::_smarty_include)
in lib\smarty\Smarty.class.php at line 1871
in modules\core\classes\GalleryTemplateAdapter.class at line 747 (gallerysmarty::_smarty_include)
in g2data\smarty\templates_c\%%3547324963\%%3A^3A8^3A818B59%%theme.tpl.php at line 55 (gallerytemplateadapter::theme)
in lib\smarty\Smarty.class.php at line 1265
in modules\core\classes\GallerySmarty.class at line 61 (smarty::fetch)
in modules\core\classes\GalleryTemplate.class at line 186 (gallerysmarty::fetch)
in main.php at line 479 (gallerytemplate::fetch)
in main.php at line 94
in main.php at line 83

I get this error whenever I want to add sth to a cart
Has anyone got an idea what's wrong ?

 
eelkcin

Joined: 2007-09-07
Posts: 8
Posted: Thu, 2007-09-13 10:01

Thanks for the files Andreas,

So i've tried older versions of the Paypal module and Checkout - and I've still got the same error......and now I'm totally out of ideas....so if anyone has any?? Are there any file permissions (that I should have changed) that could be causing the error?!?!

Anyone?!?!

 
And_Thy

Joined: 2007-09-12
Posts: 90
Posted: Thu, 2007-09-13 11:23

Troxy and Eelchin,

You could both try doing some of the maintainance tasks, such as cleaning the caches if you haven't already.

Cheers,

Andreas

 
louise2620

Joined: 2007-09-14
Posts: 1
Posted: Sat, 2007-09-15 03:12

I installed checkout & it was working perfectly but suddenly I started to get this error -

------------------------------------------
Security Violation
The action you attempted is not permitted.

Back to the Gallery

Error Detail -
Error (ERROR_BAD_PARAMETER)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 39 (GalleryCoreApi::error)
in modules/core/classes/GalleryCoreApi.class at line 2259 (GalleryEntityHelper_simple::loadEntitiesById)
in modules/checkoutemail/Email.inc at line 64 (GalleryCoreApi::loadEntitiesById)
in main.php at line 231 (EmailController::handleRequest)
in main.php at line 94
in main.php at line 83
System Information
Gallery version 2.2.2
PHP version 5.2.2 cgi
Webserver Apache
Database mysqlt 4.1.22-standard
Toolkits ImageMagick, NetPBM, Gd
Operating system Linux server.mjzhosting.biz 2.6.17.6 #1 SMP Mon Jul 24 09:39:36 CDT 2006 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
------------------------------------------

I unstalled & reinstalled the plugin as well as the email & paypal plugins but it still keeps happening. Anyone have any ideas?

Thanks.