Page 1 of 1

co-authors-not working.

Posted: Tue Jul 19, 2005 12:22 pm
by sweety
hi all,
in the new entry page...... if I give any website address in my body( for ex:www.yahoomail.com), the blog is being posted as 'everyone' even though I mark it as 'co authors'. i.e everyone can view my blog even without logging in irrespective of my marking 'co-authors'..............why is this happening???can any one tell me how to fix this error?

Re: co-authors-not working.

Posted: Tue Jul 19, 2005 12:37 pm
by garvinhicking
Are you sure others can see the entry?

Because if you are logged in to Serendipity, you get a cookie and are always logged in to the frontend.

Tell me your Blog URL and I will tell you if I can see the entry.

Regards,
Garvin

Posted: Tue Jul 19, 2005 3:30 pm
by sweety
hi garvin hicking,
I am sure that its not working..I understood the problem also.......but don't know how to resolve.
when I give some website address ,say ,www.yahoomail.com in my body and click on save............it's giving message as 'checking for trackbacks....' and the entry is being stored but in the serendipity_entryproperties database, the epaccess for that entry is not being stored and hence it is showing as to be viewed by everyone............
How can I resolve it??
I could not post u my url since it is not on internet......I installed it in my personal system

Posted: Tue Jul 19, 2005 4:32 pm
by garvinhicking
Please post a screenshot of your admin panel just before you hit save. I am especially interested in how your "extended properties" area looks like.

If the "ep_access" value does not get inserted, there's a flaw in your installation, as it does work in other environments.Then I'll need this information as well:

1. Serendipity version
2. Version of the entryproperties plugin
3. Did you modify any files manually?
4. Your Server OS,PHP version and Database Version
5. Does your serendipity_entryproperties table contain other entries?
5. Which browser are you using?

Regards,
Garvin

Posted: Wed Jul 20, 2005 6:44 am
by sweety
hi
sorry I did'nt understand how to post a screen shot here..
however my extended properties look like this :


Advanced Options
Extended properties for entries
Mark this entry as a Sticky Post
Disable nl2br
Entries can be read by: Myself Co-authors Everyone


sorry we could'nt include the radio buttons.

This is the message we are getting after clicking on save:
Checking http://www.yahoomail.com for possible trackbacks...

version of entry properties plugin:php,v 1.18
i modified some files but never modified entry properties file.however
this problem is persisting from before any modifications are done.
OS: windows XP
browser: IE
Mysql-4.1
php-4
apache 2
Our serendipity_entryproperties table consists of other entries also.

[/url]

incredible mystery.........

Posted: Wed Jul 20, 2005 11:25 am
by sweety
hi,
really growing maddddddd
As u said, I changed the version of entryproperties plugin(v2).
After changing, it worked for some time(5 mins).........Then again it stopped working..same old error.........Again after 1 hr it worked continuosly for 3 times ......Then again it stopped working...........

Not at all understanding what is happening....Really growing mad :(

Posted: Wed Jul 20, 2005 11:29 am
by garvinhicking
You can post a screenshot by making a screenshot and then saving that file on your host, and then give me the URL to that file :)

Is there anything more said after the "Checking XXX for trackbacks" or does it stop there? if so, it seems that your host is blocking outgoing connections from the server and thus the full process cannot be performed.

Can you try to create an entry WITHOUT hyperlinks and see if the ep_access is then inserted?

If not, I still need your Serendipity version, but I cannot spot the problem on your host, so I can only offer to test it, if you give me FTP access to your blog temporarily. If you want to do this, please contact me privately.

Regards,
Garvin

Posted: Wed Jul 20, 2005 12:24 pm
by sweety
no..nothing is said after checkingXXX for trackbacks.....moreover, even if u give more than one hyperlink, it gives this msg only for the first link......and stops there itself. This is why we thought probably there is some problem with trackbacks.........but twice or thrice it worked.(don't know how.we didn't even made any code changes)

If there is no hyperlink, everything is working fine.even the epaccess is inserted. :oops:

Posted: Wed Jul 20, 2005 12:51 pm
by garvinhicking
Ah, now I am on track.

Your server is facing network connection problems. Please talk to your system administrator and ask him if firewalls are in place, or if outgoing connections are restricted, or if your host is on a "bad" internet connection.

But it's a problem with your server then, that I can tell you.

Regards,
Garvin

Posted: Wed Jul 20, 2005 3:31 pm
by Guest
yes Garvin,
you are absolutely correct.....It must be a ntw problem becos it is working only for some specific links and not for others.........

But is there a way to change the code so that first entry properties are saved and then it checks for trackbacks ,so that this ntw problem can be ignored???

One more doubt.....in code, when clicked on save.....it is calling a checksave function which in turn is calling a backend_entry_checksave case(in functions_entries file).....In which plugin or file is this case defined??
Plz do me this favor.....
I really owe a lot to u for all the help u did and that u would do.......
Thanks a ton :)

Posted: Wed Jul 20, 2005 4:09 pm
by garvinhicking
The code could be changed, but that would mean other drawbacks. Plugins can only get executed once the internal processes of s9y are finished; it wouldn't make sense to execute them before.

And it would not be a fix, only a workaround which leaves the original problem intact. Instead I'd focus on getting the network working :)

I don't understand what you mean about the checksave thing. Can you please try to describe what you mean in complety, fully spelled and understandable sentences? :-)

Then I'll do my best to help you! :)

Regards,
Garvin

check save

Posted: Wed Jul 20, 2005 4:26 pm
by sweety
sorry for not being clear....
In serendipity\include\admin\functions_entries.inc file, it is written that when we click on "save" of entry page, it must go to a function called check save which is as follows:

function checkSave() {
<?php
$void = null;
serendipity_plugin_api::hook_event('backend_entry_checkSave', $void);
?>
return true;
}


But I could'nt find where that 'backend_entry_checkSave' is present. I searched for it in some related plugins but could not fine any switch case with 'backend_entry_checkSave'.
Can you plz guide me what serendipity_plugin_api::hook_event('backend_entry_checkSave',$void); means and what it does and where it goes.....
Thanku and sorry if I am irritating u a lot :D

Re: check save

Posted: Wed Jul 20, 2005 8:46 pm
by garvinhicking
Ah. Okay. An example for a plugin using that hook is the "serendipity_event_entrycheck" plugin from additional plugins. So this is an optional function that plugins can hook into.

So if you don't have that plugin activated, this function does nothing for you as it calls nothing. :)

Regards,
Garvin