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.
[SOLVED] ProxyConnect doesn't work and making forum slow
I have just moved the site I'm developing over to the production server, and the problem I have is that as soon as I activate ProxyConnect in the Dashboard, loading is slow (always about 21 seconds) across the forum regardless of the login state of the user, and ProxyConnect isnt detecting that the user is logged in. The site uses CodeIgniter 2.0.1, Vanilla 2.0.17.8 and ProxyConnect 1.8.4 and I've checked the server meets Vanilla requirements. It all works fine on the development machine.
Any ideas what could be wrong?
Any ideas what could be wrong?
Tagged:
0
Comments
Basically, Both processes are trying to read from the session file and it's locked.
The latest version of ProxyConnect fixes this, but you can also look through
class.proxyauthenticator.php
for any occurrence of a call toProxyRequest
and put the following line before it:ProxyRequest
function infunctions.general.php
to get the cURL requests through the proxy server:curl_setopt($Handler, CURLOPT_PROXY, 'proxyservername:port');
I also added this line to the ProxyHead function in the same file (inserted at line 1133), but wasn't sure if there are any other places it would be needed. @Todd, do you know of anywhere else I would need to include this?
So, I am using Vanilla 2.0.1.7.10. I have PHP cURL extension activate. When I click on ProxyConnect in the plugin list I get the following error. Any Help is appreciated. I really need to get a single log in for a my website. Does this look like a permissions issue?
"The "Gdn_PluginManager" object does not have a "xAvailablePluginFolders" method." LOCATION: C:\wwwroot\mydomain.com\SubDomains\forum\library\core\class.pluggable.php > 163: // Make sure that $ActualMethodName exists before continuing: > 164: if (!method_exists($this, $ActualMethodName)) { > 165: // Make sure that a plugin is not handling the call > 166: if (!Gdn::PluginManager()->HasNewMethod($this->ClassName, $ReferenceMethodName)) >>> 167: trigger_error(ErrorMessage('The "' . $this->ClassName . '" object does not have a "' . $ActualMethodName . '" method.', $this->ClassName, $ActualMethodName), E_USER_ERROR); > 168: } > 169: > 170: // Make sure the arguments get passed in the same way whether firing a custom event or a magic one. > 171: $this->EventArguments = $Arguments; BACKTRACE: [C:\wwwroot\mydomain.com\SubDomains\forum\library\core\class.pluggable.php] PHP::Gdn_ErrorHandler(); [C:\wwwroot\mydomain.com\SubDomains\forum\library\core\class.pluggable.php 167] PHP::trigger_error(); [C:\wwwroot\mydomain.com\SubDomains\forum\library\core\class.pluggable.php 167] Gdn_Pluggable->__call(); [C:\wwwroot\mydomain.com\SubDomains\forum\plugins\ProxyConnect\class.proxyconnect.plugin.php 58] Gdn_PluginManager->AvailablePluginFolders(); [C:\wwwroot\mydomain.com\SubDomains\forum\library\core\class.pluginmanager.php 432] ProxyConnectPlugin->SettingsController_ProxyConnect_Create(); [C:\wwwroot\mydomain.com\SubDomains\forum\library\core\class.dispatcher.php 290] Gdn_PluginManager->CallNewMethod(); [C:\wwwroot\mydomain.com\SubDomains\forum\index.php 38] Gdn_Dispatcher->Dispatch();
Fantastic. You guy have developed a great forum app.
I hope this is helpful to someone else.
Much thanks