MyBB Community Forums
[F] Blank page with MyBB installation and MySQL4 - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: Archived Bug Reports (https://community.mybb.com/forum-74.html)
+------ Forum: MyBB 1.4.2 (https://community.mybb.com/forum-100.html)
+------ Thread: [F] Blank page with MyBB installation and MySQL4 (/thread-37723.html)



[F] Blank page with MyBB installation and MySQL4 - laurent.duretz - 2008-09-15

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.


RE: Blank page with MySQL4 installation - Matt - 2008-09-15

Sorry, is this when installing MyBB or MySQL??


RE: Blank page with MyBB installation and MySQL4 - laurent.duretz - 2008-09-15

I updated the thread title.

It's a problem when you install MyBB 1.4 with MySQL4


RE: Blank page with MyBB installation and MySQL4 - Matt - 2008-09-15

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.


RE: Blank page with MyBB installation and MySQL4 - laurent.duretz - 2008-09-16

MyBB requirements says MySQL 4.0 or above.

See wiki page


RE: Blank page with MyBB installation and MySQL4 - Matt - 2008-09-16

Yeah I updated my post yesterday.....

Try reuploading all the install files.


RE: Blank page with MyBB installation and MySQL4 - laie_techie - 2008-09-16

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.


RE: [F] [F] Blank page with MyBB installation and MySQL4 - laurent.duretz - 2008-09-18

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)


RE: [F] Blank page with MyBB installation and MySQL4 - Ryan Gordon - 2008-09-18

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