- This topic has 13 replies, 3 voices, and was last updated 7 years ago by Tom.
-
AuthorPosts
-
August 30, 2017 at 3:18 am #375897v4ncouver
Hi,
I am running into my first real issues with Generatepress.We need the S2Member plugin and it only works if I disable Generate Press and use any of the generic WP themes.
I can not configure S2Members. None of the buttons function. There seems to be a massive conflict with Javascript and CSS and maybe something else.
This is a deal breaker and I hope we can resolve this by tomorrow night.
I can give you anything but admin access. What do you need to start fixing this?
August 30, 2017 at 10:56 am #376222TomLead DeveloperLead DeveloperIf we can’t have admin access, you’ll have to do the debugging.
On the page where none of the buttons are working (which buttons? which pages?), right click and click “Inspect” (using Chrome).
Any red errors in the “Console” tab?
Does the page work with the Twenty Seventeen theme activated?
August 30, 2017 at 4:12 pm #376414v4ncouverHi Tom,
and thanks for responding.S2Member starts working 100% as soon as I switch to the 2016 theme.
Here is what the backend should look like:
And here is what I get:
I wonder if anyone is running Generatepress and S2Members and if yes, does it work?
Hmm, is there a limit of one picture per post?
August 30, 2017 at 4:15 pm #376416v4ncouverSorry, the second image does not want to link π
Do you think reinstalling Generatepress might fix it?
August 30, 2017 at 4:31 pm #376418PeterI’m running S2member with GeneratePress and it all works. You screenshot seems to indicate that the S2member plugin is failing to load its CSS files in the admin area. Look in you browser inspector to see if any files are giving 404 errors or mixed content warnings. I had a similar problem, but this was with s2member running a PHP script in the plugin directory (I ban PHP from running scripts here for security reasons). I fixed this by configuring the web server to allow the script to run.
August 30, 2017 at 4:31 pm #376419PeterReinstalling s2member would be the way to go
August 30, 2017 at 4:33 pm #376421v4ncouverThanks Peter, I will check for errors.
I reinstalled S2Member last night … no change.
Emptied server cache, browser cache … nothing.August 30, 2017 at 4:45 pm #376425v4ncouverOut of curiosity, I just installed TwentySeventeen and it works perfectly.
My guess is that it’s GP related but … I have no clue what it could be.August 30, 2017 at 4:57 pm #376428PeterIt does sound like it is GP related if S2member works with TwentySeventeen. You could try reinstalling GP and clearing the customizer settings (back them up first!). Did you check to see if any CSS files were failing to load?
August 30, 2017 at 5:00 pm #376435v4ncouverNo red lines (error console).
Again, I cleared the server and browser cache.I even disabled my .htaccess file temporarily. No go π
School starts on Tuesday so I won’t have much time to troubleshoot this.
If I can’t fix it, I have to grab another theme from somewhere.
All I use is Elementor anyway so …. I am in a pinch.Thanks for helping Peter! π
August 30, 2017 at 9:00 pm #376494TomLead DeveloperLead DeveloperThanks for helping, Peter!
I’m afraid I would have to login to see what’s going on – otherwise we’ll just be guessing. There’s no way to give me temporary access?
August 30, 2017 at 9:50 pm #376508v4ncouverGood news!
I just put the site in maintenance mode, deleted the GP Premium plugin and GP theme, flushed caches and reinstalled.
S2Member is working! π
Thanks guys! π
August 30, 2017 at 10:04 pm #376511v4ncouverI just want to take a moment and post what actually caused the mess.
A while ago, I’ve added this code to the functions.php file to improve the pingdom score.
Unfortunately, that caused S2Member to not load all required scripts.//hide jquery strings
function _remove_script_version( $src ){
$parts = explode( ‘?’, $src );
return $parts[0];
}
add_filter( ‘script_loader_src’, ‘_remove_script_version’, 15, 1 );
add_filter( ‘style_loader_src’, ‘_remove_script_version’, 15, 1 );remove_action(‘wp_head’, ‘print_emoji_detection_script’, 7);
remove_action(‘wp_print_styles’, ‘print_emoji_styles’);remove_action( ‘admin_print_scripts’, ‘print_emoji_detection_script’ );
remove_action( ‘admin_print_styles’, ‘print_emoji_styles’ );August 30, 2017 at 10:44 pm #376521TomLead DeveloperLead DeveloperGlad you found the solution π
-
AuthorPosts
- You must be logged in to reply to this topic.