Search found 6 matches

by dmanzer2
Fri Mar 09, 2012 8:52 pm
Forum: Tutorials
Topic: Blog Tutorial - Invalid Post ID - blog-read.php
Replies: 12
Views: 8767

Re: Blog Tutorial - Invalid Post ID - blog-read.php

Thank you, Jacek and Temor. It works!! :D

Cheers,
David
by dmanzer2
Tue Mar 06, 2012 7:13 pm
Forum: Tutorials
Topic: Blog Tutorial - Invalid Post ID - blog-read.php
Replies: 12
Views: 8767

Re: Blog Tutorial - Invalid Post ID - blog-read.php

Thanks guys for helping with this. I'm sorry to be such a pain. Okay, It seems I'm back to square one. I added the die() back and removed the #. As far as the php.ini files goes, where is that on a local server? Do I create it? Do you mean add the error_reporting to the init.inc.php? Hold on... I th...
by dmanzer2
Fri Mar 02, 2012 10:56 pm
Forum: Tutorials
Topic: Blog Tutorial - Invalid Post ID - blog-read.php
Replies: 12
Views: 8767

Re: Blog Tutorial - Invalid Post ID - blog-read.php

Hi Temor, Thank you for your help on this. Yes, I am testing on a local server. I just added the hashtag (#) in the from action, tested it and nothing changed. Then I removed the die(); in both the blog_read and the blog_post and still nothing happened. :?: Any other suggestions? Thank you, David
by dmanzer2
Fri Mar 02, 2012 4:03 pm
Forum: Tutorials
Topic: Blog Tutorial - Invalid Post ID - blog-read.php
Replies: 12
Views: 8767

Re: Blog Tutorial - Invalid Post ID - blog-read.php

Hi Temor, I tried the echo mysql_error(); and nothing changed. The same thing is still happening. Blank pages upon click. This might be a stupid question but I'm new at this. I did notice that When I test the comments.inc.php and post.inc.php directly that I get an internal server error. Could this ...
by dmanzer2
Thu Mar 01, 2012 11:54 pm
Forum: Tutorials
Topic: Blog Tutorial - Invalid Post ID - blog-read.php
Replies: 12
Views: 8767

Re: Blog Tutorial - Invalid Post ID - blog-read.php

Thank you! blog_read.php <?php include('core/init.inc.php'); if (isset($_GET['pid'], $_POST['user'], $_POST['body'])){ if (add_comment($_GET['pid'], $_POST['user'], $_POST['body'])){ header("Location: blog_read.php?pid={$_GET['pid']}"); }else{ header('Location: blog_list.php'); } die(); } ...
by dmanzer2
Thu Mar 01, 2012 9:54 pm
Forum: Tutorials
Topic: Blog Tutorial - Invalid Post ID - blog-read.php
Replies: 12
Views: 8767

Blog Tutorial - Invalid Post ID - blog-read.php

After making a new blog post or comment the page goes blank after clicking button (blog_post.php & blog_read.php). The posts are posting when I view blog_list.php and the comments are posting when I view blog_read.php. If I just preview the blog_read.php file I get a Invalid post ID message. Can...