Support Forum

Profile Menus not displayed in edit mode

33 Answers

New Answer

GI giova
giova
Member

here the admins answer about mod_security : 

 

Mod_Security is was compiled with your Apache configuration but there is no current rule set in place that I can see. I tried triggering it by accessing a domain that was resolving to your server using a URL that would trigger Mod-Security and nothing was blocked.

So it is installed on your server but it is not active from what I was able to see. Are you having trouble with a specific domain?

Regards,

MP Mr Papa
Mr Papa
Member

active, eh…  well, lets try something just to be sure…. please add the code from the following link into your .htaccess file:

https://simple-press.com/support-forum/sp5-general-topics/ajax-error/#p103825

MP Mr Papa
Mr Papa
Member

I know you said you checked the theme for wp footer calll, but there is definitely some js missing from the footer – including the profile js…

any chance you can make the temp account you created for us a wp admin and an sp admin (forum – admins – manage admins)?

GI giova
giova
Member

to do this you have to send me a PM with your IP adress, as wp-admin is protected by IP for security reasons.

 

I discovered an other problem, probably the same one, i cannot validate posts. i’ve set post to be moderated for new members, but i don’t see anymore the menu allowing to : rename posts, move posts,validate posts, and so on.

 

EDIT : oh, and i had to switch back to ‘fr_FR’ because few other parts of the web site were not translated anymore when language set to ‘fr’

MP Mr Papa
Mr Papa
Member

always hated those IP checks since too many ISPs rotate users on available IPs… wink

but will send you one in pm…  I am pretty sure this is related to all the missing js in the footer…

sorry, dont understand your language thing…  you should have only changed it on forum – components – editors… and it should only affect tinymce within simple press….  do NOT change it in your wp-config.php file…

GI giova
giova
Member

Once SP updated to 5.0.1 and mo files in place, the forum was in english.

i had to go to forum – components – editors ; set it to fr_FR ; rename all sp mo files to *-fr_FR.mo

then forum became french.

 

in other word, i had to make all of this matching with my wp-config file.

 

regarding ip, i have a static IP so it gives me a good way to protect some sections of my website laugh

MP Mr Papa
Mr Papa
Member

okay, its fixed…

the problem was you had this in your footer:

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

it was right before the wp_footer() call, but that is not a valid template tag in 5.0 so it was causing a php error and aborting everything…

if you really want that tag down there, the 5.0 equivalent is:

sp_pm_inbox();

GI giova
giova
Member

great news !

 

thank so much Mr Papa !

 

i don’t remember to made such modification, anyway…

MP Mr Papa
Mr Papa
Member

It would have been a 4.x template tag… glad we got it resolved for you!

GI giova
giova
Member

ok i confirm that profile page is fixed, also i can see now the admin menu to rename; move ; accept posts.

 

But it seems that tinymce is not loaded anymore. When i edit a post, buttons are not shown, and to make a test, i changed tinymce height settings from 350 to 500 but i saw no change.

To Remind i’ve installed all editors, but activated only tinymce, and in sp admin, i’ve set tinymce as default editor.

Do you think that this problem can be due of language settings that you talked about?

 

More Over, in front interface, the post editor  has wrong weight, it is not large enough to fill the page, to i have to drag bottom right of this containner with mouse to make it large enough.

MP Mr Papa
Mr Papa
Member

you may have set tinymce as the default editor, but that wont affect existing users… they have their own option in their sp profile (options – posting options)… so you may need to go to your profile and select tinymce as the default…

GI giova
giova
Member

i’ve check my account was allready setted to tinymce as editor.

when editing a post, i see no button at all at the top of the edition container.

 

btw : i have just updated SP to the last version few minutes ago.

 

i also see that some errors still logged very often

[spoiler]

 

/03/2012
03:37:11
php file: /simple-press/forum/profile/forms/sp-form-overview.php
line: 79
function: date_default_timezone_set
Notice | date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID ” is invalid
18/03/2012
03:16:46
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 51
function: sp_SectionStart
Notice | Trying to get property of non-object

 

[/spoiler]

MP Mr Papa
Mr Papa
Member

well, let me take another look… now that you are actually loading js in the footer, perhaps another conflict…

MP Mr Papa
Mr Papa
Member

okay, fixed it… you had put fr_FR back in the tinymce language field and it was causing tinymce to fail because it could not load that language file…

It wont affect the rest of your site… its only for tinymce…