phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Problem with DB Install

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » GYM Sitemaps
::  
Author Message
upnorth



Joined: 16 Dec 2007
Posts: 6

Problem with DB InstallPosted: Sun Dec 16, 2007 5:08 am    Post subject: Problem with DB Install

My first question is simple...

Should I upload db_install.php to the root (where sitemap.php is located), or to /contrib/db_install.php?

When I try to run the db_install from the root I'm getting a white screen with a hacking attempt message.

When I try to run it from the /contrib/ path I get:

Quote:
Warning: include(./../../common.php) [function.include]: failed to open stream: No such file or directory in /usr/www/users/***/contrib/db_install.php on line 24

Warning: include() [function.include]: Failed opening './../../common.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/www/users/***/contrib/db_install.php on line 24

Fatal error: Call to a member function init() on a non-object in /usr/www/users/***/contrib/db_install.php on line 31


I'm using phpbb 2.0.22 - is there just a SQL file I could use in phpmyadmin or is the problem beyond just the install?

Thanks
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3128

Problem with DB InstallPosted: Sun Dec 16, 2007 10:41 am    Post subject: Re: Problem with DB Install

Should be ran from the phpBB directory (where it is installed).

And you must be logged as admin to do so, maybe that's just it.

_________________
Back to top
upnorth



Joined: 16 Dec 2007
Posts: 6

Problem with DB InstallPosted: Sun Dec 16, 2007 5:29 pm    Post subject: Re: Problem with DB Install

My admin session timed out....didn't even notice. Embarassed

Thanks, I'll see how it goes.
Back to top
upnorth



Joined: 16 Dec 2007
Posts: 6

Problem with DB InstallPosted: Sun Dec 16, 2007 7:00 pm    Post subject: Re: Problem with DB Install

Small Q...

I had some errors a I think I cleaned it all up.

Only thing is it's showing in the XML file:

http://mysite.com/...

Instead of:

http://www.mysite.com/...

I have a redirect already in .htaccess for "non www's", but I thought I should have the right path in the XML.

Thanks!
Back to top
upnorth



Joined: 16 Dec 2007
Posts: 6

Problem with DB InstallPosted: Sun Dec 16, 2007 7:32 pm    Post subject: Re: Problem with DB Install

I checked the Google status and it has errors because of this.

"Paths don't match" is the Error.
Back to top
upnorth



Joined: 16 Dec 2007
Posts: 6

Problem with DB InstallPosted: Sun Dec 16, 2007 8:03 pm    Post subject: Re: Problem with DB Install

Fixed it.

Changed:

$paths['root_url'] = 'http://'

To:

$paths['root_url'] = 'http://www.'

Thanks
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3128

Problem with DB InstallPosted: Mon Dec 17, 2007 6:09 pm    Post subject: Re: Problem with DB Install

Well, this just comes from your phpBB config, you'd rather add the www prefix from there, otherwise occasion will be many where phpBB will not use it.

_________________
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » GYM Sitemaps
Page 1 of 1

Navigation Similar Topics

Jump to: