Support Forum

Admin logo

38 Answers

New Answer

MP Mr Papa
Mr Papa
Member

most of those are harmless notices… odd that you see them, as I do not, but not a big deal…

so you are sure this is sending to a single member???? please explain steps you did to try to send the pm? only asking because that particular query is only executed in that case…

by any chance does your server run mod_security??

ST stayon
stayon
Member

Im sure it send PM to one one member,but it do not send notification email,also if i enable this feture : Enable sending of email for PMs (If enabled, users can elect to receive or not in their profile) it dont show what i just send to a member???

 

Ihave no idear if my server run mod_security how can i check this.

ST stayon
stayon
Member

These are errors from today 

 

Date Type Description
February 19, 2012

09:26

php file: rs/stayonpoker.com/stayonpoker.com/problem-with-post-edit-buttonttpd.www/wp-content/sp-resources/forum-plugins/watches/library/sp-watches-components.php

line: 284

function: Unavailable

Notice | Trying to get property of non-object

February 19, 2012

09:26

php file: rs/stayonpoker.com/stayonpoker.com/problem-with-post-edit-buttonttpd.www/wp-content/sp-resources/forum-plugins/watches/library/sp-watches-components.php

line: 284

function: sp_watches_render_user_watches

Notice | Trying to get property of non-object

February 19, 2012

09:26

php file: rs/stayonpoker.com/stayonpoker.com/problem-with-post-edit-buttonttpd.www/wp-content/sp-resources/forum-plugins/watches/library/sp-watches-components.php

line: 284

function: sp_watches_render_user_watches

Notice | Trying to get property of non-object

February 19, 2012

09:26

php file: rs/stayonpoker.com/stayonpoker.com/problem-with-post-edit-buttonttpd.www/wp-content/sp-resources/forum-plugins/watches/library/sp-watches-components.php

line: 283

function: sp_watches_render_user_watches

Notice | Trying to get property of non-object

February 19, 2012

09:26

php file: rs/stayonpoker.com/stayonpoker.com/problem-with-post-edit-buttonttpd.www/wp-content/sp-resources/forum-plugins/watches/library/sp-watches-components.php

line: 283

function: sp_watches_render_user_watches

Notice | Trying to get property of non-object

February 19, 2012

09:17

database file: /customers/stayonpoker.com/stayonpoker.com/problem-with-post-edit-buttonttpd.www/wp-content/sp-resources/forum-plugins/private-messaging/ahah/sp-pm-ahah-post.php

line: 26

function: sp_save_pm

error: Unknown column ‘pm’ in ‘where clause’

SELECT user_id FROM wp_sfmembers WHERE pm = 1 AND user_id != 46

MP Mr Papa
Mr Papa
Member

all but last are notices not errors. last is the error we have previously discussed. have a ticket open on that one. but it only happens, or at least should, when emailing all users.

you would have to ask your host about mod_security. or try adding

SecFilterEngine Off

to your .htaccess and see if that helps…

MP Mr Papa
Mr Papa
Member

stayon, out of curiosity, do you know when those watches notices occurred?  they seem to indicate that you are watching a topic that does not exist…

ST stayon
stayon
Member

Hi think there is still problems with pm,send out a pm to my members today,and got a few emails back from members saying: that the where not authorized to read message?

 

also got this error message today again

 

February 25, 2012
18:27
php file: /simple-press/forum/library/sp-post-support.php
line: 46
function: sp_email_notifications
Notice | Trying to get property of non-object
MP Mr Papa
Mr Papa
Member

what does not authorized to read message mean?  we dont have such a message…  if you are getting an error message please tell us exactly what it says…

have you given your members permission to use the pm system?

that notice you have there has nothing to do with PMs…

ST stayon
stayon
Member

Mr Papa said

what does not authorized to read message mean?  we dont have such a message…  if you are getting an error message please tell us exactly what it says…

have you given your members permission to use the pm system?

that notice you have there has nothing to do with PMs…

Its means the cant read what the got in message inbox,but i sorted that out,the problem was that i added all members to guest group also,and that group dont have all options.

 

But saying that,if i click on my profile and want to edit it,that means me and members cant edit there profiles,also these are what im getting today.

 

Warning: file_exists(): open_basedir restriction in effect. File(/customers/stayonpoker.com/stayonpoker.com/problem-with-post-edit-buttonttpd.www/wp-content/plugins/simple-press/forum/profile/forms/sp-form-overview.php) is not within the allowed path(s): (/customers/4/e/8/stayonpoker.com/problem-with-post-edit-buttonttpd.www:/customers/4/e/8/stayonpoker.com/problem-with-post-edit-buttonttpd.private:/customers/4/e/8/stayonpoker.com/tmp:/customers/stayonpoker.com/stayonpoker.com:/var/www/diagnostics:/usr/share/php) in /customers/4/e/8/stayonpoker.com/problem-with-post-edit-buttonttpd.www/wp-content/plugins/simple-press/forum/profile/ahah/sp-ahah-profile.php on line 141 Profile form could not be found [/customers/stayonpoker.com/stayonpoker.com/problem-with-post-edit-buttonttpd.www/wp-content/plugins/simple-press/forum/profile/forms/sp-form-overview.php]

 

Dont know why these errors sudenly came up,we change nothing,and update all your stuff.

MP Mr Papa
Mr Papa
Member

I dont know why either… its not been reported by any one else…

but lets start with the easy one…

on line 141 Profile form could not be found[/customers/stayonpoker.com/stayonpoker.com/problem-with-post-edit-buttonttpd.www/wp-content/plugins/simple-press/forum/profile/forms/sp-form-overview.php

so look on your server… does that file exist?  if so, can you access it via the browser and entering the url?

also, all your paths to these files look weird…  its that your normal path?

ST stayon
stayon
Member

All i know is that this problem started after latest update,cos nothing been wrong before,and these paths dont change by it self.

And i dont have any idear why the paths looks soo wierd,the only thing i change on my site is update new updates from the forum when the come.

 

Graaa damit

YS Yellow Swordfish
Yellow Swordfish
Member

While I may need Steve to help with this – you didn’t actually answer his question.

ST stayon
stayon
Member

WELL MR.YELLOW SWORDFISH

 

If i new about things like this,do you think i would need any support,belive every time i have asked for stuff in here and you have reply my post,it has been wery str8 forward and no help what soo ever.

BUT I THANKS YOU GUYS ANY HOW.

 

Good day

YS Yellow Swordfish
Yellow Swordfish
Member

OK – well that was a strange reply.

But you are probably right. If you do not even know how to find our whether a file exists or not then no – we probably can’t help you any further as we can’t find that out.

so – as you say. Good day.

ST stayon
stayon
Member

Nothing strange in being honest,and your latest update did screw up things,my screen options in post and pages dont work neither,and tried to disable all my plugins,dident work,then i disable your forum plugin,and boom fixed that problem.

 

Amazing,soo then problem must be in your last update….

 

Some how mad person writing,but if you dont have the skills to fix stuff and been trying for days and you go blind,cos you have no freaking clue what tolook for,well then you write stuff you might be sorry about later. twisted

ST stayon
stayon
Member

Mr Papa said

I dont know why either… its not been reported by any one else…

but lets start with the easy one…

on line 141 Profile form could not be found[/customers/stayonpoker.com/stayonpoker.com/problem-with-post-edit-buttonttpd.www/wp-content/plugins/simple-press/forum/profile/forms/sp-form-overview.php

so look on your server… does that file exist?  if so, can you access it via the browser and entering the url?

also, all your paths to these files look weird…  its that your normal path?

<?php

/*

Simple:Press

Profile Overview Form

$LastChangedDate: 2011-12-21 15:28:12 -0700 (Wed, 21 Dec 2011) $

$Rev: 7526 $

*/

if (preg_match(‘#’.basename(__FILE__).’#’, $_SERVER[‘PHP_SELF’])) die(‘Access denied – you cannot directly call this file’);

# double check we have a user

if (empty($userid)) return;

# get the users profile data

$spProfileOptions = sp_get_option(‘sfprofile’);

$out = ”;

$out.= ‘<p>’.$spProfileOptions[‘sfprofiletext’].'</p>’;

$out.= ‘<p>’.sp_text(‘Your History’).'</p>’;

$out.= ‘<hr>’;

# start the form

$out.= ‘<div class=”spProfileOverview”>’;

$out = apply_filters(‘sph_ProfileOverviewFormTop’, $out, $userid);

$out = apply_filters(‘sph_ProfileFormTop’, $out, $userid, $thisSlug);

$tout = ”;

$tout.= ‘<div class=”spColumnSection spProfileLeftCol”>’;

$tout.= ‘<p class=”spProfileLabel”>’.sp_text(‘User’).’: </p>’;

$tout.= ‘</div>’;

$tout.= ‘<div class=”spColumnSection spProfileSpacerCol”></div>’;

$tout.= ‘<div class=”spColumnSection spProfileRightCol”>’;

$tout.= ‘<p class=”spProfileLabel”>’.$spProfileUser->display_name.'</p>’;

$tout.= ‘</div>’;

$out.= apply_filters(‘sph_ProfileUserDisplayName’, $tout, $userid, $thisSlug);

$tout = ”;

$tout.= ‘<div class=”spColumnSection spProfileLeftCol”>’;

$tout.= ‘<p class=”spProfileLabel”>’.sp_text(‘Member Since’).’: </p>’;

$tout.= ‘</div>’;

$tout.= ‘<div class=”spColumnSection spProfileSpacerCol”></div>’;

$tout.= ‘<div class=”spColumnSection spProfileRightCol”>’;

$tout.= ‘<p class=”spProfileLabel”>’.sp_date(‘d’, $spProfileUser->user_registered).'</p>’;

$tout.= ‘</div>’;

$out.= apply_filters(‘sph_ProfileUserMemberSince’, $tout, $userid, $thisSlug);

$tout = ”;

$tout.= ‘<div class=”spColumnSection spProfileLeftCol”>’;

$tout.= ‘<p class=”spProfileLabel”>’.sp_text(‘Last Visited’).’: </p>’;

$tout.= ‘</div>’;

$tout.= ‘<div class=”spColumnSection spProfileSpacerCol”></div>’;

$tout.= ‘<div class=”spColumnSection spProfileRightCol”>’;

$tout.= ‘<p class=”spProfileLabel”>’.sp_date(‘d’, $spProfileUser->lastvisit).’ ‘.sp_date(‘t’, $spProfileUser->lastvisit).'</p>’;

$tout.= ‘</div>’;

$out.= apply_filters(‘sph_ProfileUserLastVisited’, $tout, $userid, $thisSlug);

$tout = ”;

$tout.= ‘<div class=”spColumnSection spProfileLeftCol”>’;

$tout.= ‘<p class=”spProfileLabel”>’.sp_text(‘Posts’).’: </p>’;

$tout.= ‘</div>’;

$tout.= ‘<div class=”spColumnSection spProfileSpacerCol”></div>’;

$tout.= ‘<div class=”spColumnSection spProfileRightCol”>’;

$tout.= ‘<p class=”spProfileLabel”>’.$spProfileUser->posts.'</p>’;

$tout.= ‘</div>’;

$out.= apply_filters(‘sph_ProfileUserPosts’, $tout, $userid, $thisSlug);

$tout = ”;

$tout.= ‘<div class=”spColumnSection spProfileLeftCol”>’;

$tout.= ‘<p class=”spProfileLabel”>’.sp_text(‘Your Feedkey’).’: </p>’;

$tout.= ‘</div>’;

$tout.= ‘<div class=”spColumnSection spProfileSpacerCol”></div>’;

$tout.= ‘<div class=”spColumnSection spProfileRightCol”>’;

$tout.= ‘<p class=”spProfileLabel”>’.$spProfileUser->feedkey.'</p>’;

$tout.= ‘</div>’;

$out.= apply_filters(‘sph_ProfileUserFeedkey’, $tout, $userid, $thisSlug);

if(empty($spProfileUser->timezone_string)) $spProfileUser->timezone_string = get_option(‘timezone_string’);

date_default_timezone_set($spProfileUser->timezone_string);

$tout = ”;

$tout.= ‘<div class=”spColumnSection spProfileLeftCol”>’;

$tout.= ‘<p class=”spProfileLabel”>’.sp_text(‘Your Timezone’).’: </p>’;

$tout.= ‘</div>’;

$tout.= ‘<div class=”spColumnSection spProfileSpacerCol”></div>’;

$tout.= ‘<div class=”spColumnSection spProfileRightCol”>’;

$tout.= ‘<p class=”spProfileLabel”>’.$spProfileUser->timezone_string.'</p>’;

$tout.= ‘<p><small>’.sp_text(‘Local Time’).’: ‘.sp_date(‘d’, date(SFDATES)).’ ‘.sp_date(‘t’, date(SFTIMES)).'</small></p>’;

$tout.= ‘<p><small>’.sp_text(‘Change your timezone on options – display’).'</small></p>’;

$tout.= ‘</div>’;

$out.= apply_filters(‘sph_ProfileUserTimezone’, $tout, $userid, $thisSlug);

$out = apply_filters(‘sph_ProfileOverviewFormBottom’, $out, $userid);

$out = apply_filters(‘sph_ProfileFormBottom’, $out, $userid, $thisSlug);

$tout = ”;

$tout.= ‘<div class=”spColumnSection spProfileLeftCol”></div>’;

$tout.= ‘<div class=”spColumnSection spProfileSpacerCol”></div>’;

$tout.= ‘<div class=”spColumnSection spProfileRightCol”>’;

$tout.= ‘<form action=”‘.SFHOMEURL.’index.php?sp_ahah=search&sfnonce=’.wp_create_nonce(‘forum-ahah’).'” method=”post” id=”searchposts” name=”searchposts”>’;

$tout.= ‘<input type=”hidden” class=”sfhiddeninput” name=”searchoption” id=”searchoption” value=”2″ />’;

$tout.= ‘<input type=”hidden” class=”sfhiddeninput” name=”userid” id=”userid” value=”‘.$userid.'” />’;

$tout.= ‘<input type=”submit” class=”spSubmit” name=”membersearch” value=”‘.sp_text(‘List Topics You Have Posted To’).'” />’;

$tout.= ‘<input type=”submit” class=”spSubmit” name=”memberstarted” value=”‘.sp_text(‘List Topics You Started’).'” />’;

$tout.= ‘</form>’;

$out.= apply_filters(‘sph_ProfileUserTopicsPosted’, $tout, $userid, $thisSlug);

$out.= ‘</div>’;

$out.= “</div>n”;

$out = apply_filters(‘sph_ProfileOverviewForm’, $out, $userid);

echo $out;

?>