Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Unable to edit profile in Unified theme used as Mobile Phone Theme
Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Jun 4, 2015 - 3:25 am

Yes, I'm using all of those. I actually just added the file uploader.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 4, 2015 - 3:30 am

In which case my local test sites are reluctant to show any errors occurring,
Let me g back and look at your console report again...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 4, 2015 - 3:51 am

No... can not replicate any problem.

Just to be 100% sure, can you temporarily deactivate that Spotify plugin and try this with that out of the equation? You might need to clear the browser as well...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Jun 4, 2015 - 5:38 am

Removed the widget but nothing changed. Also disabled all other plugins except s2member, still no change.

That leaves the WP theme from my perspective. The one we use is rather complex (http://themeforest.net/item/st.....me/8819050). Not sure how to troubleshoot further. Can't switch the template on the site and I don't have a staging site (yet).

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 4, 2015 - 6:29 am

We had problems with ThemeForest themes before but as far as I can see many have been down to the theme supplying its own and older copies of the main jQuery and jQuery UI libraries instead of using the standard libraries supplied with WordPress. As far as I can see your theme IS using the proper jQuery library. Not sure about the Ui library as you have removed my forum access but I suspect it is OK. The WordPress team are trying to educate people to stop supplying these libraries and are actually talking about failing themes and plugins from their repository that do so.

The problem with scripts and consoles is they often do not show up everything. Quite often the first jQuery related error you see is actually caused by the fact that jQuery itself is no longer responding properly because of a prior error condition that basically caused it to stop completely.

@mr-papa is back tonight and I am sure he will read through the thread here and he may have an idea to try that I haven't thought of but I do fully believe that SP is behaving properly in this area not least because I am unable to replicate it and this is a unique report.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Jun 4, 2015 - 7:46 am

It actually does appears to be the theme. Turns out it's not all that difficult to try a few things on mobile. I just opened the WP Customizer from within Firefox mobile and previewed the standard Twenty Fifteen theme. Navigated to the Forum, selected Profile and there the buttons work just fine.

Now the question is how to debug further from here. I tried Firefox remote debugging but it also only shows that one error.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 4, 2015 - 7:51 am

You know it would not have occurred to me to try that. Neat.
Well the first and simple thing to check is that it IS using the proper jQuwry and jQuery UI libraries from the wordpress wp-includes folders.
Also check to see if it makes use of the Bootstrap js library - It's a long shot but always worth checking for.
After that I think you are in that position of having to turn components of the theme off if that is possible. Maybe put your site into maintenance mode for half an hour...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Jun 4, 2015 - 8:26 am

I tried turning off anything I could in the theme - to no avail. I compiled a list o fall JS included with the theme:

ajax.js
ajax.min.js
bootstrap.carousel.js
bootstrap.min.js
Chart.min.js
colorpicker.js
default.js
default.js
default.min.js
doubletaptogo.js
html5.js
jplayer.min.js
jquery-1.10.2.min.js
jquery.appear.js
jquery.carouFredSel-6.2.1.js
jquery.easing.1.3.js
jquery.fitvids.js
jquery.flexslider-min.js
jquery.fullPage.min.js
jquery.hoverIntent.min.js
jquery.isotope.min.js
jquery.mousewheel.min.js
jquery.nicescroll.min.js
jquery.nouislider.min.js
jquery.prettyPhoto.js
jquery.stylish-select.min.js
jquery.touchSwipe.min.js
jquery.waitforimages.js
lemmon-slider.js
mediaelement-and-player.min.js
modernizr-2.6.2.min.js
plugins.js
qode_shortcodes.js
qode_sidebar.js
qode-like.js
qodef-ui.js
select2.min.js
skrollr.js
SmoothScroll.js
toolbar.js

Does anything stand out as a potential culprit?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 4, 2015 - 9:05 am

To be fair I know very few of those libraries.

The Bootstrap worries me a little. That can definitely have the effect of rendering some (not all) buttons dumb. You can actually test this if you use the file uploader plugin. Open uo the editor to make a post, click on the attachments button, select an attachment or drag an image into the box and see if the 'Start' button becomes available. Bootstrap will stop it so that nothing happens.

This is because is stomps all over the jQuery UI button script (which is the one that WordPress supplies as standard). We do have some code in the forum to try and prevent this happening but I doubt it is watertight as so much depends on loading. So that may be worth a look. First though you ned to determine if it really IS being loaded on the mobile side.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Jun 4, 2015 - 9:25 am

Unfortunately that doesn't seem to be it. The uploader works fine on both, desktop and mobile. I'll check later on again what scripts are loaded on the mobile page.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626