Announcement

Collapse
No announcement yet.

Posting showing as GUEST

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Steve Machol
    replied
    That means you have not edited the config.php file correctly.

    Leave a comment:


  • PolicyWala
    replied
    Hi, I have logged in as Amin and user id as '1'. But it is not allowing me and giving message,"You are not authorized to execute SQL queries"

    Leave a comment:


  • Steve Machol
    replied
    You can run queries in the SQL tab in phpMyAdmin, or to run queries from the Admin CP:

    Admin CP -> Maintenance -> Execute SQL Query -> Manual Query

    Then enter your query in the Manual Query box and click on 'Continue'.

    To run queries you first need to give yourself permission to run queries in the Admin CP. To do this, edit this section of config.php:

    $config['SpecialUsers']['canrunqueries'] = 'x';

    ...with x being your userid number.

    Note: That query will assign ALL guests post to that user. And after running that you will need to rebuild the thread and forum counters in that order:

    Admin CP -> Maintenance -> Update Counters

    Leave a comment:


  • PolicyWala
    started a topic Posting showing as GUEST

    Posting showing as GUEST

    After import some posting showing as GUEST and posts count as 0
    Now in the forum I have read that u need to run SQL query -

    UPDATE post SET userid='41' WHERE userid=0

    From where we need to run this query. Pls help
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X