Skip Navigation

[Resolved] Views is clashing with login function on site using CPD

This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by Rita 7 years ago.

Assisted by: Christian Cox.

Author
Posts
#516993

Hi

I have a problem with Toolset Views on my site which is also running a white label plugin called CPD. The CPD plugin has a login function of its own. When Toolset Views is activated, a user cannot login using the CPD login. Each time the user is redirected to this url:
hidden link

I am surprised, because I wouldn't have thought Views has anything to do with login...

Hoping someone can point me in the right direction!

Thanks in advance.

Rita

#517083

Hi, I'll be glad to help. Can you try these simple debugging steps first, to eliminate any possible conflicts?
- Temporarily disable all plugins except Toolset and your CPD plugin
- Temporarily activate a default theme like Twenty Seventeen
- Ensure your Toolset plugins are all up-to-date

Then if this does not resolve your issue, please enable debug logging on your server. Go in your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

define('WP_DEBUG', true);

Then add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
ini_set('display_errors', 'Off');

Attempt to log in again. If any server-side errors are generated, this will create an error_log.txt file in your site's root directory. Please send me its contents. Once that is done, you can revert the updates you made to wp-config.php as well as plugins and themes.

Please let me know the results and we'll go from there.

#517442

Hi Christian

Thanks very much for all your advice! I had done most of this before posting this plea for help. Except the debug log thing. Good tip! I will do this in the future.

In the meantime, I found a workaround by automatically giving the user a user account and logging them in at the same time as they try to login with the CPD user login. It works perfectly and means Toolset Views is not conflicting.

Phew... I do NOT wish to remove Toolset ?
Would rather remove the whole CPD thing frankly.

Rita

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.