Make a Blog System for specific user

Post here is you are having problems with any of the tutorials.
User avatar
jaysus7
Posts: 95
Joined: Wed Feb 22, 2012 9:06 pm
Location: Canada

Re: Make a Blog System for specific user

Post by jaysus7 »

http://jasonmassieportfolio.com/blog_re ... Cbr%20/%3E


thats what i get in the address bar.....
Just a helpless cause!!!!
User avatar
Temor
Posts: 1186
Joined: Thu May 05, 2011 8:04 pm

Re: Make a Blog System for specific user

Post 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
User avatar
jaysus7
Posts: 95
Joined: Wed Feb 22, 2012 9:06 pm
Location: Canada

Re: Make a Blog System for specific user

Post 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...
Just a helpless cause!!!!
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Make a Blog System for specific user

Post 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 ;)
Image
User avatar
jaysus7
Posts: 95
Joined: Wed Feb 22, 2012 9:06 pm
Location: Canada

Re: Make a Blog System for specific user

Post 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???
Just a helpless cause!!!!
User avatar
jaysus7
Posts: 95
Joined: Wed Feb 22, 2012 9:06 pm
Location: Canada

Re: Make a Blog System for specific user

Post by jaysus7 »

ok fixed i can close this now thanks :)
Just a helpless cause!!!!
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Make a Blog System for specific user

Post by jacek »

jaysus7 wrote:ok fixed i can close this now thanks :)
Out of interest, what was the problem ?
Image
User avatar
jaysus7
Posts: 95
Joined: Wed Feb 22, 2012 9:06 pm
Location: Canada

Re: Make a Blog System for specific user

Post 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 ,
Just a helpless cause!!!!
Post Reply