vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Which template can cause this problem with Inline Post Editing? (https://vborg.vbsupport.ru/showthread.php?t=140844)

Lars-Christian 03-01-2007 06:29 PM

Which template can cause this problem with Inline Post Editing?
 
I have posted this over at the vB.com forums, but it is quite urgent, so I'll try here as well, hoping someone can help me out.

I am experiencing a somewhat strange problem with the Inline Post Editing function, and I am completely lost as to where the problem might be.

The problem is that when using the Inline Post Edit, when pressing save, the edited post is not shown. Instead the editor just stays. If you then refresh the page, you can see that the post has infact been edited.

I have tried disabling all hacks, and none of them seem to be the culprit.
When I switch to the default style however, it works, so it must be a flaw in one of my templates. I have tried reverting the postbit template as well as showthread, but the problem doesn't seem to be in any of those templates.

So the big question is, where can the problem be?

Crapforum 05-24-2008 09:44 AM

I got the same problem in one of my styles...
I really cant find the solution to this :(

this is the debugged errormsg.
fetch_object("edit" + this.postid) has no properties

Opserty 05-24-2008 09:46 AM

It could be anywhere... it is probably in some custom javascript or some javascript that has been edited which is causing conflicts or its own errors.

Crapforum 05-24-2008 01:11 PM

I really hate these kind of problems, busy trying everything without succes :(
It's probably something really small and stupid...
if anyone knows another solution to find the problem please let us know.

Lynne 05-24-2008 04:01 PM

Does it work with the default style? If so, compare the source code of the same page using the default style and using your style. See what the differences are.

Crapforum 06-02-2008 12:01 PM

Quote:

Originally Posted by Crapforum (Post 1529999)
I really hate these kind of problems, busy trying everything without succes :(
It's probably something really small and stupid...
if anyone knows another solution to find the problem please let us know.

told you it probably was something small and stupid.
problem was in de postbit_wrapper template

<div id="edit$post[postid]" > was missing :rolleyes:


All times are GMT. The time now is 07:00 AM.

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.00988 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete