View previous topic :: View next topic |
Author |
Message |
RamsayX
Joined: 13 Jul 2004 Posts: 10 Location: IaMCaNaDiAn
|
Posted: Tue Jul 13, 2004 5:48 pm Post subject: Getting two errors |
|
|
I can't preview my blog entry before submitting, I get a 400 error ... and also users can't post comments ... not sure whats happening here, please help me, thanks!
http://personal.ramsaystudios.ca <--- The blog is on the left in the iframe. _________________ Garrett Ramsay
RamsayStudios.ca |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 441 Location: Oslo, Norway
|
Posted: Tue Jul 13, 2004 7:05 pm Post subject: |
|
|
I don't think your first issue is an error, bro. The entry has to be saved to the db before you can view it. This is a minor problem. I edit my posts the first five mins they're published, and no one seems to mind..
Took a good-long time to dl b2commentspopup.php.. still waiting.
How do you call it from your page? Can I see the code? _________________ Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center |
|
Back to top |
|
 |
RamsayX
Joined: 13 Jul 2004 Posts: 10 Location: IaMCaNaDiAn
|
Posted: Tue Jul 13, 2004 7:14 pm Post subject: |
|
|
Ya the previewing isn't a big deal, but the comments thing should be fixed. At the moment its being called iframe source page called inc_blog.php, onto index.php. On index.php is:
Code: | <iframe width="100%" height="100%" src="inc_blog.php" align="left" scrolling="auto"></iframe> |
On inc_blog.php is all the original code from the original b2.php, some paths adjusted of course since the files are all kept in a b2/ directory in the same place as those two files. I think the only two changes I had to make to inc_blog.php were:
Code: | <?php include ("b2/b2comments.php"); ?> |
and:
Code: | <?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("b2/blog.header.php"); ?> |
Basically I wanted to keep it all in a scrollable area so it didn't stretch my page anymore than it is, thats why I used the iframe. It doesn't look that great but I'm not sure of a better method. _________________ Garrett Ramsay
RamsayStudios.ca |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 441 Location: Oslo, Norway
|
Posted: Tue Jul 13, 2004 7:27 pm Post subject: |
|
|
Well, from the look of it your inc-file.php calls the popup file from /b2commentspopup.php and not b2/b2commkegjngk..
Which leads me to ask: Why did you put the incfile in / folder when you could avoid all the trouble by putting it in /b2/ ?
(Then just change the iframe src to ="/b2/blah", right?) _________________ Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center |
|
Back to top |
|
 |
RamsayX
Joined: 13 Jul 2004 Posts: 10 Location: IaMCaNaDiAn
|
Posted: Tue Jul 13, 2004 7:37 pm Post subject: |
|
|
Sigg3 wrote: | Well, from the look of it your inc-file.php calls the popup file from /b2commentspopup.php and not b2/b2commkegjngk..
Which leads me to ask: Why did you put the incfile in / folder when you could avoid all the trouble by putting it in /b2/ ?
(Then just change the iframe src to ="/b2/blah", right?) |
Hehe ok I changed it since that method makes better sense. Then I took my old b2.php and resaved it as inc_blog.php in the b2 folder, changed the link on index.php but I still get the same problem. What gives?  _________________ Garrett Ramsay
RamsayStudios.ca |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 441 Location: Oslo, Norway
|
|
Back to top |
|
 |
RamsayX
Joined: 13 Jul 2004 Posts: 10 Location: IaMCaNaDiAn
|
Posted: Tue Jul 13, 2004 10:57 pm Post subject: |
|
|
What needs to be changed in there? I don't see anything that is obviously wrong ... :-\ _________________ Garrett Ramsay
RamsayStudios.ca |
|
Back to top |
|
 |
|