boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Getting two errors

 
Post new topic   Reply to topic    boardom Forum Index -> Installation issues
View previous topic :: View next topic  
Author Message
RamsayX



Joined: 13 Jul 2004
Posts: 10
Location: IaMCaNaDiAn

PostPosted: Tue Jul 13, 2004 5:48 pm    Post subject: Getting two errors Reply with quote

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! Question

http://personal.ramsaystudios.ca <--- The blog is on the left in the iframe.
_________________
Garrett Ramsay
RamsayStudios.ca
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 441
Location: Oslo, Norway

PostPosted: Tue Jul 13, 2004 7:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
RamsayX



Joined: 13 Jul 2004
Posts: 10
Location: IaMCaNaDiAn

PostPosted: Tue Jul 13, 2004 7:14 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 441
Location: Oslo, Norway

PostPosted: Tue Jul 13, 2004 7:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
RamsayX



Joined: 13 Jul 2004
Posts: 10
Location: IaMCaNaDiAn

PostPosted: Tue Jul 13, 2004 7:37 pm    Post subject: Reply with quote

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? Question
_________________
Garrett Ramsay
RamsayStudios.ca
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 441
Location: Oslo, Norway

PostPosted: Tue Jul 13, 2004 10:50 pm    Post subject: Reply with quote

You've gotto change the path in b2config.php as well.

Oh, and change the layout on this one:
http://personal.ramsaystudios.ca/b2/b2commentspopup.php

Default is pretty boring, wouldn't you say?
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
RamsayX



Joined: 13 Jul 2004
Posts: 10
Location: IaMCaNaDiAn

PostPosted: Tue Jul 13, 2004 10:57 pm    Post subject: Reply with quote

What needs to be changed in there? I don't see anything that is obviously wrong ... :-\
_________________
Garrett Ramsay
RamsayStudios.ca
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Installation issues All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group