Page 2 of 2

Re: Make a Blog System for specific user

Posted: Tue Apr 17, 2012 11:21 pm
by jaysus7
http://jasonmassieportfolio.com/blog_re ... Cbr%20/%3E


thats what i get in the address bar.....

Re: Make a Blog System for specific user

Posted: Tue Apr 17, 2012 11:44 pm
by Temor
Notice: Undefined index: pid in /home/content/50/8811650/html/blog_list.php on line 180

Does blog_list.php really have more than 180 lines?

You also have these errors:

Notice: Undefined index: username in /home/content/50/8811650/html/blog_read.php on line 177
Notice: Undefined index: uid in /home/content/50/8811650/html/blog_read.php on line 177

Re: Make a Blog System for specific user

Posted: Tue Apr 17, 2012 11:47 pm
by jaysus7
i use dreamwever as a template and just customize the crap out of it so yeah it has about 220 lines in it.....is that wahatg it says ill check it out.....

the undefined index is cuz your not logged in there not there if you are...

Re: Make a Blog System for specific user

Posted: Thu Apr 19, 2012 3:01 pm
by jacek
Yeah it just means that the place you are linking to blog_read.php is using a variable that has no value. you need to not do that ;)

Re: Make a Blog System for specific user

Posted: Mon Apr 23, 2012 12:59 am
by jaysus7
ok just followed the tutorial once again and everything seems to be fine...so i don't know why it would be doing that other than maybe because the user_id is being added as well and can't find the proper pid???

Re: Make a Blog System for specific user

Posted: Tue Apr 24, 2012 7:08 pm
by jaysus7
ok fixed i can close this now thanks :)

Re: Make a Blog System for specific user

Posted: Tue Apr 24, 2012 9:26 pm
by jacek
jaysus7 wrote:ok fixed i can close this now thanks :)
Out of interest, what was the problem ?

Re: Make a Blog System for specific user

Posted: Tue Apr 24, 2012 9:56 pm
by jaysus7
missed a ;

put $post instead of $_GET, and there was something else i didd in the back file, i think it was a ,