Affichage des articles dont le libellé est Re: Where does the $_GET thing happen for "board" and "topic"?. Afficher tous les articles
Affichage des articles dont le libellé est Re: Where does the $_GET thing happen for "board" and "topic"?. Afficher tous les articles

Re: Where does the $_GET thing happen for "board" and "topic"?

mercredi 15 avril 2015

Alright so I typoed "type" somewhere. Very embarrassing!



But it's working now, except it's saying the type doesn't exist. Is there some way I can find out what the query is outputting or anything else so I can figure out where my logic is off? It shoul...



Re: Where does the $_GET thing happen for "board" and "topic"?

Re: Where does the $_GET thing happen for "board" and "topic"?

Have you got any idea what's causing this error or how to fix it?



Re: Where does the $_GET thing happen for "board" and "topic"?

Re: Where does the $_GET thing happen for "board" and "topic"?

I understand what you're saying. I do know how SMF does the others, and I think I can see where it's getting the topic and board stuff in too.



Re: Where does the $_GET thing happen for "board" and "topic"?

Re: Where does the $_GET thing happen for "board" and "topic"?

mardi 14 avril 2015

I understand you completely. I have built a system in this way using a framework, and I wanted to build a whole new one like this that would have a basic forum but Arantor talked me into building my system into SMF. But your explanation makes me really...



Re: Where does the $_GET thing happen for "board" and "topic"?

Re: Where does the $_GET thing happen for "board" and "topic"?

lundi 13 avril 2015

I don't think the query is the issue, the issue is somewhere else. It's not replacing things properly. It shouldn't be asking for "current_type" like that it should be replacing the value with an integer and putting the end result in, current_type shou...



Re: Where does the $_GET thing happen for "board" and "topic"?

Re: Where does the $_GET thing happen for "board" and "topic"?

dimanche 12 avril 2015

Now it's throwing the same error but only when I click on a type; when I click a type like "drawing" it goes to ?type=16 like it should but it's saying "The database value you're trying to insert does not exist: current_type" again. I've double checked...



Re: Where does the $_GET thing happen for "board" and "topic"?

Re: Where does the $_GET thing happen for "board" and "topic"?

Okay I got it to work, I forgot to global things :/. Suki's post made me realise I forgot to double check ha ha.



Re: Where does the $_GET thing happen for "board" and "topic"?

Re: Where does the $_GET thing happen for "board" and "topic"?

samedi 11 avril 2015


I think it's in Querystring.php in the function that cleans the request, not sure offhand though...






I did add a section to there, but it's not done me any good. Did...



Re: Where does the $_GET thing happen for "board" and "topic"?
 

Lorem

Ipsum

Dolor