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 

just getting started
Goto page Previous  1, 2
 
Post new topic   Reply to topic    boardom Forum Index -> Installation issues
View previous topic :: View next topic  
Author Message
mondo



Joined: 26 Oct 2004
Posts: 17

PostPosted: Wed Oct 27, 2004 6:48 pm    Post subject: Reply with quote

and by did that, I mean got the base file. it was in the root directory, and I read another post about editing these files via the web browser that messes them up, so I assume that might be it
Back to top
View user's profile Send private message
stevem



Joined: 15 Mar 2003
Posts: 262

PostPosted: Wed Oct 27, 2004 6:52 pm    Post subject: Reply with quote

Can you try this? In the same directory as b2config.php and blog.header.php put the file b2test.php which contains:
Code:
<?php
require_once (dirname(__FILE__).'/b2config.php');
echo "b2inc is ".$b2inc."<br>";
echo "blogfilename is ".$blogfilename;
?>

Then go to http://wherever-you-are/b2test.php (using your URL) and if everything is OK it should show:
Code:
b2inc is ./b2-include
blogfilename is index.php
Back to top
View user's profile Send private message
stevem



Joined: 15 Mar 2003
Posts: 262

PostPosted: Wed Oct 27, 2004 6:53 pm    Post subject: Reply with quote

mondo wrote:
and by did that, I mean got the base file. it was in the root directory, and I read another post about editing these files via the web browser that messes them up, so I assume that might be it
Ahah! You must always use a text editor. This explains your problem with line 151 in b2config.php and why you are having problems now
Back to top
View user's profile Send private message
mondo



Joined: 26 Oct 2004
Posts: 17

PostPosted: Wed Oct 27, 2004 6:58 pm    Post subject: Reply with quote

yeah, i figured that html thing was the problem

ok, did the test and got

Quote:
b2inc is ./b2-include
blogfilename is index.php
Back to top
View user's profile Send private message
stevem



Joined: 15 Mar 2003
Posts: 262

PostPosted: Wed Oct 27, 2004 7:00 pm    Post subject: Reply with quote

So all should be well now?
Back to top
View user's profile Send private message
mondo



Joined: 26 Oct 2004
Posts: 17

PostPosted: Wed Oct 27, 2004 7:08 pm    Post subject: Reply with quote

no, after getting the latest b2config uploaded (just modifying blog name), I get this:

Quote:
Warning: mysql_connect(): Access denied for user: 'user@localhost' (Using password: YES) in /home/meyerima/.panel/web/b2/b2-include/b2functions.php on line 37
Can't connect to the database server. MySQL said:
Access denied for user: 'user@localhost' (Using password: YES)


it seems like it might be easier to just redo the whole thing, now that i have the base files. Before i do that, though, I would like to save the posts that I have made thus far. Which file are they contained in?
Back to top
View user's profile Send private message
stevem



Joined: 15 Mar 2003
Posts: 262

PostPosted: Wed Oct 27, 2004 7:17 pm    Post subject: Reply with quote

The posts aren't in a file but in a database. I did write a quick backup program to save the posts but it won't work until you have got b2 sorted.

1. Do you have a control panel with phpMyAdmin? That will allow you to export the posts.

But

2. Why not just re-install b2 using the same database? That will keep the posts and show them in your new version. To do that just upload the new files in place but don't run b2install.php. Then you should be able to see everything as before and login with the same name & password.

Let us know how you get on.
Back to top
View user's profile Send private message
mondo



Joined: 26 Oct 2004
Posts: 17

PostPosted: Wed Oct 27, 2004 7:25 pm    Post subject: Reply with quote

grrr

I uploaded all the new b2 files, and I still get the same error:

Quote:
Warning: mysql_connect(): Access denied for user: 'user@localhost' (Using password: YES) in /home/meyerima/.panel/web/b2/b2-include/b2functions.php on line 37
Can't connect to the database server. MySQL said:
Access denied for user: 'user@localhost' (Using password: YES)
Back to top
View user's profile Send private message
stevem



Joined: 15 Mar 2003
Posts: 262

PostPosted: Wed Oct 27, 2004 7:34 pm    Post subject: Reply with quote

Are you absolutely 100% sure you have the lines in b2config.php correct:
Code:
# fill with your database details
$dbname = 'b2';         // the name of the database
$dbhost = 'localhost';      // 99% chances you won't need to change this value
$dbusername = 'user';         // your MySQL username
$dbpassword = 'pass';      // ...and password
Back to top
View user's profile Send private message
mondo



Joined: 26 Oct 2004
Posts: 17

PostPosted: Wed Oct 27, 2004 7:39 pm    Post subject: Reply with quote

tada!

Thanks a ton!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Installation issues All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
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