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
Editting the member profile problems, screen loses format and everything...
Avatar
Jeremy Wunsch
Member
sp_UserOfflineSmall Offline
Aug 16, 2017 - 4:14 pm

Hello,

I am moving this over from the presale forum.

When I am logged into the forum, and I click on the word "profile", the profile page comes up.  Then over on the left are the 4 edits (profile, identities, avatar, signature).

When I click on any one of those 4 items, it opens a new page that is completely white, with basic black text, all hugging the left wall of the screen.

What am I doing wrong?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 16, 2017 - 10:04 pm

any errors in the server php error log?  any errors (only) reported on forum - toolbox - error log?

do you have link to site so we can look for obvious things?

no caching on forum page, right?  any security plugins or server side security addons (such as mod security)... they could be doing false positive on query args for the ajax requests...

when you load the forum profile page with the browser console open (before clicking a menu item) are any errors reported there?

Avatar
Jeremy Wunsch
Member
sp_UserOfflineSmall Offline
Aug 18, 2017 - 2:20 am

The website/forum that we are working on is called http://drugdiversion101.com/dr.....ion-forum/

It is hosted at Godaddy in their WordPress hosting, I think they have server side caching, I don't have any pluggins that are doing caching.

From the error log....

August 18, 2017 12:22 am | spaErrNotice | 168 | php

file: /simple-press/sp-startup/site/sp-site-support-functions.php
line: 185
function: sp_localisation
Notice | Undefined index: QUERY_STRING

August 18, 2017 12:22 am | spaErrNotice | 168 | php

file: /simple-press/sp-startup/site/sp-site-support-functions.php
line: 179
function: sp_localisation
Notice | Undefined index: QUERY_STRING

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 18, 2017 - 4:35 am

So no php errors then - but it looks more like a JavaScript problem anyway so the last question @mr-papa asked is the more important. There IS an error in the console that I get (not logged in of course) pertaining to the Bootstrap JavaScript library (unsupported by WordPress by the way) which may have a bearing on it.

Failing that something is hijacking the AJAX queries...

One related thing to try is to go to the Simple:Press theme editor and edit the theme spFunctions.php file. Do this on the child theme if that is what you are using. At the top follow the instructions to turn the tooltips off and save. See if that helps.

If that makes no difference then we do need the errors reported in the browser console when you actually try the operation.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Jeremy Wunsch
Member
sp_UserOfflineSmall Offline
Aug 18, 2017 - 4:51 pm

From the browser console:

When I open the forum:

bootstrap.tooltip.js?ver=3.3.5&nocache=1:1 Uncaught Error: `selector` option must be specified when initializing tooltip on the window.document object!
at c.init (bootstrap.tooltip.js?ver=3.3.5&nocache=1:1)
at new c (bootstrap.tooltip.js?ver=3.3.5&nocache=1:1)
at HTMLDocument.<anonymous> (bootstrap.tooltip.js?ver=3.3.5&nocache=1:1)
at Function.each (jquery.js?ver=1.12.4&nocache=1:2)
at a.fn.init.each (jquery.js?ver=1.12.4&nocache=1:2)
at a.fn.init.b [as tooltip] (bootstrap.tooltip.js?ver=3.3.5&nocache=1:1)
at HTMLDocument.eval (eval at <anonymous> (sp-forum-footer.js?ver=4.8.1&nocache=1:1), <anonymous>:1:124)
at i (jquery.js?ver=1.12.4&nocache=1:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4&nocache=1:2)
at Function.ready (jquery.js?ver=1.12.4&nocache=1:2)

When I click on "edit profile" - Which is where the white screen comes in.

admin-ajax.php?action=profile&tab=profile&menu=edit-profile&user=1&rand=934852003&_wpnonce=a558ba6e2e:2 Uncaught ReferenceError: jQuery is not defined
at admin-ajax.php?action=profile&tab=profile&menu=edit-profile&user=1&rand=934852003&_wpnonce=a558ba6e2e:2
(anonymous) @ admin-ajax.php?action=profile&tab=profile&menu=edit-profile&user=1&rand=934852003&_wpnonce=a558ba6e2e:2
admin-ajax.php?action=profile&tab=profile&menu=edit-profile&user=1&rand=934852003&_wpnonce=a558ba6e2e:20 Uncaught ReferenceError: jQuery is not defined
at admin-ajax.php?action=profile&tab=profile&menu=edit-profile&user=1&rand=934852003&_wpnonce=a558ba6e2e:20

Avatar
Jeremy Wunsch
Member
sp_UserOfflineSmall Offline
Aug 18, 2017 - 4:57 pm

Guess I did things backwards, as I gave the console errors first....

However, I did the:

"One related thing to try is to go to the Simple:Press theme editor and edit the theme spFunctions.php file. Do this on the child theme if that is what you are using. At the top follow the instructions to turn the tooltips off and save. See if that helps."

After doing this, the profile and edit profile now seem to work just fine (or I should say that they look just fine).  And in console mode, I don't see any errors pop up...

Thanks

Jeremy

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2017 - 6:06 pm

so looks like bootstrp tooltips conflict...  btw, bootstrap is not officially supported in WordPress since it is known to conflict with the jquery ui library WordPress uses...  good deal if working now...

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: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17356
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10122
Posts: 79610