KissER Error Handling & Debugging [contribution]
#21
Posted 20 February 2010 - 10:51 PM
#22
Posted 21 February 2010 - 10:59 AM
moezbud, on 19 February 2010 - 08:53 PM, said:
I have installed this contribution and it has already helped me quite a bit. However, right now I am trying to determine logical errors. For example, I am tring to install paypal IPN and the orders are double posting on my orders table. With this, I am trying to see exactly which module is processing a given query (i.e. is it happening in checkout_confirmation.php, orders.php, general.php, etc.). I can see that all of these queries are occuring, but I'm having difficulty zeroing in on my culprit modules.
Is it possible to add a line that would show the calling module (and ideally the line) where things are happening? If so, can you give me some idea of how to do it?
Thanks!
This is where you can use the "break points" add breakpoints to the files in question and see at which points these queries occur.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#23
Posted 19 March 2010 - 06:38 AM
EDIT: Ok just tell me this if my host is still using php 4.4.9 will this program work?
Edited by deaconest, 19 March 2010 - 06:46 AM.
#24
Posted 19 March 2010 - 07:02 AM
deaconest, on 19 March 2010 - 06:38 AM, said:
EDIT: Ok just tell me this if my host is still using php 4.4.9 will this program work?
Not a hope.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#25
Posted 19 March 2010 - 07:07 AM
#26
Posted 23 April 2010 - 12:22 PM
nEXT
#27
Posted 27 April 2010 - 12:04 AM
Here's my setup;
define( 'KISS_ERROR_REPORTING_OUTPUT', 'screen' ); define( 'KISS_ERROR_REPORTING_SWITCH', 'on' ); define( 'KISS_ERROR_REPORTING_GET_SWITCH', 'false' ); define( 'KISS_ERROR_REPORTING_SUPPRESS_DUPLICATES', 'on' ); define( 'KISS_ERROR_REPORTING_QUERIES', 'on' ); define( 'KISS_ERROR_REPORTING_BREAKPOINTS', 'off' );All I get for output is;
Total Queries: Slowest Query Number Time: Seconds. Total query Time Seconds.I also find this group in the error handling box;
Error: Undefined index: count File: includes/kiss_error_handler.php Line: 295 Error: Undefined index: slowest File: includes/kiss_error_handler.php Line: 296 Error: Undefined index: total_time File: includes/kiss_error_handler.php Line: 297 Error: Undefined index: queries File: includes/kiss_error_handler.php Line: 299
On edit, Stealth1 mentioned Chemo's query mod in post #9. FWR says it would conflict. Can anyone help me find out if I've got it? Where do I look? What's the actual name of the contrib?
Edited by motorcity, 27 April 2010 - 12:17 AM.
#28
Posted 27 April 2010 - 01:50 PM
#29
Posted 06 May 2010 - 11:31 AM
It tells me that my queries are thus :
Quote
Slowest Query Number 26
Time: 0.0017 Seconds.
Total query Time 0.01 Seconds.
Which to me looks OK ??
However, when I look at my errors - there are quite a few ! How should I go about understanding what it is telling me, and how to go about correcting them - Im no programmer !
Thanks
If you want to see the mods I have installed, then see my profile.
#30
Posted 06 May 2010 - 01:00 PM
Thank you for this and all your other excellent contributions. I realise this thread is meant to support installation of the contribution and not for answers to individual errors reported but I'd very much appreciate a quick yes/no (maybe even a why) to a question I have relating to errors found. I posed the question in the General Support section, maybe it's badly worded or too boring/trivial/obvious but there were no takers.
The question in a nutshell - Is there any reason to not replace the tep_session_unregister statements (and the subsequent errors they sometimes cause) in logoff.php with a single tep_session_destroy? To my untrained mind session_destroy belongs in a logoff script.
Thanks
ORIGINAL QUESTION
In logoff.php, I have a number of "tep_session_unregister()" statements. Quite often the statements are trying to unregister variables that are not registered which causes 'Undefined index' errors (the variables may be registered so they can't be just removed).
Rather than precede each call with "if (tep_session_is_registered())", is it possible to replace all of them with a "tep_session_destroy();"?
Sorry if this question is a bit simple or naive but "logoff" and "session_destroy" seems to be an obvious partnership and I don't know it there is a good reason for it not being so. I'd very much appreciate comment/opinion.
#31
Posted 24 May 2010 - 08:39 AM
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#32
Posted 24 May 2010 - 08:46 AM
Mort-lemur, on 06 May 2010 - 11:31 AM, said:
It tells me that my queries are thus :
Which to me looks OK ??
However, when I look at my errors - there are quite a few ! How should I go about understanding what it is telling me, and how to go about correcting them - Im no programmer !
Thanks
Yes, 28 queries are unlikely to cause a problem in any event but with your slowest query being 0.0017 seconds there is nothing that needs doing to the queries ( on this page at least ).
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#33
Posted 24 May 2010 - 08:51 AM
trier, on 06 May 2010 - 01:00 PM, said:
Thank you for this and all your other excellent contributions. I realise this thread is meant to support installation of the contribution and not for answers to individual errors reported but I'd very much appreciate a quick yes/no (maybe even a why) to a question I have relating to errors found. I posed the question in the General Support section, maybe it's badly worded or too boring/trivial/obvious but there were no takers.
The question in a nutshell - Is there any reason to not replace the tep_session_unregister statements (and the subsequent errors they sometimes cause) in logoff.php with a single tep_session_destroy? To my untrained mind session_destroy belongs in a logoff script.
Thanks
ORIGINAL QUESTION
In logoff.php, I have a number of "tep_session_unregister()" statements. Quite often the statements are trying to unregister variables that are not registered which causes 'Undefined index' errors (the variables may be registered so they can't be just removed).
Rather than precede each call with "if (tep_session_is_registered())", is it possible to replace all of them with a "tep_session_destroy();"?
Sorry if this question is a bit simple or naive but "logoff" and "session_destroy" seems to be an obvious partnership and I don't know it there is a good reason for it not being so. I'd very much appreciate comment/opinion.
Well, as you say it really is nothing to do with this contribution, but i'll answer it.
Yes there is a lot of difference between destroying the session arbitrarily and selectively unsetting keys in the _SESSION superglobal.
When you "logoff" certain _SESSION keys are left intact, namely: -
cart ( emptied )
language ( populated )
languages_id ( populated )
currency ( populated )
navigation ( populated ).
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#34
Posted 25 May 2010 - 04:42 PM
Thank you for replying to my 'off thread' question - I'd given up on it.
I assumed the _SESSION keys you listed would just get re-registered/populated with the next page load.
I'll stick to the conventional method.
Thanks again, appreciate it.
#35
Posted 10 June 2010 - 05:00 PM
define( 'KISS_ERROR_REPORTING_GET_SWITCH', 'brs-giftshop.com/index.php?fwroutput' ); // string - false - user setting - see above comments
The errors isn't visible, not even to me. Even tried changing to screen back to suppresses, making no difference. So setting is at screen plus KISS_ERROR_REPORTING_GET_SWITCH is set as above.
So am I missing something?
Thanks.
Bennett
#36
Posted 10 June 2010 - 05:17 PM
blr044, on 10 June 2010 - 05:00 PM, said:
define( 'KISS_ERROR_REPORTING_GET_SWITCH', 'brs-giftshop.com/index.php?fwroutput' ); // string - false - user setting - see above comments
The errors isn't visible, not even to me. Even tried changing to screen back to suppresses, making no difference. So setting is at screen plus KISS_ERROR_REPORTING_GET_SWITCH is set as above.
So am I missing something?
Thanks.
Bennett
the _GET switch requires just the _GET key .. like ..
define( 'KISS_ERROR_REPORTING_GET_SWITCH', 'fwroutput' );
You then access your site as ..
www.mysite.com/whatever.php?fwroutput
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#37
Posted 10 June 2010 - 05:44 PM
My question now is - where does find out what these errors mean and the fixes for them? Doing a google search, but so far, coming up against a wall.
Bennett
#38
Posted 10 June 2010 - 06:03 PM
blr044, on 10 June 2010 - 05:44 PM, said:
My question now is - where does find out what these errors mean and the fixes for them? Doing a google search, but so far, coming up against a wall.
Bennett
this contribution highlights the errors but it is beyond the scope of support for this this contribution to handle them. I suggest posting them in the general forum .. oh and if anyone says notices are irrelevant they are WRONG .. they are errors.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#40
Posted 22 June 2010 - 06:34 AM
danut82, on 21 June 2010 - 07:57 PM, said:
i have installed this contribution and work perfect on xampp (windows)
but after i moved the shop on server (linux) the site don't work and i can't find the bug
Link of the shop.
Can you help me?
Thank you
This site is using header tags not KissMT.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.









