Hi there,
I'm may be missing something but every action seems to be done twice.
At least, i've got duplicate lines in the admin log for the Order Module (Paypal too).
All these entries are done by the $this->Audit() function.
Do I need to raise a bug ?
Is it reproducible for some of you ?
Regards
Vincent
---
CMSMS 1.10.3
CGEcommerceBase 1.3.9
CGExtensions 1.27.9
CGPaymentGatewayBase 1.0.11
Orders 1.13
PaypalGateway 2.3.5
[SOLVED] : Every call to the module action is done twice ?
[SOLVED] : Every call to the module action is done twice ?
Last edited by vinc on Fri Mar 23, 2012 11:11 am, edited 1 time in total.
Re: Orders : Every call to the module action is done twice ?
Either way you will have to give a very detailed explanation of how to reproduce this problem so you might want to start by showing here how you made this happen...
Re: Orders : Every call to the module action is done twice ?
Hi there,
I spent all the day searching to fix this... Not solved, but some more informations in case someone could help me :
-> This problem is coming on a website updated to the last version 1.10.3
-> these actions are done twice : add a line in the admin log, send a mail (formbuilder or order processing).
-> but sending a test mail from CMSMailer is fine.
-> I've made so much tweaks on the core/module files that i can't remember all (but git is my friend...). So I came to replace all the base/module files on a copy to see which modification was in cause.
After replacing all the core files, removing all the modules except the formbuilder, I can say that the files are not the cause !
So this is deep in the database... but I don't know where to look at...
Any idea ?
I spent all the day searching to fix this... Not solved, but some more informations in case someone could help me :
-> This problem is coming on a website updated to the last version 1.10.3
-> these actions are done twice : add a line in the admin log, send a mail (formbuilder or order processing).
-> but sending a test mail from CMSMailer is fine.
-> I've made so much tweaks on the core/module files that i can't remember all (but git is my friend...). So I came to replace all the base/module files on a copy to see which modification was in cause.
After replacing all the core files, removing all the modules except the formbuilder, I can say that the files are not the cause !
So this is deep in the database... but I don't know where to look at...
Any idea ?
Re: [SOLVED] : Every call to the module action is done twice
Yata 
I found what was the problem...
I updated the metadata default content to match this :
But as you can see, for the description, i used "{content|strip_tags|truncate:''150''|strip}" so it parse all the {content} twice (1 for the header, +1 for the real content)... and every action seemed to be done twice...
Now I know it
Regards

I found what was the problem...
I updated the metadata default content to match this :
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="title" content="{sitename} - {title}" />
<meta name="copyright" content="{sitename}" />
<meta name="description" content="{content|strip_tags|truncate:''150''|strip}" />
<meta name="keywords" content="{search action='keywords' count='15'}" />
<meta name="language" content="{$lang}" />
<meta name="url" content="{root_url}" />
<meta name="identifier-URL" content="{root_url}" />
<meta name="revised" content="{modified_date format="%a, %d %b %Y %H:%M:%S"}" />
Now I know it

Regards