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.
Facebook/Twitter/Google Sign-in all end up in blank page -I have tried to fix this for several hours
vorapoap
New
Please help.. Trying to figure out what is wrong, I have put all debug codes everywhere in the core class
e.g. Gdn_Factory Gdn_Smarty Gdn_Autoloader ..etc..
All cache folders name and permission are correct
(/cache /cache/Smarty/compile /cache/Smarty/cache)
Everything else is working ok except this bit
The authentication popup always ends up in blank page in the URL like this one
My assumption is there is something wrong with AutoLoader when it tries to load Smarty?
I am new to VanillaForums.. and have spent so many hours on this. Somebody please shed some light for me.
Tagged:
0
Comments
Anyone?
lol at your second post 1 minute after you start the thread, 12 hrs later
Sorry cannot help, have you set correct permissions. Checked file paths are totally correct, set up return paths etc
There was an error rendering this rich post.
@vorapoap Sorry for not getting back , Not sure what you did there, but the correct way for those folders to be is this:
forum/cache/Smarty/compile
Try fixing that and see if it helps. Erase the contents of the compile and cache folder . Smarty has nothing to do with your single sign on problem, don't think it does any way. Don't hack the core if you don't know what you are doing . Start with hacking the config.php file and post what is on there less the private info. It could shed some light on your problem since that is where all the settings live.
You need to tell us the version you are using there are a few out there, each has it's own issues.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
The "#=" at the end looks suspicious. Is it a hashtag with an = missing a value afterwards or part of the code.
Not even quite sure what you are doing or where the link came from, or if you are using a plugin, which one? which version of vanilla?
did it ever work?
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
They are the version coming along with the Vanilla on download page.
Facebook gets to this URL after a page asking for what you want to be known
Twitter , after clicking on authorize button
Google also...
Forum structure is correct, permission is now 777 (I didn't see any files written to .../compile and .../cache
You can test it at lososms.com (not an English website)
Last thing I suspect is .. It stops when calling ->Render on an empty Gdn_Smarty object (var_export)
If I put parameter false to the second parameter of class_exists (To prevent autoloader) (I put condition for Smarty class only) It will stop with error on calling get function on non object
Sorry, I am driving at this moment.
It is 2.0.18.4
OK I don't know this is normal or not
Above in class.controller.php var_export output " Gdn_Smarty::__set_state(array( '_Smarty' => NULL, )) "
Here is my conf.php
Continue...
are there any plugins you havent got enabled lol .... fmd
There was an error rendering this rich post.
< had to reply again.
DISABLE all plugins, re enable them ONE at a time. Clear CACHE delete .ini files in cache folder. TEST
Work thru it until it breaks.
There was an error rendering this rich post.
@422 Ok.. I removed everything except "Facebook" and try.. same result
Hmm I tried to download the latest version from GItHub and cleanly installed it on blank db.
I could get to a dashboard with broken theme.. but the main site is a complete blank page.
So I guess I am stuck with 2.0.18.4 ...Anything to do with my environment?
Lighttpd 1.5 --> the rewrite rule and Lighttpd settings are
The rewrite rule shouldn't be a problem since, turning it off got to above error (first post)
PHP-FPM (FastCGI) v.5.2.10
I needed timthumb mod security whitelisted on my server account for Google+ to work. Until then all I got was the blank screen. But Facebook/Twitter always worked right out of the gate. I've got this forum on a smaller shared account for now and a support ticket asking for them to whitelist it did the trick.
Sometimes the latest version has not been backported to vanilla 2.0.18.4 - just something to be aware of.
you might also include the versions of the facebook plugins you have tried, or go backwards in version number of facebook plugin, or install the original plugin if if comes with the vanilla 2.0.18.4 source. I think now you might have introduced alot of things that might complicate it (if you did any modifications to the core, etc.).
Perhaps someone can mention a facebook plugin version that does work with v 2.0.18.4.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Here are the module I have on Lighttpd.. I don't think any things here behave as mod_sec in Apache.
"mod_rewrite",
"mod_redirect",
"mod_alias",
"mod_access",
"mod_status",
"mod_evasive",
"mod_cgi",
"mod_proxy_core",
"mod_proxy_backend_fastcgi",
"mod_proxy_backend_http",
"mod_accesslog" )
OK Now I have restored all the original code from .ZIP file. So basically, I have only standard thing with Facebook plugin enabled.. and still blank page..
I hope someone should be able to point me to where I can debug this ... This Controller thing shouldn't be difficult to debug. In Drupal, if a problem like this exists, I can figure out by displaying all the calling function on screen.. and where the script stops it points to a troublesome function. I suspect that I can get the similar information by putting echo in somewhere.. Maybe I will spend some more time on this Autoloader function.. ( I never use this in my development experience ) I feel like thing should be loaded only when we order it to.. I learn that Vanilla do pretty much magic on scanning file and etc... but it should be very nice if I can manually control this.
try logging to file with variables.
$Configuration['Garden']['Errors']['LogEnabled'] = TRUE;
$Configuration['Garden']['Errors']['LogFile'] = 'log/logging.txt';
http://vanillaforums.org/discussion/comment/155625/#Comment_155625
also you could try the logger plugin.
I would debug in the plugin itself personally to see if the problem lies there rather than the core.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Here are what I got from logging to File....
It is not the facebook plugin that cause a blank page
Please see the pictures.
The first picture is the report from debug_backtrace.
The crash happens after returning from Base_ConnectData_Handler in Facebook plugin to the level of class.entrycontroller.php
The second picture shows the exact location of where the crashes happen. It is at the bottom of
function Connect in class.entrycontroller.php .. It is something inside ->Render... that causing this.
Here is the Log Message returning from the line before $this->Render()...
Above code ^^^^^^^^^ show the object of $this before calling Render()... which never returns.. and that why I got to the point in the earlier post that there is a problem with initiating Smarty function... to Render this...