Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
public-topic
"Profile" Page is blank..
Avatar
Ryan
Member
sp_UserOfflineSmall Offline
Aug 31, 2017 - 8:55 pm
sp_QuotePost Quote

Hi,

For some reason /forum/profile/ page isn't loading anything, it's blank in the middle of the forum, I can't edit anything, change any preferences or manage my profile...

If I inspect the source it shows:

tFNX9gl.pngImage Enlarger

Any idea what is wrong with the forum? A bug? Something because of an update?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 31, 2017 - 11:17 pm
sp_QuotePost Quote

sounds like a js conflict or some error being thrown...  you should check your php error log... there are no known bugs here or similar reports...

for detailed support, please open a topic in the support forum...

Avatar
Ryan
Member
sp_UserOfflineSmall Offline
Aug 31, 2017 - 11:59 pm
sp_QuotePost Quote

I tried disabling every plugin and it didn't help, I also checked the error logs... there are no errors in there.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 1, 2017 - 4:10 am
sp_QuotePost Quote

Assuming this worked - and your first post suggests it just stopped working - then the real question is - what changed? The code, I assume, didn't change so there must have been some change to the website code base that caused a problem. Plugin or theme related. And t would be almost certainly be a javascript conflict so what you really need to check is the browser console for script errors.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ryan
Member
sp_UserOfflineSmall Offline
Sep 1, 2017 - 9:39 am
sp_QuotePost Quote

The weird thing is, we cloned the website to a different subdomain for testing and it works fine there...

There are no errors in the console.

The only code change we've made to was to the reboot theme, in the file spFunctions.php we changed one value from true to false and when reverting this, it doesn't resolve the issue. The change was:

if (!defined('SP_TOOLTIPS')) define('SP_TOOLTIPS', false);

I've tried all of these options in various setups, none of them change anything in how the forum loads (it loads the same from a visual aspect in every instance)
P9mQR1j.pngImage Enlarger

I've also tried useing the housekeeping cache flushing:

G23J2Va.pngImage EnlargerThe JS optimizer we use has the forum exempt from optimizing too and even if I disable this optimizer fully it doesn't resolve it:

add_filter('autoptimize_filter_js_noptimize','autooptimize_no_js_optimization',10,0);
function autooptimize_no_js_optimization(){
     if (strpos($_SERVER['REQUEST_URI'],'/forum/')!==false) {
          return true;
     } else {
          return false;
     }
}

Avatar
Ryan
Member
sp_UserOfflineSmall Offline
Sep 1, 2017 - 11:11 am
sp_QuotePost Quote

I ran a compare of both folders and found:

FbxSvZU.pngImage Enlarger
On the left is the "live" site/forum and on the right is the "test" site/forum.

- The zip archives in the install folder don't seem to make a difference if I remove them.
- The ZeroClipboard.swf in the parent theme's javascript doesn't seem to make a difference if i remove it.

Now onto those that .js and the .css file, I assume the error comes around from the desktop-footer.js folder file not being created... why is this, I told it to rebuild the css and js cache but it fails to make it?

You've then surely got to ask why isn't the test site generating cached copies for the mobile & tablet views and also for the desktop header....

However, when I copy the two files from the test site to the live site and change the url (remove the subdomain and the first period it still fails to work.

Thanks

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 1, 2017 - 8:08 pm
sp_QuotePost Quote

sounds like permissions...  can the web user create files (or access) in that directory?

Avatar
Ryan
Member
sp_UserOfflineSmall Offline
Sep 3, 2017 - 7:28 am
sp_QuotePost Quote

What do you mean by "web user"?

If I check the Storage Locations, all folders exist and all folders can write.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 3, 2017 - 9:17 am
sp_QuotePost Quote

That's not always 100% accurate - an issue with the permissions as opposed to php. In this case the 'web user' would, I believe, be you although I am sure @mr-papa will correct me if he really meant an end-user.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 3, 2017 - 11:53 am
sp_QuotePost Quote

web user is really the apache user on the system...  it can be different based on flavor of php in use...  and thus the needed user and group permissions..  I cant read the images you referenced, but they dont seem to show the uid or gid permissions...

but have you tested with the caches turned off???  forum - options - general settings

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: 619
Members: 17364
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625