IMPORTANT DISCLAIMER - PLEASE READ
You are currently in an unofficial IPB help forum where members assist other members with Invision Power Board. While you may receive help with your Invision Power Board questions in this forum it is important to note the following:
![]() ![]() |
|
ipb 1.3 on mysql 5.x
|
Dec 6 2005, 04:26 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Members Posts: 193 Joined: 28-January 05 Member No.: 142,544 IPB Version: 1.3.x |
I did some edits to my ipb 1.3 to get it to work with mysql 5.x. I don't know if this are all required changes, but I'm still looking for them
Open sources/boards.php Find: CODE $DB->query("SELECT f.*, c.id as cat_id, c.position as cat_position, c.state as cat_state, c.name as cat_name, c.description as cat_desc, c.image, c.url, m.member_name as mod_name, m.member_id as mod_id, m.is_group, m.group_id, m.group_name, m.mid FROM ibf_forums f, ibf_categories c LEFT JOIN ibf_moderators m ON (f.id=m.forum_id) WHERE c.id=f.category ORDER BY c.position, f.position"); Replace with: CODE $DB->query("SELECT f.*, c.id as cat_id, c.position as cat_position, c.state as cat_state, c.name as cat_name, c.description as cat_desc, c.image, c.url, m.member_name as mod_name, m.member_id as mod_id, m.is_group, m.group_id, m.group_name, m.mid FROM (ibf_forums f, ibf_categories c) LEFT JOIN ibf_moderators m ON (f.id=m.forum_id) WHERE c.id=f.category ORDER BY c.position, f.position"); Save & upload sources/boards.php Open sources/dynamiclite/csite.php Find: CODE $DB->query("SELECT t.tid, t.title, t.state, t.last_vote, p.* $sql FROM ibf_topics t, ibf_polls p $extra WHERE t.tid=$tid AND p.tid=t.tid"); Replace with: CODE $DB->query("SELECT t.tid, t.title, t.state, t.last_vote, p.* $sql FROM (ibf_topics t, ibf_polls p) $extra WHERE t.tid=$tid AND p.tid=t.tid"); Save & upload sources/dynamiclite/csite.php |
|
|
|
Jun 15 2006, 09:18 AM
Post
#2
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 8-November 04 Member No.: 132,014 IPB Version: 1.3.x |
There's another huge trouble. On MySQL 5 it's impossible to send long messages. Here is the trouble:
SQL mySQL query error: INSERT INTO ibf_posts (author_id,use_sig,use_emo,ip_address,post_date,icon_id,post,author_name,forum_id,topic_id,queued,attach_id,attach_hits,attach_type,c_music,c_mood,attach_file) VALUES ('1','1','1','**MY IP**','1150384497','',' HERE IS THE MESSAGE. HERE IS THE MESSAGE. HERE IS THE MESSAGE. HERE IS THE MESSAGE. HERE IS THE MESSAGE. HERE IS THE MESSAGE. HERE IS THE MESSAGE. HERE IS THE MESSAGE. HERE IS THE MESSAGE. HERE IS THE MESSAGE. HERE IS THE MESSAGE. HERE IS THE MESSAGE. HERE IS THE MESSAGE. HERE IS THE MESSAGE. HERE IS THE MESSAGE. ','Asmodey','18','1483','0','','','','','','') mySQL error: Duplicate entry ' ' for key 5 mySQL error code: Date: Thursday 15th 2006f June 2006 07:14:57 PM HOW TO REPAIR THIS? This post has been edited by Asm0dey: Jun 15 2006, 09:19 AM |
|
|
|
Jun 22 2006, 07:16 AM
Post
#3
|
|
|
Member ![]() ![]() Group: Members Posts: 193 Joined: 28-January 05 Member No.: 142,544 IPB Version: 1.3.x |
that has nothing to do with mysql 5.. probably because of a mod you installed
|
|
|
|
Feb 2 2007, 03:43 AM
Post
#4
|
|
|
Newbie ![]() Group: Members Posts: 4 Joined: 30-June 05 Member No.: 164,870 IPB Version: Not Applicable |
thx, works fine!
|
|
|
|
Feb 15 2007, 07:13 AM
Post
#5
|
|
|
Newbie ![]() Group: Members Posts: 25 Joined: 29-August 05 Member No.: 172,971 IPB Version: 2.0.x |
I'll check if this is the problem that I've been having, for example I can't see the user's profile or the Control Panel.
I'll try this then I'll let you guys know. |
|
|
|
Aug 16 2008, 03:45 AM
Post
#6
|
|
|
Newbie ![]() Group: Members Posts: 14 Joined: 11-April 08 Member No.: 326,387 IPB Version: 1.3.x |
Thank you so much it worked mad props mate. thanks. to you and Pit
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 2nd September 2010 - 09:09 AM |
|
Search Engine Keywords
|