Are you sure that ossn version 4.4 stable ?

SAID ELSHIKHA Posted in General Discussion 7 years ago

Are you sure that ossn version 4.4 stable ?
I ask this question because my network users faceded many trouble with posting and comments.
for examble I failed many times to post long numberd post and finally I deleted digit (10) then accepted I do not know why the problem with digit (10).
also some time accept comment some time not accept.
please support.

This topic has been closed!
Replies
German Michael Zülsdorff Replied 7 years ago

Another 4 days have passed, and still no information from your side.

That's frustrating and perhaps this is the right time to remind you on the the terms of this community you have agreed with registering:


CREATING DISCUSSING TOPICS

If you are creating/adding new discussion topic following points should be kept in mind.
     If you are reporting issue , you should follow our reporting bug guidelines. https://www.opensource-socialnetwork.org/wiki/view/705/how-to-report-a-issue-on-githubcommunity
     Arguing with core team will results in your account termination without any notice.
     Search existing topics before creating new topic.
     If you solved your issue you should post the steps you followed to solve issue.
     Mention the steps to reproduce the issue.
The discussion topic must be properly formatted.

I spent a lot of time investigating your "problem" and gave you detailed hints how to track things down. All this doesn't make much sense if you are not willing to co-operate on the other side.
You were spending almost a whole day on trying out Malik's theme - but taking 5 minutes to load an error file log into your text editor and answering the 3 simple questions of mine seems to be too much.
So don't expect any more help on this topic. It'll be closed now.

Sanskrit SAID ELSHIKHA Replied 7 years ago

@Zet man
OK I will do

German Michael Zülsdorff Replied 7 years ago

Please give us an update on this case.

After 5 days of debugging there should be some meaningful information available like
- how many postings did you get in total?
- how many postings result in failures?
- did these failures happen standalone or are they located within blocks of many other postings made simultaneously?

Sanskrit SAID ELSHIKHA Replied 7 years ago

@Zet
it seem to be you are sure now that the problem is because server issue
So, I did what you asked to modefy the OssnWall.php file
Thanks

German Michael Zülsdorff Replied 7 years ago

Okay,
in order to proceed, let's summarize what we know and what we can sort out:
1. it happens randomly
2. it's not content dependant, since you said you can re-post EXACTLY the same posting some time later successfully
3. you are not losing sessions, since you said you can go on using your site an re-post WITHOUT having to re-login

(Correct me if anything isn't completely true, as it may lead wrong assumptions otherwise.)

So it looks like you are running out of database resources from time to time. This can happen
- because your own site is using more resources than allowed by your provider,
- or another client (in case of shared hosting) is consuming more than allowed.

In order to have at least some exact information handy when it happened
- asure that Ossn error reporting is still enabled
- open the file /home/nasihah/public_html/components/OssnWall/classes/OssnWall.php
- and insert error_log("post success: " . $this->poster_guid); on line 91 before the statement return $this->wallguid;
- next, three line below insert error_log("post FAILS: " . $this->poster_guid); before the statement return true;

So, the in the end the code fragment should look like this:

                ossn_trigger_callback('wall', 'post:created', $params);
                    error_log('post success: ' . $this->poster_guid);
                    return $this->wallguid;
            }
            error_log('post FAILS: ' . $this->poster_guid);
            return true;
    }

In case you have shell access to your machine, you may issue the command

tail -f /home/nasihah/public_html/error_log

from the command line and see a new logged line whenever a posting is made

Since every logged line comes with a time-stamp, you can tell your provider exactly now, when posting FAiLS, and he is (hopefully) able to investigate what happened at that time.

Sanskrit SAID ELSHIKHA Replied 7 years ago

@Arsalan
Apache Version 2.2.31
PHP Version 5.4.45
MySQL Version 5.5.51-38.2
Architecture x86_64
Operating System linux
it's hostgator reseller account and our website is on this reseller

Indonesian Arsalan Shah Replied 7 years ago

Please provide me your server specification with php , mysql, apache version and the RAM, disk etc.

Sanskrit SAID ELSHIKHA Replied 7 years ago

@Zet Man

> First of all:

noted

> 1. Does your problem appear at special times - or randomly the whole day long?

The problem appears Randomly the whole day long and reported from users from different countries.

> 2. Is there anything special with your posting that triggers the problem?

No
> Whenever posting (post or comment) fails:

some time post some time comment

> Can you repost immediately again?
>
> Or do you have to re-login before you can post again?

I can repost immediately again after some trials.

German Michael Zülsdorff Replied 7 years ago

Said reported:

> Again I can not comment in my ossn Web site nasihah.net With same
> error message Some thing wrong

First of all: Please don't open a new thread when the same problem continues and/or is still unresolved.

Question: Whenever posting (post or comment) fails:
Can you repost immediately again?
Or do you have to re-login before you can post again?

pk Malik Umer Farooq Replied 7 years ago

Ok sorry for wrong logic