Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
'Install Vanilla' page pops up unexpectedly. Borked config file & database.
abrown
New
User sent me this message:
"I am having some trouble with the discussion board. Instead of the
regular login screen, there is a screen that is titled "Vanilla Version 2
Installer", which is asking for database and admin information. I'm not
sure if it is just my computer, so I thought I should let you know!"
Why would a successfully installed set-up suddenly revert to the install page with no intervention on my part.
edit: It seems as if my config file has been hacked/corrupted and it is using config-default. How could this happen?
edit: Using 2.0.17.8
"I am having some trouble with the discussion board. Instead of the
regular login screen, there is a screen that is titled "Vanilla Version 2
Installer", which is asking for database and admin information. I'm not
sure if it is just my computer, so I thought I should let you know!"
Why would a successfully installed set-up suddenly revert to the install page with no intervention on my part.
edit: It seems as if my config file has been hacked/corrupted and it is using config-default. How could this happen?
edit: Using 2.0.17.8
Tagged:
1
Comments
They are a few discussions about this here, do a search to find out.
Posting a new discussion works. However, the "Version 2 Installer" pops up when trying to Comment, Close, Reopen, Unannounce, etc. on a topic. Would greatly appreciate any help on this.
225:
226: if (!is_object($PDOStatement)) {
227: trigger_error(ErrorMessage('PDO Statement failed to prepare', $this->ClassName, 'Query', $this->GetPDOErrorMessage($this->Connection()->errorInfo())), E_USER_ERROR);
228: } else if ($PDOStatement->execute($InputParameters) === FALSE) {
229: trigger_error(ErrorMessage($this->GetPDOErrorMessage($PDOStatement->errorInfo()), $this->ClassName, 'Query', $Sql), E_USER_ERROR);
230: }
231: } else {
232: $PDOStatement = $this->Connection()->query($Sql);
233: }
There was an error rendering this rich post.
Line 229 says that an input parameter is missing from the PDO Statement, the query that's sent to the database.
You need to find out what is the contents of the $Sql variable.
Let's put it this way. You pasted these lines of code. I will assume they come from the error page.
There is way more information on that error page, including the SQL statement.
There was an error rendering this rich post.
Posting a New Discussion--however--works as expected. I am not receiving any errors when trying to post a comment. The problem is that the Installer window appears when trying to comment on a thread (as if there is no config file present when in reality it's still there)...
That's the way it should be, I think.