PDA

View Full Version : Dissecting server error log - ckeditor vblink errors


DF031
09-27-2013, 01:55 PM
Good evening all.

I have been checking the server logs lately, that enabled me to fix numerous forum errors / bug / buglets.

I am also getting a lot of errors like these:

[Sun Sep 22 17:55:10 2013] [error] [client xxx.xx.xx.xxx] File does not exist: /home/zzzz/domains/XXXXX.net/public_html/clientscript/ckeditor/plugins/vblink, referer: http://www.XXXXX.net/editpost.php...57&do=editpost
[Sun Sep 22 18:27:11 2013] [error] [client yy.yyy.yyy.yy] File does not exist: /home/zzzz/domains/XXXXX.net/public_html/clientscript/ckeditor/plugins/vblink, referer: http://www.XXXXX.net/private.php?do=newpm&pmid=6789

Seems there is a problem / omission related to the ckeditor ?

ForceHSS
09-27-2013, 03:31 PM
Says the file is not there means you need to upload it

DF031
09-27-2013, 03:51 PM
Thanks, but what is the file name ?!?

Simon Lloyd
09-27-2013, 03:59 PM
vblink doesn't exists but it could just be a path problem.

DF031
09-27-2013, 04:08 PM
in a different directory it does excist:

/clientscript/ckeplugins/vblink

ozzy47
09-27-2013, 07:45 PM
Is vBLink from a addon?

tbworld
09-27-2013, 08:56 PM
Is vBLink from a addon?

The code is refering to the "Link" and "unlink" feature of the ckeditor.

There is an addon called "vblink" -> www.boardoo.com (http://www.boardoo.com), obviously not related.

--------------- Added 27 Sep 2013 at 15:02 ---------------

Good evening all.
Seems there is a problem / omission related to the ckeditor ?


A couple of things come to mind without seeing the site.

1. Has the ckeditor been altered, has an additional tool/plugin been syntactically added incorrectly to the Ckeditor

2.) The site has JavaScript errors which are interfering with the Ckeditor.

3.) Corrupted Ckeditor files <-- I doubt this one, unless the ckeditor code has been modified.

Hope any of this helps. :)

Simon Lloyd
09-28-2013, 09:45 AM
in a different directory it does excist:

/clientscript/ckeplugins/vblink

Which is why I said "...a path issue" it appears that either a plugin is trying to access it and wants it in the plugins folder or it's wrongly been put in the ckeplugins folder, I don't have vb4 set up so cant tell you if there should even be a separate ckeplugins folder.

ozzy47
09-28-2013, 10:00 AM
Are you by chance using vBSeo?

DF031
09-28-2013, 11:25 AM
I don't have vb4 set up so cant tell you if there should even be a separate ckeplugins folder.

Original 4.2.1. has both directories, ckeditor as well as ckeplugins

1. Has the ckeditor been altered, has an additional tool/plugin been syntactically added incorrectly to the Ckeditor

How can I check that ?

2.) The site has JavaScript errors which are interfering with the Ckeditor.

How to find out if these are the problem ? Almost all webistes hav script errors when one visits them with various browsers.

Are you by chance using vBSeo?

Nope, do not need to optimize a searchengine. Want to optimize my forum :-P

3.) Corrupted Ckeditor files <-- I doubt this one, unless the ckeditor code has been modified.

How can I check ?

ForceHSS
09-28-2013, 11:37 AM
in a different directory it does excist:

/clientscript/ckeplugins/vblink

This is were it should be in vb4 so dont no why it is trying to look for it else where. You could either fix that pointing it to the right place or copy the files over to where it is looking for them even know it is the wrong place

DF031
09-28-2013, 11:40 AM
Thanks for all the help guys.

You could either fix that pointing it to the right place

How do I know which file is looking for it in the wrong place ?

ForceHSS
09-28-2013, 11:42 AM
It tells u that in the first post

DF031
09-28-2013, 11:47 AM
Thanks, but it does not. At least I could not find it :-( The file editpost.php has no reference to ckeditor or vblink or ckplugins

Might be an included file.

ozzy47
09-28-2013, 01:04 PM
Lets test if this is from a addon.

Open your config.php and below<?php add this line:

define('DISABLE_HOOKS', true);So it looks like this:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.2.1

Then go to a post, and edit it, then look in your server error logs again, to see if the error shows up.

If it don't, then remove that line from the config.php file, edit the post again and see if the error shows up then.

DF031
09-28-2013, 01:28 PM
Thanks Ozzy.

Since I can not produce the error at will, it happens max. a dozen times a day, I might have to wait a few hrs for the error to pop up. I can not cripple the forum for such a long time.

But I did overwrite all files in the ckeditor and ckplugins directory with brand new ones from the VB members area.

ozzy47
09-28-2013, 01:37 PM
Well one of them editpost.php that is calling for the file, that's why I wanted you to test with plugins disabled, and edit a post, then with plugins enabled.

DF031
09-28-2013, 02:05 PM
Editing a post does not trigger it when I try. I have not found a way yet to reproduce the error at will.

ozzy47
09-28-2013, 02:12 PM
Well that is a bummer, hopefully you can find a way to reproduce it at will, so we can get this figured out.

nhawk
09-28-2013, 04:20 PM
I reported this as a bug way back in December 2011...

http://tracker.vbulletin.com/browse/VBIV-13840

DF031
09-28-2013, 04:33 PM
Thanks, so it is probably impossible to fix, otherwise they would have done so in on of the releases.

nhawk
09-28-2013, 04:36 PM
If I recall correctly, I eliminated the error by copying the vblink folder from clientscript/ckeplugins to clientscript/ckeditor/plugins.

ForceHSS
09-28-2013, 07:56 PM
If I recall correctly, I eliminated the error by copying the vblink folder from clientscript/ckeplugins to clientscript/ckeditor/plugins.

copy the files over to where it is looking for them even know it is the wrong place
:) :) :)

DF031
09-28-2013, 09:21 PM
What do you mean, quoting yourself ?

Zachery
09-28-2013, 09:22 PM
It was the 11th post to do the same thing someone else recommended another 10 posts later.

DF031
09-28-2013, 09:43 PM
Well, 2 people having the same opinion does not mean you are right or that it is the best solution. Dont forget that. :)

Too bad VB is giving up on 4.x , so a real solution will probably never happen.

Zachery
09-28-2013, 10:42 PM
So, you're refusing to take the easiest action to fix the problem? Kind of weird choice.

tbworld
09-28-2013, 11:02 PM
I have been looking into this as I have seen the error on my server occasionally. I am now explicitly logging events around the code and the "editor.config.vbPluginPath". Identifying the sequence that causes the issue is the key to solving this kind of problem. I have not been able to manually trigger the sequence that leads to the error.

In my opinion:
Most likely vb was trying to do something similar, but did not have much success -- which is probably why it is not fixed. At some point you just have to move on to more important issues.

Copy the directories if you want the error to disappear and I will post an update if I find something. Since the error happened so infrequently on my board and I have had no complaints on functionality (at least not reported). I usually under these conditions just go on with my life.

However, I do understand your frustration and maybe my event logging will come up with something. Have a good one. :)

DF031
09-29-2013, 05:17 AM
Zachery, I did not make a choice.

TB, thanks for your insight.

Zachery
09-30-2013, 09:48 PM
Did you upload the files? If not, you're making a choice not to take an obviously quick fix.