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.
Mobile Works Fine, But Nowhere Else?
sasquatchgeoff
New
Vanilla 2.1.6
Centos running Apache on a VPS
Moved my entire Vanilla folder to brand new php-mySQL php5.5 enabled with virtual host listening on port 80. My android mobile phone safari and chrome browsers load what appears to be my vanilla forum completely intact, in both full-site and mobile iterations, in spite of my android tablet and pretty much any other PC in the land getting the bonk message which translates to a 500 internal server error.
I would attempt to reinstall, but when moving a fresh set of folders/files to the server I can't even get to the install page.
I'm stumped.
Geoff
0
Comments
Oh and I deleted the cache .ini's a bazillion times, and flush my browser caches like a plumber.
post your .htaccess file. and state what folder your vanilla forum resides in.
also test with the default bittersweet theme.
you could also try deleting the php files in cache/Smarty/compile
your description although detailed is like a tongue twister so ...
then restate in more clear terms
what works correctly
_______________________-
what gives you a 500 error
____________________________-
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
you might also post your config.php (but remove any email passwords and keys and other sensitive info).
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
.htaccess
config.php:
I am able to access the forum with both safari and chrome on my android smartphone - with full functionality.
Thanks for any help,
Geoff
and state what folder your vanilla forum resides in.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
/vanilla
read this....
http://vanillaforums.org/discussion/comment/220157/#Comment_220157
then explain what your problem in simple terms
also was the an upgrade from 2.0.18.x
or a totally new install.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I see now I did not un-comment RewriteBase. I corrected that but still have the same issue.
My problem, aside from being one of those artistic engineer student-types that likes to get my chops busted in forums from time to time, is this:
When I inspect the element in chrome here is the error message:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
When looking at my server error log, there are errors that have nothing to do with vanilla. I can access all other functionality on the website just fine.
Again, thanks in advance for any help.
Geoff
also was this an upgrade from 2.0.18.x
or a totally new install.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
totally new install. I copied the files over to the new server. When I tried to reinstall, I could not get access to the index.php to run it.
I wonder if you are missing any files when you installed.
I would recopy all the source files over and verify the .htaccess is correct after you re-copy.
just for grins change this line in your config temporarily.
it is purely a test to get more info.
$Configuration['Garden']['Theme'] = 'mobile';
and report back if you get an error.
otherwise if you get nowhere
if you don't care about the user data.
good luck
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I am in the process of deleting the entire vanilla directory on the server. Before, I just wrote over the old files. I have a hosted database that I think will remain intact, thankfully. Will update progress soon.
Thanks
Geoff
the absence or presence of the config.php in the conf folder tells vanilla respectively to start on the installation screen or to assume things are installed.
i.e. config.php doesn't exist. you will go to installation screen
existence of config.php that is built properlly - you go to the forum as usual.
a few people have had issues where they thought they copied all the source files, but because of timeouts etc they missed a few files.
also check if mod_rewrite exists exists or is loaded in your php modules.
you can check with php_info
500 errors could be a result of commands that are in .htaccess that aren't allowed or something you may need to change in php.ini, etc. etc, etc. etc.
but the problem could be just that you don't have all the vanilla files you need.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Now it doesn't like my database host.
SQLSTATE[HY000] [2005] Unknown MySQL server host
It was fine with the host before. I even created a new database to see if that was the issue.
Apache/2.2.22
Database client version: libmysql - mysqlnd 5.0.10
what is the value in your config.php for host.
verify it is what you think it should be.
$Configuration['Database']['Host'] = 'localhost';
then you could also verify the username and password via phpmyadmin
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
localhost is the default. I populated that field with my db host url (with the hosting service) I am thinking because of the hosted db firewall, it is refusing the connection from my VPS because the VPS is with a different hosting company.
Are you saying that I should just create my own mySQL and have it reside in the root of my VPS?
my original site was hosted by the same company that hosts the database server. Then I moved everything to the VPS.
I am dispensing with the remote db host and installing mySQL on the localhost. will update progress directly.
I'm live. I was able to export the hosted database to a .sql file and then import it to my pre-configured localhost mySQL server on my VPS. Should have done this a long time ago. This particular forum will experience at most micro-traffic, so I am not worried about resource consumption.
I think the problem all along was permissions into the hosted database server from my VPS (different hosting service). Vanilla wasn't getting access from its new location. Thanks a ton for your help!
Geoff