Support Forum

"Profile" Page is blank..

RY Ryan
Ryan
Member

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.png

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

11 Answers

New Answer

MP Mr Papa
Mr Papa
Member

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…

RY Ryan
Ryan
Member

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

YS Yellow Swordfish
Yellow Swordfish
Member

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.

RY Ryan
Ryan
Member

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.png

I’ve also tried useing the housekeeping cache flushing:

G23J2Va.pngThe 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;
     }
}

RY Ryan
Ryan
Member

I ran a compare of both folders and found:

FbxSvZU.png
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

MP Mr Papa
Mr Papa
Member

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

RY Ryan
Ryan
Member

What do you mean by “web user”?

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

YS Yellow Swordfish
Yellow Swordfish
Member

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.

MP Mr Papa
Mr Papa
Member

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

RY Ryan
Ryan
Member

I see, the permissions should be correct. 775 for all of the forum-xxxx folders, 644 on the files.

What permissions are required?

The pictures I showed are clear enough when they are viewed outside of the forum, for some reason simple-press tries to squish images too much.

Go to http://i.imgur.com/FbxSvZU.png in your browser and it’ll look fine, of course no permissions will show on the files/folders in that picture because that’s on my local system. Comparing what files/folders exist between the test site and the live site and what changes there are to the actual code on each file.

Red = difference in code between the two files (the two it flags is just that one includes the subdomain and one doesn’t)
Purple = Exists on one, doesn’t exist on other.

Disabling the cache doesn’t help either (Psst it’s in global settings not general settings)

MP Mr Papa
Mr Papa
Member

its not related to that file if still occurs if caching turned off… so wont pursue further – especially since this is not the support forum..

I would check and make sure you dont have any server security or security plugins that are blocking the ajax requests…  some that have in past include sucurri (sp?) and mod_security…  both can easily whitelist if the case…