[SOLVED] Check out problem! After sent order blank page...

kaba-2

Joined: 2009-02-16
Posts: 38
Posted: Tue, 2009-11-03 20:48

I've never had so many problems with a component... Im sorry but I have to say that... I spend more time searching on the forum how to fix bugs than on my website working. I dont know, I have check out by email installed: when you finish the order entering your name etc, and press submit a blank page comes out instead of the confirmatio page. This is the url of the blank page:

...gallery2/main.php?g2_controller=checkout.Complete&g2_transactionId=1569&g2_verify1=1257280401&g2_verify2=17227107934af09391beaa02.3432058&g2_authToken=e51e6b83179d

One week ago it was working. Any solution to the problem is apriciated. Or I guess I will need to reinstall check out as usual... I sound a little angry because much time spent on this and suddenly not working, again.

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3362
Posted: Tue, 2009-11-03 21:36

I don't think being angry will help anyone.
Please follow the instructions here:
FAQ: I get only a blank screen when trying to view my Gallery, what's wrong?

Quote:
I spend more time searching on the forum how to fix bugs

If you find any bugs in checkout I'm very keen to hear about them so I can fix them. But a quick browse of your postings on this forum indicate that where you have problems, you usually reinstall and then announce that the problem has gone away. Maybe this time you could invest some time so we can find the problem, if there is one, and actually fix it?

Login or register to post comments
kaba-2

Joined: 2009-02-16
Posts: 38
Posted: Wed, 2009-11-04 09:21

I just solved this in the old way. Sorry but this is the fastest and easyest way to do it: reinstall checkout. Instead of looking for the error, I dont even know where to start looking...

I just hope something doesnt freak out soon...

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3362
Posted: Wed, 2009-11-04 10:07
Quote:
Instead of looking for the error, I dont even know where to start looking...

Which is why I told you where to start looking, and I would have helped you through until the error was found. If you put Gallery2 into debug mode (I told you how to do that) then the location of what's causing the blank screen is displayed in an error message. If you had given me the error message I could have told you what the problem was. It takes about 30 seconds.

Let me just point out that this forum (and in fact the whole Gallery project) is a cooperative enterprise. Finding problems needs the help of the user (that's you) too. Most times problems are the fault of the user who modified and broke something, or problems with the web hosting, and occasionally they find a bug in the code that needs fixing. If you're not prepared to play your part in this then why do you bother posting in this forum?

Login or register to post comments
kaba-2

Joined: 2009-02-16
Posts: 38
Posted: Sun, 2009-11-08 21:36

The same problem happend again... I will soon post the debug mode report.

Login or register to post comments
kaba-2

Joined: 2009-02-16
Posts: 38
Posted: Sun, 2009-11-08 21:46

Notice: Undefined index: custRecipientName in /web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/checkoutemail/Details.inc on line 60
Debug Redirect
Not automatically redirecting you to the next page because we're in debug mode
Continue to the next page

file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class)
getParameter modrewrite.embeddedLocation for rewrite plugin
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/module/rewrite/0/0/0.inc)
getParameter cookie.path for core plugin
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/module/core/0/0/0.inc)
getParameter shortUrls for rewrite plugin
getParameter session.lifetime for core plugin
getParameter session.inactivityTimeout for core plugin

(mysqli): SET NAMES "utf8"

(mysqli): SELECT g2_Schema.g_info FROM g2_PluginMap, g2_Schema
WHERE g2_PluginMap.g_pluginId = g2_Schema.g_pluginId
AND g2_Schema.g_type = 'map' AND g2_PluginMap.g_active = 1

(mysqli): SELECT g_userId, g_remoteIdentifier, g_creationTimestamp,
g_modificationTimestamp, g_data FROM g2_SessionMap WHERE
g_id='cb5672321b416dac32bf54087d77c85b'

controller checkoutemail.Details, view
Loading plugin core
Class not defined, trying to include it.
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/core/module.inc)
core plugin successfully instantiated
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/versions.dat)
file(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/versions.dat,
)
[1257716669] can't guarantee 5 -- extending!
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/0/0/5.inc)
Loading plugin checkoutemail
Class not defined, trying to include it.
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/checkoutemail/module.inc)
checkoutemail plugin successfully instantiated
Check the version of the checkoutemail plugin
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
The version of the checkoutemail plugin is ok
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/checkoutemail/Details.inc)
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/1/6/1626.inc)
getParameter lock.system for core plugin
fopen(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/locks/1626,
wb+, 0)
flock(Resource id #109, 6, )

(mysqli): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (1626)

(mysqli): SELECT g2_Schema.g_info FROM g2_PluginMap, g2_Schema
WHERE g2_PluginMap.g_pluginId = g2_Schema.g_pluginId
AND g2_Schema.g_type = 'entity' AND g2_PluginMap.g_active = 1

(mysqli): SELECT g2_CheckoutTransaction.g_date,
g2_CheckoutTransaction.g_security, g2_CheckoutTransaction.g_buyerId,
g2_CheckoutTransaction.g_host, g2_CheckoutTransaction.g_languageCode,
g2_CheckoutTransaction.g_postage, g2_CheckoutTransaction.g_postageType,
g2_CheckoutTransaction.g_discount,
g2_CheckoutTransaction.g_discountDescription,
g2_CheckoutTransaction.g_amount, g2_CheckoutTransaction.g_firstName,
g2_CheckoutTransaction.g_lastName, g2_CheckoutTransaction.g_email,
g2_CheckoutTransaction.g_recipientName, g2_CheckoutTransaction.g_telephone,
g2_CheckoutTransaction.g_address1, g2_CheckoutTransaction.g_address2,
g2_CheckoutTransaction.g_address3, g2_CheckoutTransaction.g_address4,
g2_CheckoutTransaction.g_address5, g2_CheckoutTransaction.g_addressZip,
g2_CheckoutTransaction.g_addressCountry,
g2_CheckoutTransaction.g_custNotes, g2_CheckoutTransaction.g_custComments,
g2_CheckoutTransaction.g_paymentPlugin,
g2_CheckoutTransaction.g_timeConfirmed, g2_CheckoutTransaction.g_timePaid,
g2_CheckoutTransaction.g_timeCleared, g2_CheckoutTransaction.g_timeFulfil,
g2_CheckoutTransaction.g_timeFulfilled,
g2_CheckoutTransaction.g_timeCompleted, g2_CheckoutTransaction.g_timeHold,
g2_CheckoutTransaction.g_timeProblem,
g2_CheckoutTransaction.g_timeDownloaded,
g2_CheckoutTransaction.g_downloadAttempts, g2_Entity.g_id,
g2_Entity.g_creationTimestamp, g2_Entity.g_isLinkable, g2_Entity.g_linkId,
g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber,
g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers FROM
g2_CheckoutTransaction, g2_Entity WHERE g2_CheckoutTransaction.g_id IN
(1626) AND g2_Entity.g_id=g2_CheckoutTransaction.g_id

file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/core/classes/helpers/GalleryItemHelper_medium.class)

(mysqli): BEGIN

(mysqli): DELETE FROM g2_CacheMap WHERE g_itemId IN (1626)

file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/albumselect/module.inc)
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/comment/classes/GalleryCommentHelper.class)
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/hidden/module.inc)
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/imageblock/classes/ImageBlockHelper.class)
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/notification/classes/NotificationItemStateChangeHandler.class)
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/password/module.inc)
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/permalinks/module.inc)
getParameter autoPermalink for permalinks plugin
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/module/permalinks/0/0/0.inc)
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/sizelimit/module.inc)
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/useralbum/module.inc)
Loading plugin checkout
Class not defined, trying to include it.
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/checkout/module.inc)
checkout plugin successfully instantiated

(mysqli): UPDATE g2_Entity SET
g_modificationTimestamp=1257716669,g_serialNumber=2 WHERE g_id=1626 AND
g_serialNumber=1

(mysqli): UPDATE g2_CheckoutTransaction SET g_paymentPlugin='checkoutemail'
WHERE g_id=1626

file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/1/6)
is_dir(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/1/6)
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/1/6)
is_dir(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/1/6)
getParameter permissions.file for core plugin
getParameter permissions.directory for core plugin
rename(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/1/6/1626.inc45QIg6,
/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/1/6/1626.inc)

(mysqli): SELECT g2_CheckoutTransaction.g_date,
g2_CheckoutTransaction.g_security, g2_CheckoutTransaction.g_buyerId,
g2_CheckoutTransaction.g_host, g2_CheckoutTransaction.g_languageCode,
g2_CheckoutTransaction.g_postage, g2_CheckoutTransaction.g_postageType,
g2_CheckoutTransaction.g_discount,
g2_CheckoutTransaction.g_discountDescription,
g2_CheckoutTransaction.g_amount, g2_CheckoutTransaction.g_firstName,
g2_CheckoutTransaction.g_lastName, g2_CheckoutTransaction.g_email,
g2_CheckoutTransaction.g_recipientName, g2_CheckoutTransaction.g_telephone,
g2_CheckoutTransaction.g_address1, g2_CheckoutTransaction.g_address2,
g2_CheckoutTransaction.g_address3, g2_CheckoutTransaction.g_address4,
g2_CheckoutTransaction.g_address5, g2_CheckoutTransaction.g_addressZip,
g2_CheckoutTransaction.g_addressCountry,
g2_CheckoutTransaction.g_custNotes, g2_CheckoutTransaction.g_custComments,
g2_CheckoutTransaction.g_paymentPlugin,
g2_CheckoutTransaction.g_timeConfirmed, g2_CheckoutTransaction.g_timePaid,
g2_CheckoutTransaction.g_timeCleared, g2_CheckoutTransaction.g_timeFulfil,
g2_CheckoutTransaction.g_timeFulfilled,
g2_CheckoutTransaction.g_timeCompleted, g2_CheckoutTransaction.g_timeHold,
g2_CheckoutTransaction.g_timeProblem,
g2_CheckoutTransaction.g_timeDownloaded,
g2_CheckoutTransaction.g_downloadAttempts, g2_Entity.g_id,
g2_Entity.g_creationTimestamp, g2_Entity.g_isLinkable, g2_Entity.g_linkId,
g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber,
g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers FROM
g2_CheckoutTransaction, g2_Entity WHERE g2_CheckoutTransaction.g_id IN
(1626) AND g2_Entity.g_id=g2_CheckoutTransaction.g_id

(mysqli): DELETE FROM g2_CacheMap WHERE g_itemId IN (1626)

getParameter autoPermalink for permalinks plugin

(mysqli): UPDATE g2_Entity SET
g_modificationTimestamp=1257716670,g_serialNumber=3 WHERE g_id=1626 AND
g_serialNumber=2

(mysqli): UPDATE g2_CheckoutTransaction SET
g_firstName='gianni',g_lastName='luca',g_email='kaba-2@hotmail.com',g_recipientName='gianni
luca',g_telephone='',g_address1='',g_addressZip='',g_addressCountry='',g_custComments='
' WHERE g_id=1626

file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/1/6)
is_dir(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/1/6)
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/1/6)
is_dir(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/1/6)
rename(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/1/6/1626.incOH3JHV,
/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/cache/entity/1/6/1626.inc)
Loading plugin checkoutemail
checkoutemail plugin successfully instantiated
Check the version of the checkoutemail plugin
The version of the checkoutemail plugin is ok

(mysqli): COMMIT

fclose(Resource id #109)
file_exists(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/locks/1626)
unlink(/web/htdocs/www.tizianomochen.it/home/components/gallery2/g2data/locks/1626)

Login or register to post comments
kaba-2

Joined: 2009-02-16
Posts: 38
Posted: Sun, 2009-11-08 21:49

and this is the next page...

Fatal error: Call to undefined method GalleryCheckoutTransaction::setTime() in /web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/checkout/classes/CheckoutTransactionEventHelper.class on line 426

any help very apriciated, I want to help thecommunity but I also need help from the community as alecmyers says...
thanks

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3362
Posted: Sun, 2009-11-08 22:21
Quote:
Fatal error: Call to undefined method GalleryCheckoutTransaction::setTime() in /web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/checkout/classes/CheckoutTransactionEventHelper.class on line 426

You must have some old code in your repository cache - line 426 of file CheckoutTransactionEventHelper.class should read:

Quote:
$transaction->setTimeConfirmed($flagValue);

Make sure your checkout installation is up to date by visiting Get More Plugins -> Update Plugin List. The latest package version of the checkout module is revision 1838, and the last update to the file that is throwing the error (checkout/classes/CheckoutTransactionEventHelper.class) - which you should be able to see at the top of that file - is revision 1689:

 * @version $Revision: 1689 $

Which is nearly a year old now!

If you have out of date code you should check the other checkout modules and make sure that what you have is up-to-date.

EDIT: actually, I've just checked the SVN repository and I can't find a version of that file that *ever* had the line listed in your error message. Has someone been editing the code on your site?

Login or register to post comments
kaba-2

Joined: 2009-02-16
Posts: 38
Posted: Sun, 2009-11-08 22:31

I think the problem has to do with the postage option... with no postage option set it seems to work...
where can I find the updates? The plugins are all up to date as I downloaded the list before from the admin site...

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3362
Posted: Sun, 2009-11-08 22:34
Quote:
where can I find the updates?

As I said: Get More Plugins -> Update Plugin List.

What is the revision number your website says you have installed when you go to "modify" or "update" the checkout module?

Better: send me a private message with an Admin login for your Gallery installation.

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3362
Posted: Mon, 2009-11-09 11:10
kaba-2 wrote:
Please if you modify somethin let me know, because I have translated all checkout and checkout-email to italian, and any upload will modify the language back to english as it happened before.

The it.po file (Italian translation for checkout) is mainly complete, but a little bit out of date. It would be nice if you could complete it then everyone can have automatic Italian translations.

kaba-2 wrote:
As I told you before I think the problem is connected to the postage option: Im usin it for a different purpose, and I didn't enter any data in band2 havin something like this:

description band1 band2
first 1
second 2

Yes, I understand you think the error is connected with that, but you posted an error message that indicates otherwise. So I need to understand why that error message is appearing from a line of code that is not in the checkout module, and has never been in the checkout module. Has someone been editing the code on your site? Can you find this file in your site for me: /web/htdocs/www.tizianomochen.it/home/components/gallery2/modules/checkout/classes/CheckoutTransactionEventHelper.class - make a zip file from it, and attach it to your post in this thread, please.

kaba-2 wrote:
Maybe you can tell me how I have to deal with this.

I don't know what you're trying to do. But there's no requirement to enter any data in band 2 if you don't want to use postage band 2. Set the number of postage bands to 1 if you only want to use one postage band.

Quote:
Number of Postage Bands? 1

Login or register to post comments
kaba-2

Joined: 2009-02-16
Posts: 38
Posted: Mon, 2009-11-09 17:12

Yes I did modify this file to translate it into italian. Maybe you can find out something wrong I did...

AttachmentSize
CheckoutTransactionEventHelper.class_.txt14.62 KB
Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3362
Posted: Mon, 2009-11-09 19:34
Quote:
Yes I did modify this file to translate it into italian. Maybe you can find out something wrong I did...

No, sorry. I have better things to do than deal with someone who complains about unreliable software then after 20 messages finally admits that he likes "changing" bits of it. The code in the repository works. I'm not your personal support line or code-reviewer.

You can translate the whole of checkout (and all other Gallery2 modules) without adjusting any code. The it.po translation is nearly complete and needs about 5 minutes work from an Italian-speaker to bring entirely up to date. Finish that, and post it here and I can include it in the module for everyone else to benefit from. Otherwise don't waste my time.

Login or register to post comments
kaba-2

Joined: 2009-02-16
Posts: 38
Posted: Mon, 2009-11-09 20:33
Quote:
No, sorry. I have better things to do than deal with someone who complains about unreliable software then after 20 messages finally admits that he likes "changing" bits of it. The code in the repository works. I'm not your personal support line or code-reviewer.

Sorry I didnt understand what you asked me!

Where can I find this it.po translation? any documentation on installing it?

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3362
Posted: Mon, 2009-11-09 21:25
Quote:
Where can I find this it.po translation? any documentation on installing it?

Go to "Configurazione Lingua", see Italian.gif below. Click the "Upgrade" button and then "Save" or "Salva"

Then the Italian translation is installed: see Italian2.gif.

The Italian translation is not complete. If you want to finish it then here is the it.po file (it.zip). Please check and complete the translations, and post it back in this thread, then I can include it with the module and you can download it from the repository. You will not be able to install the translation yourself.

AttachmentSize
Italian.gif31.29 KB
Italian2.gif15.05 KB
it.zip9.46 KB
Login or register to post comments
kaba-2

Joined: 2009-02-16
Posts: 38
Posted: Tue, 2009-11-10 19:28

If I install your translation I will lose all the custom translation I did (modifying the php files) for my checkout purpose. So as long as my editing works I will keep it. Ill wait some time to see if gallery actually works fine for the kind of work the photo gallery has to do on my site. is it ok for you alecmyers?
regards

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3362
Posted: Tue, 2009-11-10 19:38

It's not my translation; I don't speak Italian. It was contributed by a member of the community who was happy to donate his time.

Login or register to post comments