Current time: 05-24-2012, 10:54 AM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Blank page with MyBB installation and MySQL4
09-15-2008, 03:13 PM (This post was last modified: 09-18-2008 01:16 PM by Ryan Gordon.)
Post: #1
[F] Blank page with MyBB installation and MySQL4
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:
Code:
if($this_link && $this->get_version() < 4.1)
by this one:
Code:
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.
Visit this user's website Find all posts by this user
09-15-2008, 04:48 PM
Post: #2
RE: Blank page with MySQL4 installation
Sorry, is this when installing MyBB or MySQL??

Download My Plugins
My Personal Site - Twitter
[Image: eX4bjF]
Visit this user's website Find all posts by this user
09-15-2008, 05:04 PM
Post: #3
RE: Blank page with MyBB installation and MySQL4
I updated the thread title.

It's a problem when you install MyBB 1.4 with MySQL4
Visit this user's website Find all posts by this user
09-15-2008, 05:14 PM (This post was last modified: 09-15-2008 05:17 PM by MattRogowski.)
Post: #4
RE: Blank page with MyBB installation and MySQL4
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.

Download My Plugins
My Personal Site - Twitter
[Image: eX4bjF]
Visit this user's website Find all posts by this user
09-16-2008, 08:46 AM
Post: #5
RE: Blank page with MyBB installation and MySQL4
MyBB requirements says MySQL 4.0 or above.

See wiki page
Visit this user's website Find all posts by this user
09-16-2008, 09:20 AM
Post: #6
RE: Blank page with MyBB installation and MySQL4
Yeah I updated my post yesterday.....

Try reuploading all the install files.

Download My Plugins
My Personal Site - Twitter
[Image: eX4bjF]
Visit this user's website Find all posts by this user
09-16-2008, 06:33 PM
Post: #7
RE: Blank page with MyBB installation and MySQL4
This is a typo.

Replace
PHP Code:
$this_link 

With
PHP Code:
$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.
Find all posts by this user
09-18-2008, 09:34 AM
Post: #8
RE: [F] [F] Blank page with MyBB installation and MySQL4
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)
Visit this user's website Find all posts by this user
09-18-2008, 01:17 PM
Post: #9
RE: [F] Blank page with MyBB installation and MySQL4
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
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication