View previous topic :: View next topic |
Author |
Message |
freshpolitics
Joined: 09 Sep 2004 Posts: 7
|
Posted: Fri Sep 10, 2004 6:06 am Post subject: I need help with fixing my template please! |
|
|
Will someone please take a look at my site and tell me what's going on ?!
http://freshpolitics.us/test3.php
I get the messages:
--------
Warning: main(blog.header.php): failed to open stream: No such file or directory in /home/freshpol/public_html/test3.php on line 3
Warning: main(blog.header.php): failed to open stream: No such file or directory in /home/freshpol/public_html/test3.php on line 3
Warning: main(): Failed opening 'blog.header.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/freshpol/public_html/test3.php on line 3
---------
on top of the page and this in the middle:
-------
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/freshpol/public_html/test3.php on line 59
--------
The thing is that I can't get into the freshpolitics.us/v-web/b2 file through my file browser or ftp. So I can't put it in the same file as my primary folder.
Thanks in advance for the help. |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 620 Location: Oslo, Norway
|
|
Back to top |
|
 |
sh0ck
Joined: 02 May 2004 Posts: 28 Location: Norway
|
Posted: Fri Sep 10, 2004 10:05 am Post subject: |
|
|
at the top of the page (line 3) you will find something like this:
Code: |
<?php $blog=1; include (" /home/freshpol/public_html/blog.header.php"); ?>
|
the blog.header.php file is the most important file you need to include since it starts the b2 engine and all its functions. move your blog.header.php into your public_html directory and it should work. _________________ http://www.licklinux.com |
|
Back to top |
|
 |
freshpolitics
Joined: 09 Sep 2004 Posts: 7
|
Posted: Fri Sep 10, 2004 4:06 pm Post subject: |
|
|
I don;t have access to that file beacuse I don't have access to that folder. Where can I get another copy? |
|
Back to top |
|
 |
sh0ck
Joined: 02 May 2004 Posts: 28 Location: Norway
|
Posted: Sat Sep 11, 2004 11:47 am Post subject: |
|
|
then insert the proper directory where the file is located.
Code: |
<?php $blog=1; include (" /home/freshpol/public_html/directory/blog.header.php"); ?>
|
You can get another copy in the b2 bundle at cafelog.com _________________ http://www.licklinux.com |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 620 Location: Oslo, Norway
|
|
Back to top |
|
 |
|