Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Blank page with MyBB installation and MySQL4
#1
Hi all,

I've a blank page during installation when trying to connect the MySql v4.0.?? database.

I'v read the previous threads about this problem, updated my files to see the error 1193 on "SET NAMES 'utf-8'" request.

I take a look in the code and see at line 1141 of inc/db_mysql.php the variable $this_link, never used by other php scripts and never initialized.

In method fetch_db_charsets(), I replace the following code:
if($this_link && $this->get_version() < 4.1)
by this one:
if($this->get_version() < 4.1)

Excepted a small warning during the first MySql connection, this update allows to run the complete installation with MySQL 4.0.

Note: This variable is used for MySqli installation.
#2
Sorry, is this when installing MyBB or MySQL??
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#3
I updated the thread title.

It's a problem when you install MyBB 1.4 with MySQL4
#4
I 'think' MyBB needs MySQL v5. But this could be something I've made up Toungue
I'll try and find out... *searches*
Nevermind, you can use v4... if you PM me your FTP details and link to your forum, I'll try and see what's what.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#5
MyBB requirements says MySQL 4.0 or above.

See wiki page
#6
Yeah I updated my post yesterday.....

Try reuploading all the install files.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#7
This is a typo.

Replace
$this_link

With
$this->link

Line 1141 is inside the function fetch_db_charsets, and $this_link is not defined. However, a search of the class indicates there is a link attribute accessible as $this->link.
#8
Replace $this_link with $this->link does not work anymore.

I do the test with MyBB 1.4.2 on MySql 4.0.24 (oxyd.fr webhoster)
#9
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group


Forum Jump:


Users browsing this thread: 1 Guest(s)