checkout module problem 4.3.0
Burnouts
Joined: 2007-01-31
Posts: 34 |
Posted: Wed, 2009-12-09 13:30 |
I've got a small problem with the checkout module, When ever I update the settings in the admin area under "Checkout Configuration" the settings don't actually don't save. Theres no error message or anything, it just simply loads the data from the database on reload. Nothing has changed in the last 12 months on the server and even then was just to add more ram. Gallery version = 2.3 core 1.3.0 API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5 PHP version = 5.2.9 cgi Webserver = Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.25 Database = mysqli 5.0.85-community-log, lock.system=flock Toolkits = Getid3, LinkItemToolkit, ArchiveUpload, NetPBM, Gd, ImageMagick, Thumbnail Acceleration = full/21600, full/21600 Operating system = Linux Default theme = matrix gettext = disabled Locale = en_US Browser = Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.30 Safari/532.5 Rows in GalleryAccessMap table = 51 Rows in GalleryAccessSubscriberMap table = 8539 Rows in GalleryUser table = 28 Rows in GalleryItem table = 8510 Rows in GalleryAlbumItem table = 54 Rows in GalleryCacheMap table = 14 Thanks. EDIT: I've just noticed that when a user adds a photo to the cart (not logged in) you receive Authentication Failure Your change cannot be completed due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in. Back to the Gallery But it works fine while the user is logged in, I guess that explains why people are emailing me rather than ordering photos via the website lol. |
|
Posts: 4342
Did you use cPanel to install Gallery?
OK, OK, I'll try not to be so mysterious. But please see the following threads which sound like your issue:
http://gallery.menalto.com/node/83962
http://gallery.menalto.com/node/89337
Incidentally, I don't have a problem adding photos to the cart on your website (not logged in, obviously) - can you do some more investigation and try to narrow down the circumstances of your session problem (which might not be checkout related).
Posts: 34
Hello,
No I didn't use cPanel to install it.
I've turned on debug mode and found this error info on when a guest adds a photo to the cart
And
Sorry for the long error code, this is from the admin update page
EDIT:
Going thru the array of data above shows that the data im editing/adding is the right data i entered but it doesnt go into the db..
--
http://Dragpix.net/
Posts: 4342
Yes, I'm afraid it is the form truncation problem. The end of the form should have an [action] field with "save" in it; the fact that it's missing is, as best as I can determine, a bug in php or Apache.
If you delete items from the end of the products list you will shorten the form a) get the action field back - feel free to check - and (therefore) b) be able to save the configuration details again.
In the long term the only solution reported by users appears to have been to change hosting providers.
I would also suspect that the same problem would appear with customers trying to place long orders; the form truncation appears to happen after precisely 100 form fields, and an order for many photographs would involve returning a form of more than 100 fields, also with the action field "continue to checkout" at the end of the form.
The error information you post doesn't reveal anything further than the "Authentication failure" message. As I said, though, I, as a guest, don't have any problems adding photos to your cart (I've just checked again) so there is some investigation for you to do there to narrow down which guests' systems do or don't see this problem.
As a bit of background - requests to gallery Controller-type urls need to be accompanied by an AUTHTOKEN in the url or form data, the absence of which triggers an automatic authentication failure message. This is a protection against session hijacking attacks. It's feasible that that same problem that's causing your inability to save the config details (form truncation) is truncating the AUTHTOKEN from another form but this would depend on the layout and length of the form/page which is generating the error.
Posts: 34
I use Google Chrome will my main browser atm, I use IE8/Firefox to test layout issues etc (on same PC). It sometimes works in IE/FF and sometimes doesn't, even on the same photos. So I don't actually have a clue what it could be. Hopefully G3 isn't too far away..
I'll keep looking into it, thanks for the detailed post alecmyers
--
http://Dragpix.net/