+ Reply to Thread
Results 1 to 4 of 4

Thread: SQL ERROR [ mysql4 ]

  1. #1
    marksalehouse is offline Member
    Join Date
    Jul 2007
    Posts
    91
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default SQL ERROR [ mysql4 ]

    SQL ERROR [ mysql4 ]

    Field 'topic_last_post_subject' doesn't have a default value [1364]

    SQL

    INSERT INTO phpbb_topics (topic_poster, topic_time, topic_last_view_time, forum_id, icon_id, topic_approved, topic_title, topic_first_poster_name, topic_first_poster_colour, topic_type, topic_time_limit, topic_attachment) VALUES (53, 1249299473, 1249299473, 23, 0, 1, 'PETER AND HIS MUM', 'ecdysis', '00AA00', 0, 0, 0)

    BACKTRACE

    FILE: includes/db/mysql.php
    LINE: 174
    CALL: dbal->sql_error()

    FILE: includes/functions_posting.php
    LINE: 1897
    CALL: dbal_mysql->sql_query()

    FILE: posting.php
    LINE: 1023
    CALL: submit_post()
    this error happened today completely out of the blue!

    I did the SQL query from here - http://area51.phpbb.com/phpBB/viewto...p?f=71&t=30668

    ALTER TABLE `phpbb_topics` ALTER `topic_last_post_subject` SET DEFAULT '';
    Worked fine:

    Your SQL query has been executed successfully (Query took 0.0039 sec)
    M

  2. #2
    Anna M.'s Avatar
    Anna M. is offline WeeHBie
    Join Date
    Dec 2008
    Posts
    453
    WHB Points this Month
    0.00
    WHB Points
    50.00
    Thanks
    2
    Thanked 6 Times in 3 Posts

    Default

    please submit a ticket to the tech dept at https://whbsupport.com
    and our tech team will gladly assist you
    your main domain or cpanel username and the name of the server you are located on as well as the database name and full step be step instructions of what you did will be very helpful
    CS Team
    WebHostingBuzz.com

    Get the latest news and promotions by following us on Twitter and Facebook

  3. #3
    marksalehouse is offline Member
    Join Date
    Jul 2007
    Posts
    91
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    No No!

    This problem is solved easily as shown above. It is just as a help to others.

    Thank you anyway, I will always be in touch - YOU GUYS ROCK!

    M

  4. #4
    carlobee is offline Member
    Join Date
    Jul 2009
    Posts
    41
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by marksalehouse View Post
    No No!

    This problem is solved easily as shown above. It is just as a help to others.

    Thank you anyway, I will always be in touch - YOU GUYS ROCK!

    M
    Thank you for being that thoughtful to others! this is what makes this forum worth it.


+ Reply to Thread

Posting Permissions

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