Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Installer fails in step 2
The first parts of my installation went fine. I CHmodded everything, I set up the database username/password.
When I clicked the link to go on, though, it tried to open the new .php page as a download, not as a web page. Any reason why that would happen? I'm using Firefox running in Ubuntu.
0
This discussion has been closed.
Comments
The download prompt--what do you see if you save the file locally and open it? You might just be able to continue installing from that.
I just so happen to have a basic install setup, and its settings.php contains this:
<?php // Application Settings $Configuration['SETUP_TEST'] = '1'; $Configuration['APPLICATION_PATH'] = '/homepages/17/d87887808/htdocs/forum/'; $Configuration['DATABASE_PATH'] = '/homepages/17/d87887808/htdocs/forum/conf/database.php'; $Configuration['LIBRARY_PATH'] = '/homepages/17/d87887808/htdocs/forum/library/'; $Configuration['EXTENSIONS_PATH'] = '/homepages/17/d87887808/htdocs/forum/extensions/'; $Configuration['LANGUAGES_PATH'] = '/homepages/17/d87887808/htdocs/forum/languages/'; $Configuration['THEME_PATH'] = '/homepages/17/d87887808/htdocs/forum/themes/vanilla/'; $Configuration['DEFAULT_STYLE'] = '/forum/themes/vanilla/styles/default/'; $Configuration['WEB_ROOT'] = '/forum/'; $Configuration['BASE_URL'] = 'http://wallphone.com/forum/'; $Configuration['FORWARD_VALIDATED_USER_URL'] = 'http://wallphone.com/forum/'; $Configuration['SUPPORT_EMAIL'] = 'forums@wallphone.com'; $Configuration['SUPPORT_NAME'] = 'David'; $Configuration['APPLICATION_TITLE'] = 'Forums'; $Configuration['COOKIE_DOMAIN'] = '.wallphone.com'; $Configuration['COOKIE_PATH'] = '/forum/'; $Configuration['BANNER_TITLE'] = 'Writing on the Wall'; $Configuration['SETUP_COMPLETE'] = '1'; ?>
And database.php contains this (username and password modified, of course):
<?php // Database Configuration Settings $Configuration['DATABASE_HOST'] = 'dbVanilla.dbhost.net'; $Configuration['DATABASE_NAME'] = 'dbVanilla'; $Configuration['DATABASE_USER'] = 'dbUser'; $Configuration['DATABASE_PASSWORD'] = 'dbPass'; ?>
One way you could find this information is to create a phpinfo.php file containing the one line <?php phpinfo(); ?> and load it in the browser. That will give a bunch of information about your server and configuration, look for the item labled DOCUMENT_ROOT.
Here's my settings.php page. Does it look okay? If it does, the problem is with the database, which makes it easier to tweak.
<?php // Application Settings $Configuration['SETUP_TEST'] = '1'; $Configuration['APPLICATION_PATH'] = '/home/oadmin/public_html/impermanence/'; $Configuration['DATABASE_PATH'] = '/home/oadmin/public_html/impermanence/conf/database.php'; $Configuration['LIBRARY_PATH'] = '/home/oadmin/public_html/impermanence/library/'; $Configuration['EXTENSIONS_PATH'] = '/home/oadmin/public_html/impermanence/extensions/'; $Configuration['LANGUAGES_PATH'] = '/home/oadmin/public_html/impermanence/languages/'; $Configuration['THEME_PATH'] = '/home/oadmin/public_html/impermanence/themes/vanilla/'; $Configuration['DEFAULT_STYLE'] = '/impermanence/themes/vanilla/styles/default/'; $Configuration['WEB_ROOT'] = '/impermanence/'; $Configuration['BASE_URL'] = 'http://omegaseye.com/impermanence/'; $Configuration['FORWARD_VALIDATED_USER_URL'] = 'http://omegaseye.com/impermanence/'; $Configuration['SUPPORT_EMAIL'] = 'ronoxq@omegaseye.com'; $Configuration['SUPPORT_NAME'] = 'Rory'; $Configuration['APPLICATION_TITLE'] = 'OEImpermanence'; $Configuration['COOKIE_DOMAIN'] = '.omegaseye.com'; $Configuration['COOKIE_PATH'] = '/impermanence/'; $Configuration['BANNER_TITLE'] = 'OEImpermanence'; $Configuration['SETUP_COMPLETE'] = '1'; ?>
Now for the timeout problem... my guess is that the server is trying to connect to your database and something is wrong there, so it just stalls, but before it can tell us what is wrong, the browser times out, displaying nothing.
After double-checking your database settings, the only way to find out what is happening would be to either set the server's timeout earlier than the browsers (or vice-versa), or see if there is an Apache error log somewhere with your host.
Since you were able to run the SQL, my guess is a bad setting in the database.php file.
One idea is to edit appg/
settingsinit_vanilla.php and comment out the ob_start() command, that way output should ::crosses fingers:: get sent right to the browser instead of being buffered until the page is done rendering. Then if a particular query or process is causing the server to hang we might be able to see where it could be from.Of course, this could be a symptom of the same probelm that prevented the installer page to load--maybe install the Live HTTP headers firefox plugin and see what is different in the headers between step 1 and step 2 of the installer.
EDIT: Noticed that there is another ob_start() in appg/init-vanilla.php, this would be the one to comment out, since buffers are discarded with ob_end_clean before they reach this point and start buffering over.
I did look at the HTTP headers between the working pages and others, and they weren't helpful--just basically says "found your file..." then timeout.
I'm not really sure what to do at this point... wish someone else could chime in on this issue. ::hint, hint::
I suppose you could try some basic database connections and queries in a basic extension... Although the query doesn't get much simpler than the one that times out at /ajax/getuser.php?Search=a
How well do you know PHP?