Results 1 to 4 of 4

config.php in a different place

This is a discussion on config.php in a different place within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Hello, First I'm sorry if this was asked before but I didn't find this question. I've installed vBSEO and it ...

  1. #1
    Junior Member
    Real Name
    Aban
    Join Date
    Aug 2007
    Posts
    2
    Liked
    0 times

    config.php in a different place

    Hello,

    First I'm sorry if this was asked before but I didn't find this question.

    I've installed vBSEO and it is working great. Then I installed vBSEO Sitemap generator but it is not generating a sitemap. After some troubleshooting I think that my problem is that the script can't reach the database:
    Database error
    The **** database has encountered a problem.
    Please try the following:
    .... etc
    It is because I've moved the config.php file to another place. What should I do to point Sitemap generator to the location of the new config.php? I was able to edit this in vBSEO by editing config.xml But here in Sitemap generator I tried to edit this line in index.php
    PHP Code:
    line 47:     include getcwd().'/includes/configblabla.'.VBSEO_PHP_EXT
    But it did not work!

    Thanks in advanced

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Hello Aban ,

    You can directly define custom config.php file within vBSEO Control Panel. You don't need to edit config.xml file at all.

    Sitemap generator don't need a special config.php file definement. It will use the defined config.php file within vBulletin.

    Please try supplying the exact database error you are receiving.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Junior Member
    Real Name
    Aban
    Join Date
    Aug 2007
    Posts
    2
    Liked
    0 times
    Thank you for your replay,

    the config file is not for Sitemap generator, it is the original vBulletin config.php file.
    For security reasons I've changed the path of the original config.php file. So I need to tell Sitemap Generator to use the real file!

    I don't know the exact error of the database, this is a screenshot. but it seems that simply it is just a matter of connection problem because of fake settings in a fake config.php file.
    sitemap.png

  4. #4
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Please view page source and copy us the details of database error.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

Similar Threads

  1. all over the place in google
    By welshstew in forum Link Building
    Replies: 5
    Last Post: 09-24-2010, 10:48 PM
  2. Is it in the right place? Rules
    By dhddl in forum URL Rewrite Settings
    Replies: 6
    Last Post: 03-02-2010, 08:36 PM
  3. Am I....in the right place?
    By Carlos SEO in forum Off-Topic & Chit Chat
    Replies: 1
    Last Post: 12-19-2009, 06:31 AM
  4. Which ad format and where to place ads?
    By Arkidas in forum Ad Networks
    Replies: 1
    Last Post: 03-02-2008, 01:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •