2013-06-08, 04:52 AM
Hello!
I've been trying to install mybb on my freehostia webspace for about 3 hours now, but no matter what I do, the mybb webinstaller "crashes" after I click the next button on the 'data insertion' step in the installer.
Chrome (tested IE as well) chuggs for a while, and then just displays a "No data received" error.
I'm trying to install mybb version 1.6 (latest afaik, installer says 1610).
MySQL version is 5.5.16
I have no clue as how to further debug this. I've also tried installing some other forum software, but it fails in a similar way (it seems to connect to the database, but when trying to populate it fails). I'm not sure if it's the same error myBB is getting. MyBB is doing something correctly with the database at least, as I can see it creating several tables in the DB.
Does anyone have an idea of what I can do to diagnose what is going wrong?
Best regards,
/Temaran
After debugging as best I can (I have 0 xp with PHP), I've discovered that it's crashing on line 1707 in index.php in the installer.
The call on this line is:
$theme_id = import_theme_xml($contents, array("templateset" => -2, "version_compat" => 1));
I'm going to try and investigate further, but I welcome any info from ppl who know php / mybb in general -_-
Okay, so I have almost no experience with web programming
but to me it right now seems that the browser must be timing out before the php script completes execution, which is why I'm getting the chrome "No data received" message.
I found this in a loop in the import_theme_xml function:
// PostgreSQL causes apache to stop sending content sometimes and
// causes the page to stop loading during many queries all at one time
Now, I'm not using postgreSQL, but it sure seems like the symptoms I'm having. unfortunately, executing what that comment was pointing at every loop still didnt fix the problem. Maybe it will work if I can make the timeout time of chrome longer or something...
I've been trying to install mybb on my freehostia webspace for about 3 hours now, but no matter what I do, the mybb webinstaller "crashes" after I click the next button on the 'data insertion' step in the installer.
Chrome (tested IE as well) chuggs for a while, and then just displays a "No data received" error.
I'm trying to install mybb version 1.6 (latest afaik, installer says 1610).
MySQL version is 5.5.16
I have no clue as how to further debug this. I've also tried installing some other forum software, but it fails in a similar way (it seems to connect to the database, but when trying to populate it fails). I'm not sure if it's the same error myBB is getting. MyBB is doing something correctly with the database at least, as I can see it creating several tables in the DB.
Does anyone have an idea of what I can do to diagnose what is going wrong?
Best regards,
/Temaran
After debugging as best I can (I have 0 xp with PHP), I've discovered that it's crashing on line 1707 in index.php in the installer.
The call on this line is:
$theme_id = import_theme_xml($contents, array("templateset" => -2, "version_compat" => 1));
I'm going to try and investigate further, but I welcome any info from ppl who know php / mybb in general -_-
Okay, so I have almost no experience with web programming
but to me it right now seems that the browser must be timing out before the php script completes execution, which is why I'm getting the chrome "No data received" message.
I found this in a loop in the import_theme_xml function:
// PostgreSQL causes apache to stop sending content sometimes and
// causes the page to stop loading during many queries all at one time
Now, I'm not using postgreSQL, but it sure seems like the symptoms I'm having. unfortunately, executing what that comment was pointing at every loop still didnt fix the problem. Maybe it will work if I can make the timeout time of chrome longer or something...