Knowledge Base Error And Question


Goto page 1, 2  Next

Subject: Knowledge Base Error And Question
I ran in to a small issue. Me being me, I have to click links of all sorts in places most people would never click, but if it there, I'm going to click it just because. If it don't work it needs fixed or gone so there for I test and test and click and click. :mrviolet:

In the Knowledge Base there is a link and here it is:

screenshot_53

Clicking that gave me this:

screenshot_52

In this case I know for 100% certain it is a php.ini error. BUT for all you coding gurus out there, is there any way to fix this on a server that we do NOT have access to the php.ini file? Obviously you can tell from the screnshot this error is on my local host server so iw as able to fix it by setting:
Code: [Download] [Hide] [Select]
xdebug.max_nesting_level = 200


Can I drop this:
Code: [Download] [Hide] [Select]
ini_set('xdebug.max_nesting_level', 200);
in my code somewhere and make it work on my live web host?

To be exact I think it is a
Code: [Download] [Hide] [Select]
/etc/php5/apache2/conf.d/20-xdebug.ini
not a regular php.ini issue

Anyway, this problem should never be an issue on my site for any user at any time other than a mod or admin. Normal users will never see that link..... I think. that was in my forum that I have it set to view Private. So if no fix, that's perfectly fine by me. :mrblue: was just food for thought.

Subject: Re: Knowledge Base Error And Question
I don't think it's a ini error. It seems it doesn't know when to stop going forward. I'll look after I'm done with the github tickets

Profile PM  
Subject: Re: Knowledge Base Error And Question
did you, by any "luck", put a category as a parent of itself?

Profile PM  
Subject: Re: Knowledge Base Error And Question
Informpro wrote: [View Post]
did you, by any "luck", put a category as a parent of itself?


I'm 100% for certain that was not the case. I went back and tried again with the same exact results.

Subject: Re: Knowledge Base Error And Question
Okay, I'm starting to get an idea. Can you tell me how many categories you had then?

Profile PM  
Subject: Re: Knowledge Base Error And Question
My setup is as follows.

Categories and types = 4

Forums for comments to go to = 4

All 4 forums set up as KB Mode in forum setting when setting up that forum.


The first image in my original post all the way up top, you can see the link I clicked to get the error. That was in the forum where the KB category sends its comments to, NOT in the KB.

The forums are setup to view as private so no one but mods and admin can see the forums so registered members MUST use the KB instead or they will just short cut right to the forums instead. So when you set up the forum for comments, make sure to set it to view private and make it so the forum is in KB Mode.

Now go to your Knowledge Base and choose any category you wish. Submit a new article. Now make a comment on said article. Now at this point in time, users would be redirected the forums to submit and view comments. You as an admin can just go to your forums and click on that private forum where the comment just went and read the article heading. Click that link that says read complete story. Now enjoy the error. :mricy:

If my instructions are confusing (they so often are) I can break out the old recording studio and do a quick youtube video.

Subject: Re: Knowledge Base Error And Question
That should be enough. I just need to reduce my local config to reproduce it; no big deal.

Profile PM  
Subject: Re: Knowledge Base Error And Question
Yeah its really no biggie man. I had to dig deep to find this one. The realistic odds of the regular Joe running in to this issue is slim to none really. I just managed to get "lucky" if that is what you wish to call it and find it.

Subject: Re: Knowledge Base Error And Question
Just to check something – are you using the "Forum KB" feature in Forum Management, or the KB plugin? Both are unrelated.

EDIT: in the meantime i fixed a bug and 2 weird things in KB! Hopefully MG will be able to look at it soon enough.

Profile PM  
Subject: Re: Knowledge Base Error And Question
First off, sorry so slow on the reply. I have been plagued with internet outage the last week. Sporadic service at best.

And good catch. I do have KB Feature turned on for the forums where the KB plugin comments go.

I will go turn that feature off right now and test. I will come back and post.

**UPDATE**

I shut off KB Mode for the forums where the KB Plugin comments go and that error is gone. If I click the read full article link now, it displays the whole article and not an error.

Subject: Re: Knowledge Base Error And Question
I will have a look at this as soon as I have some free time... it's a busy period... :?

Subject: Re: Knowledge Base Error And Question
Informpro wrote: [View Post]


EDIT: in the meantime i fixed a bug and 2 weird things in KB! Hopefully MG will be able to look at it soon enough.


Hmm fixes on Git? I'm curious as usual. :mryellow:

Subject: Re: Knowledge Base Error And Question
Yup! I think they were merged on the plugins repo :-)

Profile PM  
Subject: Re: Knowledge Base Error And Question
Nice! Ill have a look as soon as my I get my PC reformatted tonight.

Subject: Re: Knowledge Base Error And Question
I never got to go check out the fixes. I am on my way now.

P.S. I love having time again to work on my icy projects. :mricy:

Goto page 1, 2  Next

Page 1 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.2777s (PHP: 14% SQL: 86%)
SQL queries: 16 - Debug Off - GZIP Enabled