Recent Topics

Crumbs & page cache don't work together

Started by on Nov 19, 2010 – Contents updated: Nov 19, 2010

Nov 19, 2010 11:20    

This is version 4.0.1-beta.

Steps to reproduce:

1.- Enable Page Cache for the blog
2.- Wait until one post page is created in the cache
3.- Visit that page without being logged in (if you're logged in the cache is not activated).
4.- Try to leave a comment.

What you get:

Incorrect crumb received! [comment]

Your request was stopped for security reasons.

Have you waited more than 2 hours before submitting your request?

Please go back to the previous page and refresh it before submitting the form again.

What you should get:

The same page, updated with the new comment just posted.

I was wondering why I had not received any comments on my blog since updating to 4.x and this is the reason! For big blogs the is a Kill "feature". In order to allow comments without problems, now I have to disable the PageCache, but with tens of thousands of visitors per day, that will kill my server! Well, I hope it doesn't kill it, we will see.

I would say this is a high priority bug. I don't know what crumbs are or what their function is, but certainly they don't work with the awesome PageCache feature.

Cheers,

Jan 02, 2011 03:49

Can you post /inc/_core/model/_pagecache.class.php here
Do you use an old skin with _item_feedback.inc.php or _item_comment_form.inc.php from b2evo 2 or 3 ?

Feb 13, 2011 07:15

Did you edit the file /skins/_msgform.disp.php ?

Compare it to the one shipped with b2evo 4, make the changes accordingly.

Feb 13, 2011 07:23

Nope, it's the original file, just redownloaded b2 4.03 and uploaded the file to be sure - no change.

Feb 13, 2011 18:38

Ok, that seems to have worked (commenting out line 47) but I still get this message:

Your message has been sent.
No recipient specified!

What's with the "No recipient specified!" part?

Should I just comment out line 234-237 in the message_send.php?

Feb 13, 2011 19:08

Remove this line from your form, it's not needed

Code

<input name="redirect_to" type="hidden" value="/index.php/Contact/?blog=6&amp;disp=msgform" />

Feb 13, 2011 21:03

Ok, so now it's not giving me that recipient error, but it's sending it to the email from admin2 instead of admin even after changing the blow owner back to admin. I had it set to admin2 for a while for testing so I got the tests, but I've reset it to admin in the General Settings tab but for some reason I'm still getting the email. Now I'm really confused...

!!!UPDATE!!!

Nevermind, I found that this:

Code

<input name="recipient_id" type="hidden" value="2" />
needed to be changed to this:

Code

<input name="recipient_id" type="hidden" value="1" />

Feb 15, 2011 21:37

Turns out I was wrong - it looks like it's submitting but the email never comes... ideas?

http://www.bluehorsegallery.com/index.php/Contact/

!!!UPDATE!!!

I just gave up and used the message_send.php from v3 because I couldn't seem to get the v4 one working. Big pain in the arse...

Feb 17, 2011 00:06

Ethan5150 wrote:

I just gave up and used the message_send.php from v3 because I couldn't seem to get the v4 one working. Big pain in the arse...

That's a very bad idea

recipient_id defines b2evo user who gets the messages

Feb 17, 2011 04:59

Can you think of any reason why, once I uploaded the old message_send.php file it began working instantly? The form is exactly the same as it was with the v4 message_send.php file when it wasn't working. I commented out line 47 as suggested but it didn't seem to work.

What's the problem with just using the v3 message_send.php file?

Feb 17, 2011 05:15

Many things have changed since v3
To find a problem simply set debug = 2 in /conf/_advanced.php file and send a test message.

Check if recipient's email is correct, or better copy the whole output here (replace real emails with fake)

Feb 17, 2011 05:52

Debug info

Timers
Category Time % Count
_init_base 0.005 2.24% 1
_init_db 0.013 5.83% 1
SQL QUERIES 0.027 12.11% 46
init modules 0.014 6.28% 1
_init_hit 0.009 4.04% 2
_init_session 0.006 2.69% 2
_init_login 0.011 4.93% 1
index.php 0.009 4.04% 1
convert_charset 0.004 1.79% 244
_BLOG_MAIN.inc 0.004 1.79% 1
SKIN DISPLAY 0.118 52.91% 1
PageCache 0.003 1.35% 1
abstractsettings_CollectionSettings_get 0.004 1.79% 22
skin_init 0.028 12.56% 1
skin_include(_html_header.inc.php) 0.025 11.21% 1
skin_container(Page Top) 0.008 3.59% 1
skin_container(Menu) 0.007 3.14% 1
Widget->display(colls_list_public) 0.007 3.14% 1
skin_include(_item_content.inc.php) 0.012 5.38% 1
skin_container(Sidebar) 0.003 1.35% 1
shutdown 0.020 8.97% 1
+ 14 queries < 1%
total 0.223 100.00% 1
46 SQL queries executed in 0.027 seconds scroll down to details
Opcode cache: none

Memory usage: 14 MB
Memory peak usage: 14 MB
Len of serialized $cache_imgsize: 2
Len of serialized $cache_File: 2
HTTP Response code: 200
Debug messages from redirected page (#1)

See below for the Debuglog from the current request.

request | timer
request:

vars: vars: Getting ReqURI from REQUEST_URI
vars: $ReqHost: http://bluehorsegallery.com
vars: $ReqURI: /htsrv/message_send.php
vars: $ReqPath: /htsrv/message_send.php
Hit: detect_referer(): self referer (://www.bluehorsegallery.com)
Hit: IP: 198.134.90.77
Hit: UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13
Hit: Referer: 'http://www.bluehorsegallery.com/index.php/Contact/'; type=self
Hit: Remote Host:
Session: cookie_domain=.bluehorsegallery.com
Session: cookie_path=/
Session: Session ID received from cookie: 568
Session: Session ID is valid.
Session: Session user_ID: '2'
Session: Session data loaded.
Login: login: NULL
Login: pass: empty
Login: Was already logged in... [admin2]
***** REDIRECT TO http://www.bluehorsegallery.com/index.php/Contact/ (status 303) *****
Session: Session data[Debuglogs] updated. Expire in: 60s.
Session: Session data[core.no_CachePageContent] updated. Expire in: -.
Session: Session data[Messages] updated. Expire in: -.
timer:

total resumed at 0.000
_init_base resumed at 0.000
_init_base paused at 0.005 (+0.0053)
_init_db resumed at 0.000
_init_db paused at 0.013 (+0.0127)
init modules resumed at 0.000
init modules paused at 0.013 (+0.0132)
plugin_init resumed at 0.000
plugin_init paused at 0.001 (+0.0010)
_init_hit resumed at 0.000
Hit::get_remote_host resumed at 0.000
Hit::get_remote_host paused at 0.000 (+0.0001)
_init_hit paused at 0.008 (+0.0081)
_init_session resumed at 0.000
_init_session paused at 0.006 (+0.0056)
_init_login resumed at 0.000
_init_login paused at 0.010 (+0.0102)
_init_session resumed at 0.006
_init_session paused at 0.006 (+0.0001)
_init_hit resumed at 0.008
_init_hit paused at 0.008 (+0.0001)
antispam_url resumed at 0.000
antispam_url paused at 0.001 (+0.0009)
Blog constructor resumed at 0.000
Blog constructor paused at 0.001 (+0.0008)
Debug messages

See above for the Debuglog(s) from before the redirect.

detectblog | pagecache | request | timer
detectblog:

No blog param received, checking extra path...
Found a potential URL blog name: Contact
pagecache:

Cache not enabled for this blog.
Cache not enabled. No lookup nor caching performed.
request:

vars: vars: Getting ReqURI from REQUEST_URI
vars: $ReqHost: http://www.bluehorsegallery.com
vars: $ReqURI: /index.php/Contact/
vars: $ReqPath: /index.php/Contact/
Hit: detect_referer(): self referer (://www.bluehorsegallery.com)
Hit: IP: 198.134.90.77
Hit: UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13
Hit: Referer: 'http://www.bluehorsegallery.com/index.php/Contact/'; type=self
Hit: Remote Host:
Session: cookie_domain=.bluehorsegallery.com
Session: cookie_path=/
Session: Session ID received from cookie: 568
Session: Session ID is valid.
Session: Session user_ID: '2'
Session: Session data loaded.
Session: Added Messages from session data.
Session: Session data[Messages] deleted!
Session: Session data[core.no_CachePageContent] deleted!
Login: login: NULL
Login: pass: empty
Login: Was already logged in... [admin2]
Hit:detect_useragent(): Agent name: chrome
Hit:detect_useragent(): Agent platform: win
Hit: No new view!
Hit: Recording the hit.
Session: Session data saved!
Session: Session data[Debuglogs] deleted!
timer:

total resumed at 0.000
_init_base resumed at 0.000
_init_base paused at 0.005 (+0.0054)
_init_db resumed at 0.000
_init_db paused at 0.013 (+0.0130)
init modules resumed at 0.000
init modules paused at 0.014 (+0.0143)
plugin_init resumed at 0.000
plugin_init paused at 0.001 (+0.0010)
_init_hit resumed at 0.000
Hit::get_remote_host resumed at 0.000
Hit::get_remote_host paused at 0.000 (+0.0001)
_init_hit paused at 0.009 (+0.0087)
_init_session resumed at 0.000
_init_session paused at 0.006 (+0.0061)
_init_login resumed at 0.000
_init_login paused at 0.011 (+0.0113)
_init_session resumed at 0.006
_init_session paused at 0.006 (+0.0001)
_init_hit resumed at 0.009
_init_hit paused at 0.009 (+0.0001)
index.php resumed at 0.000
Blog constructor resumed at 0.000
Blog constructor paused at 0.001 (+0.0005)
index.php paused at 0.009 (+0.0088)
_BLOG_MAIN.inc resumed at 0.000
_BLOG_MAIN.inc paused at 0.004 (+0.0043)
SKIN DISPLAY resumed at 0.000
PageCache resumed at 0.000
PageCache paused at 0.003 (+0.0034)
skin_init resumed at 0.000
skin_init paused at 0.028 (+0.0280)
Skin:display_init resumed at 0.000
Skin:display_init paused at 0.000 (+0.0000)
skin_include(_html_header.inc.php) resumed at 0.000
skin_include(_html_header.inc.php) paused at 0.025 (+0.0247)
skin_container(Page Top) resumed at 0.000
skin_container(Page Top) paused at 0.008 (+0.0077)
skin_container(Header) resumed at 0.000
skin_container(Header) paused at 0.000 (+0.0001)
skin_container(Menu) resumed at 0.000
Widget->display(colls_list_public) resumed at 0.000
Blog constructor resumed at 0.000
Blog constructor paused at 0.000 (+0.0004)
Blog constructor resumed at 0.000
Blog constructor paused at 0.000 (+0.0004)
Blog constructor resumed at 0.000
Blog constructor paused at 0.000 (+0.0003)
Blog constructor resumed at 0.000
Blog constructor paused at 0.000 (+0.0004)
Blog constructor resumed at 0.000
Blog constructor paused at 0.000 (+0.0003)
Widget->display(colls_list_public) paused at 0.007 (+0.0067)
skin_container(Menu) paused at 0.007 (+0.0069)
skin_include(_item_content.inc.php) resumed at 0.000
skin_include(_item_content.inc.php) paused at 0.012 (+0.0117)
skin_include(_item_feedback.inc.php) resumed at 0.000
skin_include(_item_feedback.inc.php) paused at 0.001 (+0.0010)
skin_include($disp$) resumed at 0.000
skin_include($disp$) paused at 0.000 (+0.0001)
skin_container(Sidebar) resumed at 0.000
Widget->display(free_html) resumed at 0.000
Widget->display(free_html) paused at 0.001 (+0.0011)
Widget->display(free_html) resumed at 0.000
Widget->display(free_html) paused at 0.001 (+0.0007)
Widget->display(free_html) resumed at 0.000
Widget->display(free_html) paused at 0.001 (+0.0009)
skin_container(Sidebar) paused at 0.003 (+0.0030)
skin_container(Footer) resumed at 0.000
skin_container(Footer) paused at 0.000 (+0.0000)
skin_include(_html_footer.inc.php) resumed at 0.000
skin_include(_html_footer.inc.php) paused at 0.000 (+0.0004)
PageCache paused at 0.003 (+0.1176)
Warning: tried to pause already paused 'PageCache'.
SKIN DISPLAY paused at 0.118 (+0.1178)
shutdown resumed at 0.000
DB

DB Username: bluhors_admin
DB Database: bluhors_b2evo
DB Host: localhost
DB tables prefix: evo_
DB connection charset:
DB queries: 46
Query #1: we do this in DEBUG mode only

SELECT VERSION()
Rows: 1 – Time: 0.0007s (2.46%)
Query #2: we do this in DEBUG mode only

SET sql_mode = "TRADITIONAL"
Rows: 0 – Time: 0.0002s (0.91%)
Query #3:

SELECT set_name, set_value
FROM evo_settings
Rows: 37 – Time: 0.0003s (1.04%)
Query #4: Loading plugin events

SELECT pevt_plug_ID, pevt_event
FROM evo_pluginevents
INNER JOIN evo_plugins ON pevt_plug_ID = plug_ID
WHERE pevt_enabled > 0
AND plug_status = 'enabled'
ORDER BY plug_priority, plug_classname
Rows: 18 – Time: 0.0004s (1.59%)
Query #5:

SELECT loc_locale, loc_charset, loc_datefmt, loc_timefmt, loc_startofweek,
loc_name, loc_messages, loc_priority, loc_enabled
FROM evo_locales
ORDER BY loc_priority
Rows: 1 – Time: 0.0002s (0.89%)
Query #6:

SET NAMES latin1
Rows: 0 – Time: 0.0003s (1.30%)
Query #7:

SELECT sess_ID, sess_key, sess_data, sess_user_ID
FROM evo_sessions
WHERE sess_ID = '568'
AND sess_key = '07eNKGr3sZjvrfXeKSxsYPHCWFRtUeIe'
AND UNIX_TIMESTAMP(sess_lastseen) > 1297313303
Rows: 1 – Time: 0.0009s (3.35%)
Query #8: DataObjectCache::get_by_ID()

SELECT *
FROM evo_users
WHERE (user_ID = 2)
ORDER BY user_ID
Rows: 1 – Time: 0.0004s (1.42%)
Query #9:

SELECT *
FROM evo_blogs
WHERE blog_urlname = 'Contact'
Rows: 1 – Time: 0.0004s (1.34%)
Query #10: DataObjectCache::get_by_ID()

SELECT *
FROM evo_skins__skin
WHERE (skin_ID = 18)
ORDER BY skin_name
Rows: 1 – Time: 0.0004s (1.38%)
Query #11:

SELECT cset_coll_ID, cset_name, cset_value
FROM evo_coll_settings
WHERE cset_coll_ID = '6'
Rows: 47 – Time: 0.0005s (1.78%)
Query #12: Loading Group(ALL) into cache

SELECT *
FROM evo_groups
ORDER BY grp_name
Rows: 4 – Time: 0.0006s (2.37%)
Query #13: ItemList2::count_total_rows()

SELECT COUNT( DISTINCT post_ID)
FROM evo_items__item
INNER JOIN evo_postcats ON post_ID = postcat_post_ID
INNER JOIN evo_categories ON postcat_cat_ID = cat_ID
WHERE ( cat_blog_ID = 6 )
AND (( post_ptyp_ID IS NULL
OR post_ptyp_ID NOT IN (1000,1500,1520,1530,1570,1600,3000) ))
AND (post_datestart <= '2011-02-16 20:48')
AND ( ( ( post_status = 'private'
AND post_creator_user_ID = 2 )
OR post_status IN ('published','protected') ) )
Rows: 1 – Time: 0.0006s (2.41%)
Query #14: ItemList2::Query() Step 1: Get ID list

SELECT DISTINCT post_ID
FROM evo_items__item
INNER JOIN evo_postcats ON post_ID = postcat_post_ID
INNER JOIN evo_categories ON postcat_cat_ID = cat_ID
WHERE ( cat_blog_ID = 6 )
AND (( post_ptyp_ID IS NULL
OR post_ptyp_ID NOT IN (1000,1500,1520,1530,1570,1600,3000) ))
AND (post_datestart <= '2011-02-16 20:48')
AND ( ( ( post_status = 'private'
AND post_creator_user_ID = 2 )
OR post_status IN ('published','protected') ) )
ORDER BY post_datestart DESC, post_ID DESC
LIMIT 5
Rows: 1 – Time: 0.0004s (1.52%)
Query #15: ItemList2::Query() Step 2

SELECT *
FROM evo_items__item
WHERE post_ID IN (3)
ORDER BY post_datestart DESC, post_ID DESC
Rows: 1 – Time: 0.0003s (1.30%)
Query #16:

SELECT cach_name, cach_cache
FROM evo_global__cache
Rows: 7 – Time: 0.0004s (1.67%)
Query #17:

SELECT *
FROM evo_skins__skin
WHERE skin_folder = '_rss2'
Rows: 1 – Time: 0.0004s (1.36%)
Query #18:

SELECT *
FROM evo_skins__skin
WHERE skin_folder = '_atom'
Rows: 1 – Time: 0.0003s (1.15%)
Query #19: BEGIN transaction

BEGIN
Rows: 0 – Time: 0.0004s (1.53%)
Query #20:

SELECT *
FROM evo_groups__groupsettings
WHERE gset_grp_ID = 1
Rows: 5 – Time: 0.0004s (1.66%)
Query #21: COMMIT transaction

COMMIT
Rows: 0 – Time: 0.0003s (1.03%)
Query #22:

SELECT gset_grp_ID, gset_name, gset_value
FROM evo_groups__groupsettings
WHERE gset_grp_ID = '1'
Rows: 5 – Time: 0.0006s (2.18%)
Query #23:

SELECT COUNT(*)
FROM evo_messaging__threadstatus ts
LEFT OUTER JOIN evo_messaging__message mu
ON ts.tsta_first_unread_msg_ID = mu.msg_ID
INNER JOIN evo_messaging__message mm
ON ts.tsta_thread_ID = mm.msg_thread_ID
AND mm.msg_datetime >= mu.msg_datetime
WHERE ts.tsta_first_unread_msg_ID IS NOT NULL
AND ts.tsta_user_ID = 2
Rows: 1 – Time: 0.0011s (4.28%)
Query #24: Get list of widgets for collection

SELECT *
FROM evo_widget
WHERE wi_coll_ID = 6
AND wi_enabled = 1
ORDER BY wi_sco_name, wi_order
Rows: 9 – Time: 0.0004s (1.35%)
Query #25: Load public blog list

SELECT *
FROM evo_blogs
WHERE blog_in_bloglist <> 0
ORDER BY blog_ID
Rows: 6 – Time: 0.0004s (1.50%)
Query #26: ItemList2::count_total_rows()

SELECT COUNT( DISTINCT post_ID)
FROM evo_items__item
INNER JOIN evo_postcats ON post_ID = postcat_post_ID
INNER JOIN evo_categories ON postcat_cat_ID = cat_ID
WHERE ( cat_blog_ID = 6 )
AND (post_ptyp_ID IN (1500,1600))
AND (post_datestart <= '2011-02-16 20:48')
AND ( ( ( post_status = 'private'
AND post_creator_user_ID = 2 )
OR post_status IN ('published','protected') ) )
Rows: 1 – Time: 0.0004s (1.45%)
Query #27: ItemList2::Query() Step 1: Get ID list

SELECT DISTINCT post_ID
FROM evo_items__item
INNER JOIN evo_postcats ON post_ID = postcat_post_ID
INNER JOIN evo_categories ON postcat_cat_ID = cat_ID
WHERE ( cat_blog_ID = 6 )
AND (post_ptyp_ID IN (1500,1600))
AND (post_datestart <= '2011-02-16 20:48')
AND ( ( ( post_status = 'private'
AND post_creator_user_ID = 2 )
OR post_status IN ('published','protected') ) )
ORDER BY post_datestart DESC, post_ID DESC
LIMIT 5
Rows: 0 – Time: 0.0002s (0.93%)
Query #28: ItemList2::Query() Step 2

SELECT *
FROM evo_items__item
WHERE 0
Rows: 0 – Time: 0.0003s (1.17%)
Query #29: ItemList2::count_total_rows()

SELECT COUNT( DISTINCT post_ID)
FROM evo_items__item
INNER JOIN evo_postcats ON post_ID = postcat_post_ID
INNER JOIN evo_categories ON postcat_cat_ID = cat_ID
WHERE ( cat_blog_ID = 6 )
AND (( post_ptyp_ID IS NULL
OR post_ptyp_ID NOT IN (1000,1500,1520,1530,1570,1600,3000) ))
AND (post_datestart <= '2011-02-16 20:48')
AND ( ( ( post_status = 'private'
AND post_creator_user_ID = 2 )
OR post_status IN ('published','protected') ) )
AND (post_featured <> 0)
Rows: 1 – Time: 0.0003s (1.30%)
Query #30: ItemList2::Query() Step 1: Get ID list

[Show full SQL]
SELECT DISTINCT post_ID
FROM evo_items__item
INNER JOIN evo_postcats ON post_ID = postcat_post_ID
INNER JOIN evo_categories ON postcat_cat_ID = cat_ID
WHERE ( cat_blog_ID = 6 )
AND (( post_ptyp_ID IS NULL
OR post_ptyp_ID NOT IN (1000,1500,1520,1530,1570,1600,3000) ))
AND (post_datestart <= '2011-02-16 20:48')
AND ( ( ( post_status = 'private'
AND post_creator_user_ID = 2 )
OR post_status IN ('published','protected') ) )
AND (post_featured <> 0)
ORDER BY p...
Rows: 0 – Time: 0.0003s (1.09%)
Query #31: ItemList2::Query() Step 2

SELECT *
FROM evo_items__item
WHERE 0
Rows: 0 – Time: 0.0003s (1.24%)
Query #32: Loading Chapter(ALL) into cache

SELECT *
FROM evo_categories
ORDER BY cat_order
Rows: 13 – Time: 0.0004s (1.66%)
Query #33:

SELECT uset_user_ID, uset_name, uset_value
FROM evo_users__usersettings
WHERE uset_user_ID = '2'
Rows: 5 – Time: 0.0005s (1.74%)
Query #34: get_attachment_FileList

SELECT file_ID, file_title, file_root_type, file_root_ID, file_path, file_alt, file_desc
FROM evo_links
INNER JOIN evo_files ON link_file_ID = file_ID
WHERE link_itm_ID = 3
AND (link_position = 'teaser')
ORDER BY link_order
LIMIT 1000
Rows: 0 – Time: 0.0006s (2.37%)
Query #35:

SELECT plug_ID, plug_priority, plug_classname, plug_code, plug_name, plug_shortdesc, plug_apply_rendering, plug_status, plug_version, plug_spam_weight
FROM evo_plugins
WHERE plug_status = 'enabled'
ORDER BY plug_priority, plug_classname
Rows: 12 – Time: 0.0004s (1.39%)
Query #36: Preload prerendered item content for MainList/ItemList (htmlbody)

SELECT itpr_itm_ID, itpr_format, itpr_renderers, itpr_content_prerendered
FROM evo_items__prerendering
WHERE itpr_itm_ID IN (3)
AND itpr_format = 'htmlbody'
Rows: 1 – Time: 0.0003s (1.26%)
Query #37: get_attachment_FileList

SELECT file_ID, file_title, file_root_type, file_root_ID, file_path, file_alt, file_desc
FROM evo_links
INNER JOIN evo_files ON link_file_ID = file_ID
WHERE link_itm_ID = 3
AND (link_position = 'aftermore')
ORDER BY link_order
LIMIT 1000
Rows: 0 – Time: 0.0003s (1.30%)
Query #38: get_attachment_FileList

SELECT file_ID, file_title, file_root_type, file_root_ID, file_path, file_alt, file_desc
FROM evo_links
INNER JOIN evo_files ON link_file_ID = file_ID
WHERE link_itm_ID = 3
AND (link_position = 'aftermore')
ORDER BY link_order
LIMIT 1000
Rows: 0 – Time: 0.0004s (1.33%)
Query #39: get_attachment_FileList

SELECT file_ID, file_title, file_root_type, file_root_ID, file_path, file_alt, file_desc
FROM evo_links
INNER JOIN evo_files ON link_file_ID = file_ID
WHERE link_itm_ID = 3
AND (link_position = 'aftermore')
ORDER BY link_order
LIMIT 1000
Rows: 0 – Time: 0.0004s (1.34%)
Query #40: get_attachment_FileList

SELECT file_ID, file_title, file_root_type, file_root_ID, file_path, file_alt, file_desc
FROM evo_links
INNER JOIN evo_files ON link_file_ID = file_ID
WHERE link_itm_ID = 3
ORDER BY link_order
LIMIT 1000
Rows: 0 – Time: 0.0003s (1.00%)
Query #41: Get tags for items

SELECT itag_itm_ID, tag_name
FROM evo_items__itemtag
INNER JOIN evo_items__tag ON itag_tag_ID = tag_ID
WHERE itag_itm_ID IN ('3')
ORDER BY tag_name
Rows: 0 – Time: 0.0007s (2.71%)
Query #42: DataObjectCache::get_by_ID()

SELECT *
FROM evo_items__item
WHERE (post_ID = 3)
ORDER BY post_ID
Rows: 1 – Time: 0.0005s (1.70%)
Query #43: Hit: Check for reload

SELECT SQL_NO_CACHE hit_ID
FROM evo_hitlog
INNER JOIN evo_sessions ON hit_sess_ID = sess_ID
WHERE sess_user_ID = 2
AND hit_uri = '/index.php/Contact/'
LIMIT 1
Rows: 1 – Time: 0.0036s (13.44%)
Query #44:

SELECT dom_ID
FROM evo_basedomains
WHERE dom_name = 'bluehorsegallery.com'
Rows: 1 – Time: 0.0004s (1.61%)
Query #45: Record the hit

INSERT INTO evo_hitlog(
hit_sess_ID, hit_datetime, hit_uri, hit_referer_type,
hit_referer, hit_referer_dom_ID, hit_keyphrase_keyp_ID, hit_serprank, hit_blog_ID, hit_remote_addr, hit_agent_type )
VALUES( '568', FROM_UNIXTIME(1297918103), '/index.php/Contact/', 'self', 'http://www.bluehorsegallery.com/index.php/Contact/', 18, NULL, NULL, 6, '198.134.90.77', 'browser'
)
Rows: 1 – Time: 0.0007s (2.61%)
Query #46: Session::dbsave()

[Show full SQL]
UPDATE evo_sessions SET
sess_hitcount = sess_hitcount + 1,
sess_lastseen = '2011-02-16 20:48:23',
sess_data = 'a:17:{s:22:\"crumb_latest_loginform\";a:2:{i:0;N;i:1;s:43:\"PENB55HKKKtYHxGUJRYQV38LCkcs0dn8-1296945631\";}s:23:\"crumb_latest_collection\";a:2:{i:0;N;i:1;s:43:\"1DyQbekvetzJSNUzjCcUdGM3ktWRc4wj-1297839637\";}s:17:\"crumb_latest_item\";a:2:{i:0;N;i:1;s:43:\"6ilfeoZvkAmwXoJD2Fpt4icwyhnidtNN-1297917862\";}s:21:\"crumb_latest_itemlink\";a:2:{i:0;N;i:1;s:43:\"EwEo0JyE9WZCojQ7...
Rows: 1 – Time: 0.0008s (3.13%)
Total rows: 188
Measured time: 0.0266s
Profiled time: 0.0000s

Feb 17, 2011 05:55

Are you sure that you used $debug = 2 and not 1 or pwd ?

Feb 17, 2011 06:16

Yep, it's switched back now (to pwd) but it was set to 2. I'm trying to do this as gracefully as possible as the site is already live...

Also, I switched the message_send.php back to the v3 AFTER this, so this debug was generated from v4 with debug set to 2

Feb 06, 2012 20:16

I have this same problem with 4.1.2.

If I have cache enabled, commenting in my blog isn't working.

I have re-uploaded all the files I can think of.


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.