Here is the info of my server:
Checkout 0.3.1
Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.0.4 apache2handler
Webserver = Apache/2.0.54 (Fedora)
Database = mysql 4.1.20, lock.system=flock
Toolkits = ArchiveUpload, Getid3, Exif, LinkItemToolkit, NetPBM, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux localhost 2.6.9-023stab044.4-enterprise #1 SMP Thu May 24 17:41:23 MSD 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
Rows in GalleryAccessMap table = 549
Rows in GalleryAccessSubscriberMap table = 3662
Rows in GalleryUser table = 5
Rows in GalleryItem table = 3658
Rows in GalleryAlbumItem table = 360
Rows in GalleryCacheMap table = 0
When I click on the download PDF invoice I get a blank white screen.
Did some more checking and it seems that the problem has something to do with multisite. Main install works but the multisite doesn't work.
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Wed, 2008-03-26 20:31
tbendick: a blank screen is usually indicative of a php error. Please follow these instructions (particularly the first one about How to Display PHP Errors):
Seems as though under ALL circumstances it downloads 2.16mb out of 2.2mb, I'm not sure why this is, but is there any file size limit ect... for zip somewhere because on every occasion it won't pass that mark. I doubt it's connection related cause I get it at 80 - 110 kbs.
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-03-27 09:25
As far as I know, there's no hard limit, but your server may be killing the script because of excessive memory or processor usage. See if your hosting provider imposes any limits or has any error log that might help. If you use different (smaller!) images, it works then?
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-03-27 15:47
A quick note to those who are following this thread. I'm happy to report that I've been running 0.3.1 on a live site for the last week, and it appears to be taking orders (via email, and paypal) just fine. No guarantees are given, but you might consider trying it.
Secondly: how many people use the Download Before Payment option - specifically, how many people want a download link on the *confirm* page, which is before the customer has entered even a name (so it essentially gives away images anonymously)?
The reason I ask is because I am considering moving the download option into a separate sub-module (yes, Checkout now has product-type plugins) and one consequence is that it will be harder (not impossible) for the admin to have the download button displayed on the confirm page. It will still display on the customer's order status page, and I am working out what to do about email notifications. Bottom line is, unless there's a popular uprising I will remove the option to download before payment details are entered, but leave the option to download from the status page before payment is actually *cleared*.
fubarhouse
Joined: 2008-03-26
Posts: 13
Posted: Fri, 2008-03-28 04:09
Update on my problem:
I'm gonna look into server limitations, but I have tried it for a 700kb file and it still doesn't download properly, what can you recommend, is the zip file not encoded completly or ended as it should, or would it still be server-based?
paulcobb
Joined: 2006-05-04
Posts: 122
Posted: Fri, 2008-03-28 07:40
Using 0.3.1 beta2
When I get the Administrative notifications regarding PayPal payment completed.
The URL in the email returns an HTTP 500 error.
Paul
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-03-28 10:56
fubarhouse: as far as I can work out, the download code copies the files to be zipped to the g2data/tmp then zips them to another file in that directory. The download doesn't start until the zipping process is complete, so you should be able to, for instance, pause the download, then ftp the zipped file directly from that directory. It should then get deleted when the download completes. That way you can maybe narrow down whether it's a problem creating the zipfile or a problem in downloading it.
By the way, when I said try a smaller file, I meant something about 50kb, to test with.
paulcobb: thanks, I'll look into it.
belmont123
Joined: 2008-03-03
Posts: 16
Posted: Fri, 2008-03-28 12:35
alecmyers wrote:
A quick note to those who are following this thread. I'm happy to report that I've been running 0.3.1 on a live site for the last week, and it appears to be taking orders (via email, and paypal) just fine. No guarantees are given, but you might consider trying it.
Secondly: how many people use the Download Before Payment option - specifically, how many people want a download link on the *confirm* page, which is before the customer has entered even a name (so it essentially gives away images anonymously)?
The reason I ask is because I am considering moving the download option into a separate sub-module (yes, Checkout now has product-type plugins) and one consequence is that it will be harder (not impossible) for the admin to have the download button displayed on the confirm page. It will still display on the customer's order status page, and I am working out what to do about email notifications. Bottom line is, unless there's a popular uprising I will remove the option to download before payment details are entered, but leave the option to download from the status page before payment is actually *cleared*.
Against your original advice, I've been running version 0.3.1 on a production site as well for the past 2 weeks. We started taking orders on 03/17 and it's been working flawlessly. Currently we only offer customers the e-mail payment option.
As far as download, since we only sell prints, we don't give customer the option to do any downloading. But in general it does make sense to only give the option to download once payment info is entered.
Thanks,
-- John
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-03-28 16:58
paulcobb wrote:
Using 0.3.1 beta2
When I get the Administrative notifications regarding PayPal payment completed.
The URL in the email returns an HTTP 500 error.
Paul
Fixed in 0.3.2 (forthcoming)
vdd
Joined: 2005-08-11
Posts: 134
Posted: Fri, 2008-03-28 19:11
alecmyers wrote:
A quick note to those who are following this thread. I'm happy to report that I've been running 0.3.1 on a live site for the last week, and it appears to be taking orders (via email, and paypal) just fine. No guarantees are given, but you might consider trying it.
Secondly: how many people use the Download Before Payment option - specifically, how many people want a download link on the *confirm* page, which is before the customer has entered even a name (so it essentially gives away images anonymously)?
The reason I ask is because I am considering moving the download option into a separate sub-module (yes, Checkout now has product-type plugins) and one consequence is that it will be harder (not impossible) for the admin to have the download button displayed on the confirm page. It will still display on the customer's order status page, and I am working out what to do about email notifications. Bottom line is, unless there's a popular uprising I will remove the option to download before payment details are entered, but leave the option to download from the status page before payment is actually *cleared*.
Dear Alecmyers
My thoughts about the download possibilities:
On my site I have registered users and normal visitors. All visitors can see thumbnails and resized photos (450x 450 pixels) and only reg users can also see a full res picture.
Beneath the thumbnails and resized pictures the can click for buying a printed photo (via the old Checkout and checkout by email module) and in my testsite it works with your NEW checkout module 0.3.1 and it works ok.(Latest gallery2.3 install)
My reg users also can download the full res picture with use of the "old" cart module, with use of the old cart modules they see under the thumbnail two times the sentence Add photo to cart( I have changed that into Download Photo as zipfile ) (in your version now they now see Add photo to basket and with the old cart module also Add photo to cart. The procedure for downloading in a zip file is not a fine procedure
What I like to see is following:
I would like to see only for my reg users (via Permissions off cours installable) a download button under the thumbnails and resized pictures, when clicking on this button they download the highres picture.
They do not have to pay in advance for this download. I will bill them later.
Further would it be nice to see afterwards (in a file or email to me) when a reg user has visit the gallery and at what picture he has downloaded and at what time ,
what he searched for and so on. A selling (download) report so to speak.
Also would it be marvelous for instance to block a picture when it is downoaded once, so that the next reg user (another Photoeditor) can not download it also and the first editor has so an exclusive picture. Maybe you can make two download buttons. One download button with exclusve rights an one without these rights and so for available for every next reg user (editor) to download.
Clicking on the exclusive button must than off course block this picture for further download.
One can think of giving the possibility to the editor to choose between several hours of blocking this picture, 8 hours, 24 hours, two weeks , a year, all with different prices off course , which I can let them know when they have registerd to the Gallery.
You see software is never finished , always there are people more and other wishes.
Your version 0.3.1 seem to work ok on my testsite, I have to further investigate all the setting one can make.
The download button after add photo to basket procedure is not the way I like
best regards
vdd
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-03-28 19:31
vdd wrote:
What I like to see is following:
I would like to see only for my reg users (via Permissions off cours installable) a download button under the thumbnails and resized pictures, when clicking on this button they download the highres picture.
They do not have to pay in advance for this download. I will bill them later.
Further would it be nice to see afterwards (in a file or email to me) when a reg user has visit the gallery and at what picture he has downloaded and at what time ,
what he searched for and so on. A selling (download) report so to speak.
Also would it be marvelous for instance to block a picture when it is downoaded once, so that the next reg user (another Photoeditor) can not download it also and the first editor has so an exclusive picture. Maybe you can make two download buttons. One download button with exclusve rights an one without these rights and so for available for every next reg user (editor) to download.
Clicking on the exclusive button must than off course block this picture for further download.
One can think of giving the possibility to the editor to choose between several hours of blocking this picture, 8 hours, 24 hours, two weeks , a year, all with different prices off course , which I can let them know when they have registerd to the Gallery.
Hi Vdd,
All these things are possible, but they are so far outside the way Checkout works (Checkout is based on adding items to a cart/basket, then deciding what to do with them and how to pay) that it would be simpler for you to start from scratch and write a module to do just what you want. The good news is that it is all possible with the gallery framework, and you will learn a lot of programming (if you don't know it already) on the way!
You might however, in the mean time, be able to use a feature new in 0.3.2 which is to hide individual products from users who are not logged in. You can therefore have a product set for download that only your registered users can access, although it will still have to be in the cart/basket as before.
vdd
Joined: 2005-08-11
Posts: 134
Posted: Fri, 2008-03-28 23:12
Hi Alecmyers
I am a photographer , not a software man. I was born before 1965, can't code a one bit. I loved to, but I can't
I do not quite understand your reaction about what the checkout module stands for, adding a item, photo, to a cart ,basket and then deciding what to do and how to pay for,
You decided in your version of checkout to show a download button after adding a item to a cart/basket, selecting a print , I would like to see the download button under a thumbnail or resized photo,
Is that a difference?
Anyway you did bring the checkout module to a higher level and that's nice for people who want all that possibilities to choose what they want to sell.
I would like to see, as a photographer,photojournalist, a good download module with maybe, if possible some extra functions as mentioned and more feedback also from from the gallery system
With the permissions module I can do exactly what I want with reg. user and not reg users, I can give regusers the rights to download and not regusers rights to order a print with the checkout and checkout-email module, with all his new features you come up with.
More feedback from the Gallery is difficult to obtain and The modules for such a feedback is still not there and that is needed i think for a commercial use of the program,but may be i stand alone in this
best regards
vdd
nachodragon
Joined: 2008-03-19
Posts: 6
Posted: Sat, 2008-03-29 07:22
This module is turning out awesome! I was disappointed by some of the other modules here and almost decided to do away with gallery but this has changed my mind. I do have a question though, is there an easy way for someone to look up their order status if they did not bookmark the page? I am still going through some of this to see if there is something obvious I have missed. Other than that this seems to be an incredible boon for gallery and one of the only forums that has recent posts I might add (that I have seen).
EDIT: I should probably note I am using 0.3.1 for checkout, email, and paypal
thomaabi
Joined: 2008-03-03
Posts: 10
Posted: Sat, 2008-03-29 08:04
I am getting an error after my customers purchase their items on Paypal and are sent back to my site. The charge on my site does not include sales tax but paypal does charge sales tax if it is shipped to my state. therefore i think this causes an error which I get an error email saying the following:
Administrative Notification:
WARNING: PayPal amount (11.96) does not match our records (10.98).
nachodragon
Joined: 2008-03-19
Posts: 6
Posted: Sat, 2008-03-29 09:18
I could be wrong but i believe this is going to be a setting in Paypal to calculate sales tax or not and whether it is taxable or not. I am going to include tax in my items and it does not add tax to my order when go to pay. I had tried a transaction with shipping in it myself and paypal did not add tax... I even finalized the transaction and charged myself some money... hmmm... not the best way to test, but better me than a client.
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2008-03-29 12:03
vdd wrote:
You decided in your version of checkout to show a download button after adding a item to a cart/basket, selecting a print , I would like to see the download button under a thumbnail or resized photo,
Is that a difference?
Yes, very big difference. You can add a "download this image" button in about 2 lines of code, or maybe 50 if you want it to be a neat and tidy module. I really wouldn't do it with Checkout though, it's enturely unnecessary.
vdd wrote:
More feedback from the Gallery is difficult to obtain and The modules for such a feedback is still not there and that is needed
I'm thinking about a customer feedback questionnaire as another email option, but I haven't sorted in my head how it might work yet.
nachodragon wrote:
is there an easy way for someone to look up their order status if they did not bookmark the page?
It's a trade-off of ease of use vs. security. One of the "hidden features" of Checkout as it stands is that you can with a single line change add into the status page things like the customer details, order contents and other potentially sensitive stuff (all the stuff in the AdminOrder.tpl can be added in to the OrderStatus.tpl file). However while the AdminOrder page is protected by a test to see if the current user is a site admin, for unregistered users wanting to look up their own orders that's obviously not going to work, so OrderStatus page is protected with two security fields in the url, to stop people trying to 'guess' at order numbers and look up orders that aren't their own.
Somehow you have privately to tell the user what those fields are, or else *anyone* can look up the status of any order. And test how many orders are placed on your site, etc etc. Hence the email to the customer which has the button (and link) to the order status page. But if you can think of another way (it could, for instance, bypass the security test for users who are logged in as the same userId as the person that placed the order, but that might not be appropriate if most of your customers aren't registered) then I'm open to suggestions.
On the tax issue: there were murmurings of someone offering to sponsor an upgrade to Checkout to add tax, but that appears to have gone cold. The reason I haven't added it is because as things stand I don't pay any sales tax on my sales and there are *so* many different tax systems with so many different calculation requirements that it would be impossible to add something to satisfy everyone. Everyone's individual demands are very simple but they're all different.
belmont123
Joined: 2008-03-03
Posts: 16
Posted: Sat, 2008-03-29 12:44
Here's a follow-on script to the previous one I sent. This one e-mails a formatted HTML report of the orders. It still uses mysql, not G2 API.
function generateReport
{
mysql -H --user=$DB_USER --password="$DB_PASS" $DB_DATABASE << EOF
select count(*) as "Total Orders", format(sum(g_amount),2) as "Total Sales"
from g2_CheckoutTransaction
where g_paymentPlugin IS NOT NULL;
select count(*) as "Total Orders (Paid)", format(sum(g_amount),2) as "Total Sales (Paid)"
from g2_CheckoutTransaction
where g_paymentPlugin IS NOT NULL
and g_flagPaid=1;
select g_id as "Order",date_format(from_unixtime(g_date),"%m/%d/%Y") as Date,
g_firstName as First,g_LastName as Last,g_amount as Amount,g_email as "E-Mail",
IF(g_flagPaid is NULL,"-","Y") as Paid,
IF(g_flagCompleted is NULL,"-","Y") as Done
from g2_CheckoutTransaction
where g_paymentPlugin IS NOT NULL;
EOF
}
/usr/bin/sendmail $TO_EMAIL << EOF
To: $TO_EMAIL
Subject: Your Subject
Content-Type: text/html; charset="us-ascii"
$PRETTY_REPORT
EOF
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2008-03-29 16:50
belmont123 wrote:
Here's a follow-on script to the previous one I sent. This one e-mails a formatted HTML report of the orders. It still uses mysql, not G2 API.
Thanks
John,
Thanks for working on this. I'm sure a lot of people will find it useful.
Two suggestions though: firstly, this isn't an appropriate thread - this thread is for comments/problems/suggestions *specifically* for the 2.x and 3.x updates to Checkout (I've tried to make this *crystal* clear in the first post, as well as periodically throughout) and as far as I can tell your scripts will work just as well for pretty much all versions of checkout. So please start a new thread for any new ones rather than posting them here. That means that a lot more people will get to see them as readership of this thread is limited to people trying the new versions of Checkout. Secondly, rather than pasting them into the post, please upload them as attachments. There's no need for instance to have the scripts emailed to everyone who has subscribed as it will be automatically by including it - many people will not be running MySQL or will not want to have the code. If in a new thread you describe what they do then include them as attachments everyone who wants it can choose to download it.
Many thanks for helping to keep these forums neat and tidy.
belmont123
Joined: 2008-03-03
Posts: 16
Posted: Sat, 2008-03-29 17:06
Good suggestions.
Thanks,
-- John
thomaabi
Joined: 2008-03-03
Posts: 10
Posted: Sat, 2008-03-29 21:32
Quote:
On the tax issue: there were murmurings of someone offering to sponsor an upgrade to Checkout to add tax, but that appears to have gone cold. The reason I haven't added it is because as things stand I don't pay any sales tax on my sales and there are *so* many different tax systems with so many different calculation requirements that it would be impossible to add something to satisfy everyone. Everyone's individual demands are very simple but they're all different.
Agreed! I don't want to cause a whole lot of work. The problem with including the tax in my prices is that it will increase the price by 8.9%, which to the customer will think that I am more expensive.
Question: Is there any way that you can add a check box that asks whether the user is having the photos shipped to my state? That is the only time I have to add tax. I'm conceptualizing another line just before the total that reads $0.00 if the check box is not checked and reads the tax amount which would be 8.9% x (shipping&handling + total). Would you let me know if this is feasible? I would imagine that people can make the check box to ask whether it's going to (for example) their country, state, city, etc?
Again, thanks for this great module! This is by far the most useful that I have seen.
Question: Is there any way that you can add a check box that asks whether the user is having the photos shipped to my state? That is the only time I have to add tax. I'm conceptualizing another line just before the total that reads $0.00 if the check box is not checked and reads the tax amount which would be 8.9% x (shipping&handling + total). Would you let me know if this is feasible?
It's entirely feasible. But - I'd also need to add options to set (and also store) the tax rate, and enlarge the database schema to include tax information for each order, then update the payment plugins to include the tax information and change all the email formats. Oh, and change the templates so that the customer gets an option to choose their location. That will give a tax system that's great for one person, but wouldn't suit many others.
I'm thinking about how to include a tax plugin interface, so people can code their own, but I'm not there yet.
rojosound
Joined: 2005-02-21
Posts: 13
Posted: Thu, 2008-04-03 07:14
I'm following this tread for a while now and was wundering if it's possible to edit the fields in the form from within the admin page.
I would like it if the fields are in this order:
The module works like a charm and we have got it in production
Yes, you can change the field order (or position or anything else you like) as long as the field names stay the same. Edit the checkoutemail/templates/Details.tpl file, save your changed version into a local/ directory as the instructions at the top of the file suggest.
rojosound
Joined: 2005-02-21
Posts: 13
Posted: Thu, 2008-04-03 07:13
Yep ok that's how we did it so far, what i mean is change this in the admin configuration page so it's saved for the next update.
Now we have to do it all over again when an update arrives.
It would be very much appreciated if it's all done in the admin configuration just like the products and pricing.
Then we can simply turn on or off the fields we don't use and name them in anything we like.
Thanks for the quick reply
Rob Huurman
Showpics.nl - The Netherlands
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-04-03 07:52
Quote:
what i mean is change this in the admin configuration page so it's saved for the next update.
Now we have to do it all over again when an update arrives.
If you follow the instructions that I posted (and/or read the paragraph at the start of all the gallery .tpl files) you'll see that by putting your *edited* templates in a local/ directory they don't get overwritten when an update arrives, and the edited version will be used in preference to the original. It's not worth putting this sort of thing in a config page, that's exactly the purpose of template files!
paulcobb
Joined: 2006-05-04
Posts: 122
Posted: Thu, 2008-04-03 19:22
I notice that on the 'checkout orders' overview page;
on checkoutemail transactions the recipient name field is blank, whereas on checkoutpaypal transactions the field is populated correctly.
paulcobb
Joined: 2006-05-04
Posts: 122
Posted: Fri, 2008-04-04 09:48
Since the paper option has been a selectable option;
the specified selection does not appear on the confirmation email, although it does appear on the email from PayPal when using checkoutpaypal.
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-04-04 15:07
paulcobb wrote:
I notice that on the 'checkout orders' overview page;
on checkoutemail transactions the recipient name field is blank, whereas on checkoutpaypal transactions the field is populated correctly.
Good point. I've arranged to copy the firstname/lastname information into that field if it's not filled in by the user.
paulcobb wrote:
Since the paper option has been a selectable option;
the specified selection does not appear on the confirmation email, although it does appear on the email from PayPal when using checkoutpaypal.
Fixed that too, thanks.
canzocom
Joined: 2006-03-20
Posts: 1
Posted: Mon, 2008-04-07 22:49
I have been trying this module out, and I love it so far.
Would there be an easy way to get the ShowCart block to list out it's contents using something like a foreach loop? I'd like the cart to show [Title] [QTY] [Price] and maybe display the total at the bottom of the cart's block.
Thanks for this awesome module! :D
-Mark
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-04-08 07:04
canzocom wrote:
I have been trying this module out, and I love it so far.
Would there be an easy way to get the ShowCart block to list out it's contents using something like a foreach loop?
Relatively easy, yes.
You'd need to extend the callback for 'countCheckoutItems' (it's the first section in Callbacks.inc) to pass the $items array to the template, something like: $block['checkout']['ShowCart']['items'] = $items; That will give the template access to the cart contents. Hint: you'll need to rearrange/edit the code sot that the postage/discount items aren't removed for counting. I'll make that change myself for the next update which is soon on it's way.
Then add to the ShowCart.tpl file stuff which is similar to the contents of SelectProducts.tpl. Naturally you'll need to change the relevant variable name from $tpl.items to, I guess, $block.checkout.ShowCart.items and cut out or rename all the form stuff, but the basic logic should be similar.
jelzo
Joined: 2008-04-10
Posts: 57
Posted: Thu, 2008-04-10 15:07
I have deinstalled the old checkout becouse it didn't work as i wanted, but now the install of the newest version gives me an error upon configuring the module "Checkout". After installing, when clicking the "configure" link, it pops-up the following error: _G2_WRONG_ITEMID
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-04-10 15:30
Can you provide the rest of the error message too, please? It should display a long list of filenames and line numbers- please post everything you see on the page.
jelzo
Joined: 2008-04-10
Posts: 57
Posted: Thu, 2008-04-10 19:37
It's all i get, just a popup box with that message. Nothing else. The state is still Inactive (configuration required).
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-04-10 22:16
Quote:
It's all i get, just a popup box with that message. Nothing else. The state is still Inactive (configuration required).
Either way, please pm me a screen shot of the popup box because I don't recognize your description of how the error is appearing.
Thanks!
Sorry, the error was somehow created by installing this plugin inside a gallery2joomla bridge. I fixed this by just going to the plain joomla map and install it there. Sorry.
It works pretty well, but the dutch language translation is not flawless at all, having half the page in english. I will post real errors i got later on (i got some).
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-04-10 23:09
jelzo wrote:
It works pretty well, but the dutch language translation is not flawless at all, having half the page in english. I will post real errors i got later on (i got some).
Will you volunteer to provide the Dutch transations?
Looking forward to hearing the details of any errors, so I can get them fixed.
timmcintyre
Joined: 2008-01-15
Posts: 5
Posted: Fri, 2008-04-11 00:05
Hi all, Ive just upgraded my gallery2 install to the latest 0.3.2 beta .. I am trying to use the checkoutemail option, and everything seems to be fine, except for when I get the very end, when a user is putting in their contact information and then clicks submit order i get a blank page appear ..
any ideas ??
setup info ...
Gallery version = 2.2.4 core 1.2.0.6
PHP version = 4.3.10-19 apache2handler
Webserver = Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-19
Database = mysqlt 4.1.11-Debian_4sarge7-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, NetPBM, Thumbnail, Gd, SquareThumb
Acceleration = none, none
Operating system = Linux vps2174.ww2.discoverholidays.ca 2.6.9-022stab078.14 #1 Wed Jul 19 14:17:57 MSD 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Rows in GalleryAccessMap table = 4
Rows in GalleryAccessSubscriberMap table = 2070
Rows in GalleryUser table = 4
Rows in GalleryItem table = 2067
Rows in GalleryAlbumItem table = 8
Rows in GalleryCacheMap table = 0
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-04-11 00:10
Quote:
Hi all, Ive just upgraded my gallery2 install to the latest 0.3.2 beta .. I am trying to use the checkoutemail option, and everything seems to be fine, except for when I get the very end, when a user is putting in their contact information and then clicks submit order i get a blank page appear ..
(mysqlt): SELECT g_userId, g_remoteIdentifier, g_creationTimestamp,
g_modificationTimestamp, g_data FROM g2_SessionMap WHERE
g_id='556a048989cb5f7ab79df779a1f949e1'
Warning: Unable to select locale en_US
controller checkoutemail.Email, view
Loading plugin core
Class not defined, trying to include it.
file_exists(/web/dwotb/public_html/gallery/modules/core/module.inc)
core plugin successfully instantiated
file_exists(/web/dwotb/public_html/gallery/g2data/versions.dat)
file(/web/dwotb/public_html/gallery/g2data/versions.dat, )
[1207873466] can't guarantee 5 -- extending!
file_exists(/web/dwotb/public_html/gallery/g2data/cache/entity/0/0/6.inc)
Loading plugin checkoutemail
Class not defined, trying to include it.
file_exists(/web/dwotb/public_html/gallery/modules/checkoutemail/module.inc)
checkoutemail plugin successfully instantiated
Check the version of the checkoutemail plugin
file_exists(/web/dwotb/public_html/gallery/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
The version of the checkoutemail plugin is ok
file_exists(/web/dwotb/public_html/gallery/modules/checkoutemail/Email.inc)
Loading plugin checkoutemail
checkoutemail plugin successfully instantiated
Check the version of the checkoutemail plugin
The version of the checkoutemail plugin is ok
timmcintyre
Joined: 2008-01-15
Posts: 5
Posted: Fri, 2008-04-11 00:24
actually sorry the above is before the submit button ...
if you want to take a look your self i have it open with debugging on at www.dreamsworkonthebay.com/gallery .. just add a pic and try do the checkout via email ..
any help greatly appreciated ..
Tim
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-04-11 00:32
timmcintyre wrote:
actually sorry the above is before the submit button ...
if you want to take a look your self i have it open with debugging on at www.dreamsworkonthebay.com/gallery .. just add a pic and try do the checkout via email ..
any help greatly appreciated ..
Tim
You need to find and post the error message. I can't try it myself as your site is only open to registered users and won't automatically register me. Really, I'd like to help find the problem but you have to do your bit too, by posting the necessary information (or at least make it as easy as you can for me to find it.)
timmcintyre
Joined: 2008-01-15
Posts: 5
Posted: Fri, 2008-04-11 00:36
sent you a PM ..
hwilliam
Joined: 2008-04-05
Posts: 21
Posted: Fri, 2008-04-11 03:29
I recently installed the Checkout 0.3.2 module and it seems to work fine in the cart area, and paypal area, however in the email part it does not send all the order information. It does not show the "option" picked. I sell photographs and have it set with a dropdown menu with sizes and the options for finishes. The email shows item, prices, quanitity and total, but not options...how do I fix it? Also, in the email there is a "check status" button that goes nowhere...how do I set that to do what it I assume it is suspossed to do? Thanks
"
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-04-11 09:13
The email includes the paper options immediately after the product name, in both the plaintext and html renderings, so you should have something like this:
If not, please zip a sample email and also your templates/email/TransactionContents.tpl file.
I have noticed a couple of glitches in the plaintext rendering, which I'll fix for the next update, but nothing that prevents the paper option being included.
As for the check status link: look at the email source code and post the link url so I can have a look at it please.
hwilliam
Joined: 2008-04-05
Posts: 21
Posted: Fri, 2008-04-11 15:10
I don't seem to have a templates/email/TransactionContents.tpl file. The website for the gallery is www.naturephotographybyhwilliam.com/gallery2/. And where do I find the email source code? I can get by in HTML, but php and all this is really new to me. If I could figure out how to zip a file on this comupter I'd send the print out. My Mac seemed so much simpler!!!! Also, is there a way to delete the orders?
Thanks so much for all your help.
Bill
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-04-11 15:32
hwilliam wrote:
I don't seem to have a templates/email/TransactionContents.tpl file. The website for the gallery is www.naturephotographybyhwilliam.com/gallery2/. And where do I find the email source code? I can get by in HTML, but php and all this is really new to me. If I could figure out how to zip a file on this comupter I'd send the print out. My Mac seemed so much simpler!!!! Also, is there a way to delete the orders?
Thanks so much for all your help.
Bill
Presumably you have ftp access, or else you wouldn't have been able to upload the new checkout version?
The email "source code" is in the various files in the modules/checkout/templates/email folder. The part that displays the order contents is the TransactionContents.tpl file - which does have the entry for the field which describes the paper type. So I wanted to check you have the right version of that file.
If you want to place another order and zip the email on your mac, that will be just fine.
And no, at the moment there's no way to delete individual orders. You can uninstall and reinstall the module if they really trouble you, but it won't do any harm to leave them be.
jelzo
Joined: 2008-04-10
Posts: 57
Posted: Fri, 2008-04-11 16:19
Yay, a couple hours of work and my beta dutch translation is ready to download:
Posts: 7
Here is the info of my server:
Checkout 0.3.1
Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.0.4 apache2handler
Webserver = Apache/2.0.54 (Fedora)
Database = mysql 4.1.20, lock.system=flock
Toolkits = ArchiveUpload, Getid3, Exif, LinkItemToolkit, NetPBM, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux localhost 2.6.9-023stab044.4-enterprise #1 SMP Thu May 24 17:41:23 MSD 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
Rows in GalleryAccessMap table = 549
Rows in GalleryAccessSubscriberMap table = 3662
Rows in GalleryUser table = 5
Rows in GalleryItem table = 3658
Rows in GalleryAlbumItem table = 360
Rows in GalleryCacheMap table = 0
When I click on the download PDF invoice I get a blank white screen.
Did some more checking and it seems that the problem has something to do with multisite. Main install works but the multisite doesn't work.
Posts: 4342
tbendick: a blank screen is usually indicative of a php error. Please follow these instructions (particularly the first one about How to Display PHP Errors):
http://codex.gallery2.org/Gallery2:FAQ#I_get_only_a_blank_screen_when_trying_to_view_my_Gallery.2C_what.27s_wrong.3F
Let me know what errors you get.
Posts: 13
Seems as though under ALL circumstances it downloads 2.16mb out of 2.2mb, I'm not sure why this is, but is there any file size limit ect... for zip somewhere because on every occasion it won't pass that mark. I doubt it's connection related cause I get it at 80 - 110 kbs.
Posts: 4342
As far as I know, there's no hard limit, but your server may be killing the script because of excessive memory or processor usage. See if your hosting provider imposes any limits or has any error log that might help. If you use different (smaller!) images, it works then?
Posts: 4342
A quick note to those who are following this thread. I'm happy to report that I've been running 0.3.1 on a live site for the last week, and it appears to be taking orders (via email, and paypal) just fine. No guarantees are given, but you might consider trying it.
Secondly: how many people use the Download Before Payment option - specifically, how many people want a download link on the *confirm* page, which is before the customer has entered even a name (so it essentially gives away images anonymously)?
The reason I ask is because I am considering moving the download option into a separate sub-module (yes, Checkout now has product-type plugins) and one consequence is that it will be harder (not impossible) for the admin to have the download button displayed on the confirm page. It will still display on the customer's order status page, and I am working out what to do about email notifications. Bottom line is, unless there's a popular uprising I will remove the option to download before payment details are entered, but leave the option to download from the status page before payment is actually *cleared*.
Posts: 13
Update on my problem:
I'm gonna look into server limitations, but I have tried it for a 700kb file and it still doesn't download properly, what can you recommend, is the zip file not encoded completly or ended as it should, or would it still be server-based?
Posts: 122
Using 0.3.1 beta2
When I get the Administrative notifications regarding PayPal payment completed.
The URL in the email returns an HTTP 500 error.
Paul
Posts: 4342
fubarhouse: as far as I can work out, the download code copies the files to be zipped to the g2data/tmp then zips them to another file in that directory. The download doesn't start until the zipping process is complete, so you should be able to, for instance, pause the download, then ftp the zipped file directly from that directory. It should then get deleted when the download completes. That way you can maybe narrow down whether it's a problem creating the zipfile or a problem in downloading it.
By the way, when I said try a smaller file, I meant something about 50kb, to test with.
paulcobb: thanks, I'll look into it.
Posts: 16
Against your original advice, I've been running version 0.3.1 on a production site as well for the past 2 weeks. We started taking orders on 03/17 and it's been working flawlessly. Currently we only offer customers the e-mail payment option.
As far as download, since we only sell prints, we don't give customer the option to do any downloading. But in general it does make sense to only give the option to download once payment info is entered.
Thanks,
-- John
Posts: 4342
Fixed in 0.3.2 (forthcoming)
Posts: 134
Posts: 4342
Hi Vdd,
All these things are possible, but they are so far outside the way Checkout works (Checkout is based on adding items to a cart/basket, then deciding what to do with them and how to pay) that it would be simpler for you to start from scratch and write a module to do just what you want. The good news is that it is all possible with the gallery framework, and you will learn a lot of programming (if you don't know it already) on the way!
You might however, in the mean time, be able to use a feature new in 0.3.2 which is to hide individual products from users who are not logged in. You can therefore have a product set for download that only your registered users can access, although it will still have to be in the cart/basket as before.
Posts: 134
Hi Alecmyers
I am a photographer , not a software man. I was born before 1965, can't code a one bit. I loved to, but I can't
I do not quite understand your reaction about what the checkout module stands for, adding a item, photo, to a cart ,basket and then deciding what to do and how to pay for,
You decided in your version of checkout to show a download button after adding a item to a cart/basket, selecting a print , I would like to see the download button under a thumbnail or resized photo,
Is that a difference?
Anyway you did bring the checkout module to a higher level and that's nice for people who want all that possibilities to choose what they want to sell.
I would like to see, as a photographer,photojournalist, a good download module with maybe, if possible some extra functions as mentioned and more feedback also from from the gallery system
With the permissions module I can do exactly what I want with reg. user and not reg users, I can give regusers the rights to download and not regusers rights to order a print with the checkout and checkout-email module, with all his new features you come up with.
More feedback from the Gallery is difficult to obtain and The modules for such a feedback is still not there and that is needed i think for a commercial use of the program,but may be i stand alone in this
best regards
vdd
Posts: 6
This module is turning out awesome! I was disappointed by some of the other modules here and almost decided to do away with gallery but this has changed my mind. I do have a question though, is there an easy way for someone to look up their order status if they did not bookmark the page? I am still going through some of this to see if there is something obvious I have missed. Other than that this seems to be an incredible boon for gallery and one of the only forums that has recent posts I might add (that I have seen).
EDIT: I should probably note I am using 0.3.1 for checkout, email, and paypal
Posts: 10
I am getting an error after my customers purchase their items on Paypal and are sent back to my site. The charge on my site does not include sales tax but paypal does charge sales tax if it is shipped to my state. therefore i think this causes an error which I get an error email saying the following:
Administrative Notification:
WARNING: PayPal amount (11.96) does not match our records (10.98).
Posts: 6
I could be wrong but i believe this is going to be a setting in Paypal to calculate sales tax or not and whether it is taxable or not. I am going to include tax in my items and it does not add tax to my order when go to pay. I had tried a transaction with shipping in it myself and paypal did not add tax... I even finalized the transaction and charged myself some money... hmmm... not the best way to test, but better me than a client.
Posts: 4342
Yes, very big difference. You can add a "download this image" button in about 2 lines of code, or maybe 50 if you want it to be a neat and tidy module. I really wouldn't do it with Checkout though, it's enturely unnecessary.
I'm thinking about a customer feedback questionnaire as another email option, but I haven't sorted in my head how it might work yet.
It's a trade-off of ease of use vs. security. One of the "hidden features" of Checkout as it stands is that you can with a single line change add into the status page things like the customer details, order contents and other potentially sensitive stuff (all the stuff in the AdminOrder.tpl can be added in to the OrderStatus.tpl file). However while the AdminOrder page is protected by a test to see if the current user is a site admin, for unregistered users wanting to look up their own orders that's obviously not going to work, so OrderStatus page is protected with two security fields in the url, to stop people trying to 'guess' at order numbers and look up orders that aren't their own.
Somehow you have privately to tell the user what those fields are, or else *anyone* can look up the status of any order. And test how many orders are placed on your site, etc etc. Hence the email to the customer which has the button (and link) to the order status page. But if you can think of another way (it could, for instance, bypass the security test for users who are logged in as the same userId as the person that placed the order, but that might not be appropriate if most of your customers aren't registered) then I'm open to suggestions.
On the tax issue: there were murmurings of someone offering to sponsor an upgrade to Checkout to add tax, but that appears to have gone cold. The reason I haven't added it is because as things stand I don't pay any sales tax on my sales and there are *so* many different tax systems with so many different calculation requirements that it would be impossible to add something to satisfy everyone. Everyone's individual demands are very simple but they're all different.
Posts: 16
Here's a follow-on script to the previous one I sent. This one e-mails a formatted HTML report of the orders. It still uses mysql, not G2 API.
Thanks,
-- John
#! /bin/ksh
DB_USER=your_user
DB_PASS=your_pass
DB_DATABASE=your_database
TO_EMAIL=your_email@yahoo.com
function generateReport
{
mysql -H --user=$DB_USER --password="$DB_PASS" $DB_DATABASE << EOF
select count(*) as "Total Orders", format(sum(g_amount),2) as "Total Sales"
from g2_CheckoutTransaction
where g_paymentPlugin IS NOT NULL;
select count(*) as "Total Orders (Paid)", format(sum(g_amount),2) as "Total Sales (Paid)"
from g2_CheckoutTransaction
where g_paymentPlugin IS NOT NULL
and g_flagPaid=1;
select g_id as "Order",date_format(from_unixtime(g_date),"%m/%d/%Y") as Date,
g_firstName as First,g_LastName as Last,g_amount as Amount,g_email as "E-Mail",
IF(g_flagPaid is NULL,"-","Y") as Paid,
IF(g_flagCompleted is NULL,"-","Y") as Done
from g2_CheckoutTransaction
where g_paymentPlugin IS NOT NULL;
EOF
}
function makePrettyReport
{
cat << EOF
<html>
<style>
th {
font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
border-right: 1px solid #C1DAD7;
border-bottom: 1px solid #C1DAD7;
border-top: 1px solid #C1DAD7;
letter-spacing: 2px;
text-transform: uppercase;
text-align: left;
padding: 6px 6px 6px 12px;
background: #CAE8EA url(images/bg_header.jpg) no-repeat;
}
td {
border-right: 1px solid #C1DAD7;
border-bottom: 1px solid #C1DAD7;
background: #fff;
font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
padding: 6px 6px 6px 12px;
color: #4f6b72;
}
</style>
<body>
$HTML_REPORT
</body>
</html>
EOF
}
export HTML_REPORT=$(generateReport)
export PRETTY_REPORT=$(makePrettyReport)
/usr/bin/sendmail $TO_EMAIL << EOF
To: $TO_EMAIL
Subject: Your Subject
Content-Type: text/html; charset="us-ascii"
$PRETTY_REPORT
EOF
Posts: 4342
John,
Thanks for working on this. I'm sure a lot of people will find it useful.
Two suggestions though: firstly, this isn't an appropriate thread - this thread is for comments/problems/suggestions *specifically* for the 2.x and 3.x updates to Checkout (I've tried to make this *crystal* clear in the first post, as well as periodically throughout) and as far as I can tell your scripts will work just as well for pretty much all versions of checkout. So please start a new thread for any new ones rather than posting them here. That means that a lot more people will get to see them as readership of this thread is limited to people trying the new versions of Checkout. Secondly, rather than pasting them into the post, please upload them as attachments. There's no need for instance to have the scripts emailed to everyone who has subscribed as it will be automatically by including it - many people will not be running MySQL or will not want to have the code. If in a new thread you describe what they do then include them as attachments everyone who wants it can choose to download it.
Many thanks for helping to keep these forums neat and tidy.
Posts: 16
Good suggestions.
Thanks,
-- John
Posts: 10
Agreed! I don't want to cause a whole lot of work. The problem with including the tax in my prices is that it will increase the price by 8.9%, which to the customer will think that I am more expensive.
Question: Is there any way that you can add a check box that asks whether the user is having the photos shipped to my state? That is the only time I have to add tax. I'm conceptualizing another line just before the total that reads $0.00 if the check box is not checked and reads the tax amount which would be 8.9% x (shipping&handling + total). Would you let me know if this is feasible? I would imagine that people can make the check box to ask whether it's going to (for example) their country, state, city, etc?
Again, thanks for this great module! This is by far the most useful that I have seen.
- abish
www.abishphotodesign.com
Posts: 4342
It's entirely feasible. But - I'd also need to add options to set (and also store) the tax rate, and enlarge the database schema to include tax information for each order, then update the payment plugins to include the tax information and change all the email formats. Oh, and change the templates so that the customer gets an option to choose their location. That will give a tax system that's great for one person, but wouldn't suit many others.
I'm thinking about how to include a tax plugin interface, so people can code their own, but I'm not there yet.
Posts: 13
I'm following this tread for a while now and was wundering if it's possible to edit the fields in the form from within the admin page.
I would like it if the fields are in this order:
The module works like a charm and we have got it in production
See for yourselfs: www.showpics.nl
Thanks Rob Huurman
Showpics.nl
The Netherlands
Posts: 4342
Yes, you can change the field order (or position or anything else you like) as long as the field names stay the same. Edit the checkoutemail/templates/Details.tpl file, save your changed version into a local/ directory as the instructions at the top of the file suggest.
Posts: 13
Yep ok that's how we did it so far, what i mean is change this in the admin configuration page so it's saved for the next update.
Now we have to do it all over again when an update arrives.
It would be very much appreciated if it's all done in the admin configuration just like the products and pricing.
Then we can simply turn on or off the fields we don't use and name them in anything we like.
Thanks for the quick reply
Rob Huurman
Showpics.nl - The Netherlands
Posts: 4342
If you follow the instructions that I posted (and/or read the paragraph at the start of all the gallery .tpl files) you'll see that by putting your *edited* templates in a local/ directory they don't get overwritten when an update arrives, and the edited version will be used in preference to the original. It's not worth putting this sort of thing in a config page, that's exactly the purpose of template files!
Posts: 122
I notice that on the 'checkout orders' overview page;
on checkoutemail transactions the recipient name field is blank, whereas on checkoutpaypal transactions the field is populated correctly.
Posts: 122
Since the paper option has been a selectable option;
the specified selection does not appear on the confirmation email, although it does appear on the email from PayPal when using checkoutpaypal.
Posts: 4342
Good point. I've arranged to copy the firstname/lastname information into that field if it's not filled in by the user.
Fixed that too, thanks.
Posts: 1
I have been trying this module out, and I love it so far.
Would there be an easy way to get the ShowCart block to list out it's contents using something like a foreach loop? I'd like the cart to show [Title] [QTY] [Price] and maybe display the total at the bottom of the cart's block.
Thanks for this awesome module! :D
-Mark
Posts: 4342
Relatively easy, yes.
You'd need to extend the callback for 'countCheckoutItems' (it's the first section in Callbacks.inc) to pass the $items array to the template, something like:
$block['checkout']['ShowCart']['items'] = $items;That will give the template access to the cart contents. Hint: you'll need to rearrange/edit the code sot that the postage/discount items aren't removed for counting. I'll make that change myself for the next update which is soon on it's way.Then add to the ShowCart.tpl file stuff which is similar to the contents of SelectProducts.tpl. Naturally you'll need to change the relevant variable name from $tpl.items to, I guess, $block.checkout.ShowCart.items and cut out or rename all the form stuff, but the basic logic should be similar.
Posts: 57
I have deinstalled the old checkout becouse it didn't work as i wanted, but now the install of the newest version gives me an error upon configuring the module "Checkout". After installing, when clicking the "configure" link, it pops-up the following error:
_G2_WRONG_ITEMID
Posts: 4342
Can you provide the rest of the error message too, please? It should display a long list of filenames and line numbers- please post everything you see on the page.
Posts: 57
It's all i get, just a popup box with that message. Nothing else. The state is still Inactive (configuration required).
Posts: 4342
Please enable debug to buffered mode (see http://codex.gallery2.org/Gallery2:FAQ#How_to_set.2Fuse_Gallery_in_debug_mode.3F) and check if that gives more information.
Either way, please pm me a screen shot of the popup box because I don't recognize your description of how the error is appearing.
Thanks!
Posts: 57
Sorry, the error was somehow created by installing this plugin inside a gallery2joomla bridge. I fixed this by just going to the plain joomla map and install it there. Sorry.
It works pretty well, but the dutch language translation is not flawless at all, having half the page in english. I will post real errors i got later on (i got some).
Posts: 4342
Will you volunteer to provide the Dutch transations?
Looking forward to hearing the details of any errors, so I can get them fixed.
Posts: 5
Hi all, Ive just upgraded my gallery2 install to the latest 0.3.2 beta .. I am trying to use the checkoutemail option, and everything seems to be fine, except for when I get the very end, when a user is putting in their contact information and then clicks submit order i get a blank page appear ..
any ideas ??
setup info ...
Gallery version = 2.2.4 core 1.2.0.6
PHP version = 4.3.10-19 apache2handler
Webserver = Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-19
Database = mysqlt 4.1.11-Debian_4sarge7-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, NetPBM, Thumbnail, Gd, SquareThumb
Acceleration = none, none
Operating system = Linux vps2174.ww2.discoverholidays.ca 2.6.9-022stab078.14 #1 Wed Jul 19 14:17:57 MSD 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Rows in GalleryAccessMap table = 4
Rows in GalleryAccessSubscriberMap table = 2070
Rows in GalleryUser table = 4
Rows in GalleryItem table = 2067
Rows in GalleryAlbumItem table = 8
Rows in GalleryCacheMap table = 0
Posts: 4342
Blank page = php error.
Please enable debug (buffered) mode (http://codex.gallery2.org/Gallery2:FAQ#How_to_set.2Fuse_Gallery_in_debug_mode.3F) and try again - post the error that's generated.
Thanks
Posts: 5
this is what it returns
--------------
Debug Redirect
Not automatically redirecting you to the next page because we're in debug mode
Continue to the next page
file_exists(/web/dwotb/public_html/gallery/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
Unimplemented: GalleryUrlGenerator
getParameter session.lifetime for core plugin
file_exists(/web/dwotb/public_html/gallery/g2data/cache/module/core/0/0/0.inc)
getParameter session.inactivityTimeout for core plugin
(mysqlt): SET NAMES "utf8"
file_exists(/web/dwotb/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='556a048989cb5f7ab79df779a1f949e1'
Warning: Unable to select locale en_US
controller checkoutemail.Email, view
Loading plugin core
Class not defined, trying to include it.
file_exists(/web/dwotb/public_html/gallery/modules/core/module.inc)
core plugin successfully instantiated
file_exists(/web/dwotb/public_html/gallery/g2data/versions.dat)
file(/web/dwotb/public_html/gallery/g2data/versions.dat, )
[1207873466] can't guarantee 5 -- extending!
file_exists(/web/dwotb/public_html/gallery/g2data/cache/entity/0/0/6.inc)
Loading plugin checkoutemail
Class not defined, trying to include it.
file_exists(/web/dwotb/public_html/gallery/modules/checkoutemail/module.inc)
checkoutemail plugin successfully instantiated
Check the version of the checkoutemail plugin
file_exists(/web/dwotb/public_html/gallery/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
The version of the checkoutemail plugin is ok
file_exists(/web/dwotb/public_html/gallery/modules/checkoutemail/Email.inc)
Loading plugin checkoutemail
checkoutemail plugin successfully instantiated
Check the version of the checkoutemail plugin
The version of the checkoutemail plugin is ok
Posts: 5
actually sorry the above is before the submit button ...
if you want to take a look your self i have it open with debugging on at www.dreamsworkonthebay.com/gallery .. just add a pic and try do the checkout via email ..
any help greatly appreciated ..
Tim
Posts: 4342
You need to find and post the error message. I can't try it myself as your site is only open to registered users and won't automatically register me. Really, I'd like to help find the problem but you have to do your bit too, by posting the necessary information (or at least make it as easy as you can for me to find it.)
Posts: 5
sent you a PM ..
Posts: 21
I recently installed the Checkout 0.3.2 module and it seems to work fine in the cart area, and paypal area, however in the email part it does not send all the order information. It does not show the "option" picked. I sell photographs and have it set with a dropdown menu with sizes and the options for finishes. The email shows item, prices, quanitity and total, but not options...how do I fix it? Also, in the email there is a "check status" button that goes nowhere...how do I set that to do what it I assume it is suspossed to do? Thanks
"
Posts: 4342
The email includes the paper options immediately after the product name, in both the plaintext and html renderings, so you should have something like this:
If not, please zip a sample email and also your templates/email/TransactionContents.tpl file.
I have noticed a couple of glitches in the plaintext rendering, which I'll fix for the next update, but nothing that prevents the paper option being included.
As for the check status link: look at the email source code and post the link url so I can have a look at it please.
Posts: 21
I don't seem to have a templates/email/TransactionContents.tpl file. The website for the gallery is www.naturephotographybyhwilliam.com/gallery2/. And where do I find the email source code? I can get by in HTML, but php and all this is really new to me. If I could figure out how to zip a file on this comupter I'd send the print out. My Mac seemed so much simpler!!!! Also, is there a way to delete the orders?
Thanks so much for all your help.
Bill
Posts: 4342
Presumably you have ftp access, or else you wouldn't have been able to upload the new checkout version?
The email "source code" is in the various files in the modules/checkout/templates/email folder. The part that displays the order contents is the TransactionContents.tpl file - which does have the entry for the field which describes the paper type. So I wanted to check you have the right version of that file.
If you want to place another order and zip the email on your mac, that will be just fine.
And no, at the moment there's no way to delete individual orders. You can uninstall and reinstall the module if they really trouble you, but it won't do any harm to leave them be.
Posts: 57
Yay, a couple hours of work and my beta dutch translation is ready to download:
http://encodable.com/cgi-bin/filechucker.cgi?action=landing&path=/&file=nl_NL.po
Enjoy!
Posts: 4342
That doesn't appear to download - can you zip it and attach it to your post instead?
Posts: 57
I'll try but i notice that it still doesn't translate everything.
I'll look into it l8r today.