View previous topic :: View next topic |
Author |
Message |
Jacqueline
Joined: 16 Nov 2003 Posts: 7 Location: Canadar
|
Posted: Mon Mar 01, 2004 1:28 pm Post subject: Linking to b2 from a different page |
|
|
Sorry, I didn't know whether to post this here or in the How To section... Anyway, what I wanted to ask is this. I have two versions of the same layout, a flash and html version, named indexflash.php and indexhtml.php, both uploaded in the same folder as index.php. When I include b2 in either files, I get this error
Quote: | Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/jenn/public_html/jacqueline/indexflash.php on line 15 |
the line it is reffering to is
Quote: | <?php while($row = mysql_fetch_object($result)) { start_b2(); ?> |
Umm... The page url is http://www.girl-syndrome.com/jacqueline/indexflash.php if you need to see it. I really don't know what to do here... I thought maybe there was something extra you had to do to link b2 on a page other than index.php, or some path you have to change in some file somewhere I'm sorry I'm dumb.
Any ideas from anyone would be greatly appreciated. |
|
Back to top |
|
 |
Jacqueline
Joined: 16 Nov 2003 Posts: 7 Location: Canadar
|
Posted: Mon Mar 15, 2004 3:46 am Post subject: |
|
|
Ok, I've basically given up on linking to it from different folders, everything is in girl-syndrome.com/jacqueline/b2
But I'm still getting the same error,
Quote: | Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/jenn/public_html/jacqueline/b2/index.php on line 25 |
And it's reaffering to the same line
Quote: | <?php while($row = mysql_fetch_object($result)) { start_b2(); ?> |
I thought perhaps there was a path I forgot to change in the b2config.php file, but I've gone through it and couldn't find what it was. Do I have to change something to make it show up? Everything else seems to be working... I just can't see my blog.
Does anyone have any ideas? Or does anyone know what that error means? Any input is much appreciated... |
|
Back to top |
|
 |
Jacqueline
Joined: 16 Nov 2003 Posts: 7 Location: Canadar
|
|
Back to top |
|
 |
|