vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Post Thanks / Like System interfering with Quick Edit (https://vborg.vbsupport.ru/showthread.php?t=322422)

greigeh 04-19-2016 06:12 PM

Post Thanks / Like System interfering with Quick Edit
 
Hello again!


For some random reason, my post thanks/like system is interfering with the quick edit feature on my vBulletin. When a person edits the post and saves it they're simply left on a kind of loading screen. However - the edit does actually save into the database but just doesn't automatically take the user back to the post.

has anyone heard of any incidents this has happened before or such?

Thanks

--------------- Added [DATE]1461098386[/DATE] at [TIME]1461098386[/TIME] ---------------

Update: this appears in the error log? Does anyone have an idea of how to locate this error?

[19-Apr-2016 20:32:47 UTC] PHP Parse error: syntax error, unexpected '=' in /home/wukohi/public_html/showpost.php(258) : eval()'d code on line 199

Lynne 04-19-2016 07:27 PM

What is on line 258 of your showpost.php file? It should probably be a hook. Your problem is with some plugin that is using that hook location.

greigeh 04-19-2016 07:46 PM

Quote:

Originally Posted by Lynne (Post 2569271)
What is on line 258 of your showpost.php file? It should probably be a hook. Your problem is with some plugin that is using that hook location.

($hook = vBulletinHook::fetch_hook('showpost_post')) ? eval($hook) : false;

i've had a look at the plugins which has this hook but can't really find any errors with it

squidsk 04-19-2016 08:47 PM

Start disabling them one at a time and see which one removes the error. How many of those plugins have 199+ lines and have an equal sign on the 199th line?

greigeh 04-19-2016 09:57 PM

Quote:

Originally Posted by Lynne (Post 2569271)
What is on line 258 of your showpost.php file? It should probably be a hook. Your problem is with some plugin that is using that hook location.

Quote:

Originally Posted by squidsk (Post 2569279)
Start disabling them one at a time and see which one removes the error. How many of those plugins have 199+ lines and have an equal sign on the 199th line?

So I disabled all the plugins which used the hook location showpost_post and it's still causing the error even though that's the hook found in the Parse Error. Yet when I disable the entire Post Thanks/Like System the error goes away.

Baffled

TheLastSuperman 04-19-2016 11:25 PM

Which mod is it? Please post a link to the mod in question - without a link we don't know which one and from what I recall there are three thanks mods, two older ones and the DBTech one as well.

greigeh 04-20-2016 03:42 PM

Quote:

Originally Posted by TheLastSuperman (Post 2569286)
Which mod is it? Please post a link to the mod in question - without a link we don't know which one and from what I recall there are three thanks mods, two older ones and the DBTech one as well.

Sorry it is the DragonByte Tech: Advanced Post Thanks / Like
https://vborg.vbsupport.ru/showthrea...hanks+%2F+Like

MarkFL 04-20-2016 03:51 PM

Quote:

Originally Posted by greigeh (Post 2569308)
Sorry it is the DragonByte Tech: Advanced Post Thanks / Like
https://vborg.vbsupport.ru/showthrea...hanks+%2F+Like

I have found in developing code on my local dev site, that if I have some kind of error in my plugin code hooked at locations beginning with "editpost_update_" then I get exactly the behavior you described in your first post.

I see that DBTech's product has a plugin hooked at "editpost_update_process". Try disabling just that plugin and see if the issue goes away. If so, then I suggest you report this issue in DBTech's thread for that product.

the one 04-20-2016 04:37 PM

Funny you should mention the post thanks hack.

I have a problem with this but i do not use DragonByte i use this one https://vborg.vbsupport.ru/showthread.php?t=231666

when i go to a thread and click on the inline mod menu and press select all it only selects the very first post.

When i disable this it works like it should do and selects them all.I am not sure how i would fix this and any help would be greatly appreciated as always.

Malc

Dr.CustUmz 04-20-2016 04:52 PM

Quote:

Originally Posted by the one (Post 2569310)
Funny you should mention the post thanks hack.

I have a problem with this but i do not use DragonByte i use this one https://vborg.vbsupport.ru/showthread.php?t=231666

when i go to a thread and click on the inline mod menu and press select all it only selects the very first post.

When i disable this it works like it should do and selects them all.I am not sure how i would fix this and any help would be greatly appreciated as always.

Malc

you should create your own thread or ask for help in the products thread.


All times are GMT. The time now is 03:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01752 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete