bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Uh - oh...I made a mistake and cant fix it

(5 posts)
  • Started 3 months ago by cameni
  • Latest reply from cameni
  • This topic is resolved
  1. Anonymous
    Unregistered

    Hello Everyone,

    I changed the address (in settings) of the address to my forum and now everything is jacked up.

    it should be http://www.portcityunderground.com/bbpress/

    but I removed the /bbpress/ to see if I could get the header to point back to my original page instead of the forum frontpage....which didnt work.

    Now I cant get to the general settings of bbpress to correct the address. Which php file in my bbpress folder on my server stores that info?..or where can I go to correct it?

    Also, whats the best way to make my header go to the home page of my site, not the homepage of the forum? I searched and all I saw were the "super header" option and the added link in the forum header phot0...neither of which will work for me. I have 2 different pictures for the headers so super header is out and I phinagled with the other option and it either was hidden or didnt look right.

    Thanks for any help in advance.

    Posted 3 months ago #
  2. Go into your database, do the following query:

    UPDATE (your $bb_table_prefix found in the config file goes here)topicmeta SET meta_value='http://www.portcityunderground.com/bbpress/' WHERE meta_key='uri' LIMIT 1

    Posted 3 months ago #
  3. Anonymous
    Unregistered

    Ok, Thanks.

    Heres what I have in the bb-config.php:

    $bb_table_prefix = 'bb_';

    So heres what I put:

    UPDATE (bb_)
    topicmeta SET
    meta_value='http://www.portcityunderground.com/bbpress/' WHERE
    meta_key='uri' LIMIT 1

    Heres its response (I really didnt know if I need to leave the parenthesis etc in it...I have never queried a database before):

  4. SQL query:
    UPDATE (
    bb_
    )topicmeta SET meta_value = 'http://www.portcityunderground.com/bbpress/' WHERE meta_key = 'uri' LIMIT 1

    MySQL said:

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'topicmeta SET
    meta_value='http://www.portcityunderground.com/bbpress/' WHERE
    m' at line 2

  5. any suggestions on what next?..

    Thank You!

Posted 3 months ago #
  • JohnConners
    Member

    Remove the brackets - this is what you want to execute:

    UPDATE bb_topicmeta SET
    meta_value='http://www.portcityunderground.com/bbpress/'
    WHERE meta_key='uri' LIMIT 1
    Posted 3 months ago #
  • Anonymous
    Unregistered

    THAT DID IT!!

    Thank you for your help sir!

    Posted 3 months ago #

  • RSS feed for this topic

    Reply

    You must log in to post.

    Code is Poetry.