All,
I have two installs of G2 (both running great, thank you!) but have stumbled across a weird error. When using 'checkout' if I perform certain actions (ie continue shopping) from within the SECOND installation, I get the message "an error has occurred" and G2 returns me to the home page of the FIRST! I have worked out that if I replace the domain name that then appears, with the domain name of the second install (without deleting the rest of the URL) everything seems fine. Is this a 'feature' ;-). Is there a way around it?
Posts: 27300
FAQ: What information is required when I ask for help in the forums?
What 3rd party module are you using?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
I've downloaded the 'checkout' module (which consists of cart, checkout by email and checkout by paypal) from the 3rd party modules page. I also have the (official?) cart module.
FYI:
Gallery version = 2.1.2 core 1.1.0.2
PHP version = 5.2.0 apache2handler
Webserver = Apache/2.0.59 (Win32) PHP/5.2.0
Database = mysql 5.0.27-community-nt, lock.system=database
Toolkits = ImageMagick
Acceleration = none/900, none
Operating system = Windows NT BLUEHAZE-WEB 5.1 build 2600
Default theme = PGtheme
Locale = en_GB
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
Posts: 27300
http://codex.gallery2.org/Gallery2:Modules:checkout
@multisite: No feedback since I submitted the bug report;
http://sourceforge.net/tracker/index.php?func=detail&aid=1532949&group_id=152877&atid=785735
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
I have tried it both with and without the 'official' cart module. Without it I have some issues with other parts of the checkout process. The problem I have here specifically relates to returning to the second website after viewing cart contents. Essentially if I continue the checkout process the procedure works fine, it is when I click on 'continue shopping' that the problem occurs. As mentioned before, simply transposing the second domain name into the URL string makes it all work properly. I am no programmer but it appears as though the code returns the name of the core installation site, hence the problem. Possible?
Posts: 27300
Follow the thread mentioned in the bug report. I think a solution was found.
Posts: 7
Spot on! Thanks for this Dave - much appreciated. The only issue (that I am not overly concerned about really) is that when using this patch after returning to the previous page, the cart indicates that it is empty. When viewing however it contains the correct items. Not sure if you/your team were aware of this.
Anyways - many thanks once again for your help on this one.
Posts: 27300
This is a 3rd party module and the gallery "team" have no control over it.
Try to update the bug report and see in the author/developer can assist.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team