Support Forum

Profile Menus not displayed in edit mode

GI giova
giova
Member

Greetings.

 

I have a big problem with “Progile Tabs & Menus”.

in the front interface the pannel is not displayed.

On your forum when we go to our profile page, we see a loading animated icon (like a flower) then the interface is displayed.

On my forum i don’t see the icon and the panel still empty (tested with several browsers).

here a screenshot : 

http://i40.tinypic.com/2wp5y5g.jpg

 

then if i click on a tab (e.g : profile) a strange page is displayed, here an other screenshot : 

http://i41.tinypic.com/67joll.jpg

 

 

 

and if i click on “edit signature” :

http://i39.tinypic.com/153p6p4.jpg

As you see the tinyMCE (installed and activated) is not displayed. This is an other major problem for users, as they often want to put a picture as signature.

 

 

 

 

My environment is described in this topic :

https://simple-press.com/support-forum/sp5-general-topics/duplicate-collum-errors-when-updating-4-5-0-to-5-0-1/

 

I saw nothing in the error log about this.

do you have an idea?

what is supposed to be loaded?

I tryed with several themes, several browsers allways the same.

Thank you in advance for support.

33 Answers

New Answer

GI giova
giova
Member

oh oh sounds like my post is showing an other problem 🙂

YS Yellow Swordfish
Yellow Swordfish
Member

Any chance of a link to your forum page?

YS Yellow Swordfish
Yellow Swordfish
Member

Site looks clean – no known conflicts so that is good.

I do not believe this will make any difference but let’s try it anyway just in case. Can you go to the forum admin > Toolbox > Housekeeping and click on the option to ‘Rebuild Default Profile Tabs’.

GI giova
giova
Member

it changes nothing confused

 

moreover, i figured out few months ago for an other plugin, that i had some problems due of permalinks and one section of my .htaccess : 

 

[spoiler]

<IfModule mod_rewrite.c>
RewriteEngine On

RewriteBase /

 

RewriteRule index.php$ – [L]
RewriteRule apc.php$ – [L]
RewriteRule %{HTTP_REFERER} !http://www.gamereco.com$ [L]
RewriteRule %{HTTP_REFERER} !https://www.gamereco.com$ [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

[/spoiler]

 

That is why i asked to you, what is exactly supposed to be loaded into the frame.

 

I’ve created an account for you, so you can see the behaviour by your own. I send you a PM with the login/pwd

 

Any suggestion, or test to do, will be welcome to fix this.

Thank you again.

MP Mr Papa
Mr Papa
Member

well, you do know what gets loaded in to that area (it is NOT a frame)… check your profile here. wink the data displayed in the area is via simple ajax (xmlhttprequest) in an existing page element…

Oddly, when the ajax data is loaded, its getting an error in the first character of the returned data…  not sure why…

can you check with your host and see if they are running mod_security?

also, it appears you are running ssl on some of the site…  have you defined in your wp-config.php file the ssl login or admin options?  it might be the ssl loading that is choking here… since its your profile (ie allows password changing) it tries to switch to https but perhaps its failing… have you looked in your server error log for any info?

GI giova
giova
Member

thank you again for reply.

 

I confirm that both admin and login ssl are set to true.

That is why it switch to https when you go to any (wp or sp) login or profile page.

i’ll check with my host regarding mod_security.

FYI Regarding ajax, my main menu (horizontal under the banner) is an ajax one.

 

i didn’t see any error into log, but i’ll look deeper . i have the feeling that it should be the main origin of this problem.

MP Mr Papa
Mr Papa
Member

can you also check forum – toolbox – error log and see if anything there? if so, might be best to clear (at bottom), then visit the profile and check that toolbox again…

GI giova
giova
Member

A) i’ve cleared the sp error log.

when i go to my profile, no error is logged, but when i click on overview tab (see my first post) it logs an error twice :

file: /simple-press/forum/profile/forms/sp-form-overview.php
line: 79
function: Unavailable
Notice | date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID ” is invalid

B) i disabled ssl for testing. the problem still be there (actually the SSL is still disabled)

 

C) i’ll have confirm from admins, but with my weak unix skills i’ve made a “grep mod_s httpd.conf” and it returned several lines, but none regarding any mod_security.

MP Mr Papa
Mr Papa
Member

well, its a slightly different error now wink  thanks for disabling the ssl to rule that out…

I am seeing about of network errors regarding tinymce and language…  can you go to forum – components – editors and make the language you have entered if fr instead of fr_FR?  wont be causing your issue but should be corrected…

I do see that you are running s2member also…  I wonder if it could be ‘blocking’ the ajax request… doesnt seem likely since other ajax requests seem to be working…

strange.. the profile error is now dealing with plupload…but I dont see the plupload js loaded…  are you using the plupload file upload plugin for sp?

MP Mr Papa
Mr Papa
Member

maybe a couple other things you can look at…

forum – integration – page and permalink, turn off loading of forum js in footer…

verify that you theme has the required call to wp_footer() in the footer…  the only thing in the footer is a message from s2member about security…  does it have any kind of setting to force js loading in the header?

GI giova
giova
Member

-About language, i’ve switched both wp_config and sp to ‘fr’ instead of ‘fr_FR’, also renammed again all mo file *-fr.mo

 

by the way about language, forum is in french, but as you can see in my screenshots, profile tabs still in english. I did not mention that, because this problem is less prior than the other actually discussed here.

 

-i’ve disabled for testing (now reactivated) s2member, it changed nothing.

 

-i’ve installed, but not activated all plugins, plupload plugin is disabled. I tryed for testing to activate it : same result

 

-regarding page and permaling settings page, before our discussion i made several tries with all checkbox with no success, i’ve finally  unchecked all checkbox.

 

-regarding my theme, i’ve edited footer.php by my own. It doesn’t contains any sensitive information so here its content : 

 

[spoiler]

<?php

/**

* @package WordPress

* @subpackage FAM

*/

?>

</div>

<?php get_sidebar(); ?>

</div>

<div id=”footer”>

Copyright © 2011 <a href=”<?php echo get_option(‘home’); ?>/”><?php bloginfo(‘name’); ?></a> | GameReco est une marque déposée, <a href=”http://www.gamereco.com/tous-droits-reserves/”>tous droits réservés</a>

<p align=”right”><?php echo do_shortcode(‘[s2Member-Security-Badge v=”1″ /]’); ?></p>

<p><a href=”<?php bloginfo(‘rss2_url’); ?>”>RSS GameReco</a></p>

<p><?php sf_pm_tag();?></p>

<?php wp_footer(); ?>

</div>

</div>

</body>

</problem-with-post-edit-buttontml>

[/spoiler]

 

To finish, here the both errors, very often logged by SP : 

[spoiler]

 

file: /simple-press/forum/content/sp-common-view-functions.php

line: 51

function: sp_SectionStart

Notice | Trying to get property of non-object

16/03/2012

21:48:46

php file: /simple-press/forum/content/sp-common-view-functions.php

line: 70

function: sp_SectionStart

Notice | Trying to get property of non-object

[/spoiler]

MP Mr Papa
Mr Papa
Member

profile tabs are translated in forum – profiles – tabs and menus… since you can change and add them, they cannot be in the translation file…

the footer.php should have a wp_footer() call to it… possible it would be in sidebar…

was plupload active previously?

sorry, if asked before, but can you inquire with your host as to mod_security active?

GI giova
giova
Member

wp_footer is called at the end of index.php theme.

index.php is loaded everytime thanks to permalink and a .htaccess section (that i’ve posted here).

 

plupload as never been activated (exception once few minutes before, just for testing)

here the list of activated plugins : 

 

Blog Post Linking

Custom Profile Fields

Editor (TinyMCE – Rich Text)

Google XML Sitemap

Private Message System

Profile Display Control

Report Post

Subscriptions

Tags

Template Tags and Widgets

Topic Status

Watches

Who’s Online


as i said, all other plugins are installed but not activated

 

regarding mod_security  i think it is not activated, i’ll confirm asap.