| |||||||
This is a discussion on I've created an error and can't fix it. within the vBulletin section, part of the Internet Forum Softwares category; I have spent a lot of time looking at various .php files on my server, trying to understand flow. I ...
![]() |
|
| | LinkBack | Thread Tools | Display Modes |
|
#1
| ||||
| ||||
|
I have spent a lot of time looking at various .php files on my server, trying to understand flow. I think that somewhere either directly in one of the files, or somewhere on the Admin CP, I have inadvertently made a change which has caused a problem. I realize that you are not familiar with Form Hack, but I don't believe this problem is directly with the hack. I have 6 forms using the hack. They were all working fine. All of a sudden none of them work. Obviously something common to all is the problem. All 6, create new threads. This is the error I see when I try to execute:
PHP Code: So the questions are: 1. Can someone help me understand the error and tell me if I need to look somewhere else. 2. Where can I find newthread_start. 3. Or, is fetch_hook something in vB that I could have changed, or is it a PHP construct. |
|
#2
| ||||
| ||||
|
newthread_start is a hook in vB. I think it is due to some of your mods gone bad (probably the form hack). Do one thing, try disabling the Form Hack from admincp->Product Manager and see the effect.
__________________ Would you like to Link To Us | Support TECH6 by going Premium Know more about me at Vinayaks.com | Follow TECH6 at Twitter |
|
#3
| ||||
| ||||
|
I disabled the Form Hack plug-in and the problem went away with all other attempts to start a new thread. Of course I have 6 locations where Form Hack is giving me data input control over what goes into a post, and thus won't work at all with it disabled. This is the product provided to me to use, and it has been relatively simple to use. So you are suggesting that I go elsewhere to dive into this deeper since you have not used it before? You didn't directly answer one queston. Yes, newthread_start is a vB hook. Is there somewhere to "modify" the hook. Yes, I agree my mods have caused this problem, but I can't figure out what is common to the creation of all new threads both using the hack, and not, but which doesn't matter when the hack is disabled. Any ideas? |
|
#4
| ||||
| ||||
Also, I just noticed that Form Hack isn't released for vB 3.7, so if you're using 3.7 then there may arise compatibility issues that you should and must discuss at official thread at vb.org for best answer.
__________________ Would you like to Link To Us | Support TECH6 by going Premium Know more about me at Vinayaks.com | Follow TECH6 at Twitter |
|
#5
| ||||
| ||||
|
I didn't really want to modify the hook, I was really asking because I fear that I somehow DID modify it, without even knowing it. We are using the latest version of vB, so if what you say is true, there may be some issues with compatibility. I'll have to find out about reinstalling the hack. It is just a feeling, but I don't think that is going to work. So here is my dilemma. Since you do not use Form Hack, perhaps you can guide me toward a different solution. Perhaps you can give me a lesson, or you are aware of a website with the kind of information I need. We have a number of forums, where the standard "Post thread" functionality is used. We get a form just like I am using right now; subject line and vBtext box. We have some specific forums though, where specific information is required from the poster. The form Hack allowed us to "easily" create a form for data input. It then allowed us to post that information into the post, as well as allowing me to write code to store the specific values into the database. Is there a way to do this strictly through the standard vB product? |
|
#6
| ||||
| ||||
As said earlier, the only place where you can get best support for that mod is here. Also, read through that thread, maybe someone else also faced the same problem.
__________________ Would you like to Link To Us | Support TECH6 by going Premium Know more about me at Vinayaks.com | Follow TECH6 at Twitter |
|
#7
| ||||
| ||||
|
Thanks for all your help with this problem. Everything is working fine now. I still do not understand why my problem occurred, but it did and I will know in the future. In one copy of a form (with Form Hack, you copy the default Form Hack form and then modify for desired input/output), I made one PHP syntax error. I cannot understand why this one error, in one form, would affect 5 other forms, and the act of posting a new thread in general, but it did. Because the problem was seen in so many different areas, I focused on common files / styles / templates, but that wasn't the actual source. You helped me walk through the debugging steps, and I greatly appreciate it. Looking forward to the next time I need help! |
|
#8
| ||||
| ||||
|
see its not about just one error in that hack. Everything is hanging on that one HOOK. Bad code disturbed the proper functioning of that hook and thus everything associated with it started functioning abruptly. anyways.. nice to know you solved your problem. Keep posting.. !!
__________________ Would you like to Link To Us | Support TECH6 by going Premium Know more about me at Vinayaks.com | Follow TECH6 at Twitter |
![]() |
| Bookmarks |
| Tags |
| error, hook, parse |
| Thread Tools | |
| Display Modes | |
| |