Skip to:
Content
Pages
Categories
Search
Top
Bottom

Uh – oh…I made a mistake and cant fix it

  • 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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • @nightgunner5

    Member

    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

    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):

  • 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

  • any suggestions on what next?..

    Thank You!

@johnconners

Participant

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

THAT DID IT!!

Thank you for your help sir!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar