Icy Phoenix

     
 

Knowledge Base Error And Question

Knowledge Base Error And Question

Article
Reply with quote    Download Post  
Post 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.  

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.    was just food for thought.



 
MWE_001 - View user's profile Send private message  
MWE_001 [ Wed 21 Sep, 2016 00:27 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


Knowledge Base Error And Question

Comments
Reply with quote    Download Post  
Post 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



 
Informpro - View user's profile Send private message  
Informpro [ Wed 21 Sep, 2016 08:19 ]
Reply with quote    Download Post  
Post Re: Knowledge Base Error And Question 
 
did you, by any "luck", put a category as a parent of itself?



 
Informpro - View user's profile Send private message  
Informpro [ Sat 24 Sep, 2016 01:13 ]
Reply with quote    Download Post  
Post 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.



 
MWE_001 - View user's profile Send private message  
MWE_001 [ Tue 27 Sep, 2016 19:38 ]
Reply with quote    Download Post  
Post Re: Knowledge Base Error And Question 
 
Okay, I'm starting to get an idea. Can you tell me how many categories you had then?



 
Informpro - View user's profile Send private message  
Informpro [ Wed 28 Sep, 2016 17:30 ]
Reply with quote    Download Post  
Post 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.  

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



 
MWE_001 - View user's profile Send private message  
MWE_001 [ Wed 28 Sep, 2016 21:35 ]
Reply with quote    Download Post  
Post Re: Knowledge Base Error And Question 
 
That should be enough. I just need to reduce my local config to reproduce it; no big deal.



 
Informpro - View user's profile Send private message  
Informpro [ Thu 29 Sep, 2016 09:25 ]
Reply with quote    Download Post  
Post 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.



 
MWE_001 - View user's profile Send private message  
MWE_001 [ Wed 05 Oct, 2016 02:13 ]
Reply with quote    Download Post  
Post 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.



 
Informpro - View user's profile Send private message  
Informpro [ Wed 05 Oct, 2016 16:47 ]
Reply with quote    Download Post  
Post 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.



 
MWE_001 - View user's profile Send private message  
MWE_001 [ Sun 09 Oct, 2016 20:17 ]
Reply with quote    Download Post  
Post 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...



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Tue 11 Oct, 2016 21:34 ]
Reply with quote    Download Post  
Post 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.  



 
MWE_001 - View user's profile Send private message  
MWE_001 [ Sun 16 Oct, 2016 06:02 ]
Reply with quote    Download Post  
Post Re: Knowledge Base Error And Question 
 
Yup! I think they were merged on the plugins repo



 
Informpro - View user's profile Send private message  
Informpro [ Mon 17 Oct, 2016 13:37 ]
Reply with quote    Download Post  
Post Re: Knowledge Base Error And Question 
 
Nice! Ill have a look as soon as my I get my PC reformatted tonight.



 
MWE_001 - View user's profile Send private message  
MWE_001 [ Wed 19 Oct, 2016 23:36 ]
Reply with quote    Download Post  
Post 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.  



 
MWE_001 - View user's profile Send private message  
MWE_001 [ Sat 12 Nov, 2016 19:51 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next