new entry

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Guest

new entry

Post by Guest »

Serendipity is now saving your entry, creating trackbacks and performing possible XML-RPC calls. This may take a while..
Guest

Post by Guest »

whoops, I accidently hit the submit key.

Question was: why would it take some half a minute to create new entries. While waiting, this msg will appear:

Serendipity is now saving your entry, creating trackbacks and performing possible XML-RPC calls. This may take a while..


TIA
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

actually it doesn't take time at all. It just doesn't tells u when its done. usually i wait till i see that its starting to load the WYSIWYG.
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Actually it DOES tell you when it's finished. And it does take up to half a minute, because sending XML-RPC request to other servers is time consuming, especially if you checked many services to ping.

It also heavily depends on how your server is connected to the internet, as higher latency positively influences the speed of HTTP requests.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

garvinhicking wrote:Actually it DOES tell you when it's finished. And it does take up to half a minute, because sending XML-RPC request to other servers is time consuming, especially if you checked many services to ping.
How do I go about checking what services have been checked. I am not able to fing that in the admin. TIA.
Guest

Post by Guest »

I have also installed version 0.81 on the SAME server and posting new entry is a breeze. But why does 0.84 took a minute to post new story ?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Because in 0.8.1 the posting to Servers was only possible when your PHP supported allow_url_fopen. In 0.8.4 it also works without that.

Thus, in your 0.8.1 the XML-RPC did not actually do anything.

To check which services are enabled, check your entry creation screen at the bottom, in the section "advanced options". There are many checkboxes for "Announce Entries to". Each checked one is enabled by default.

To disable those, go to your plugin configuration screen, click on the "Announce entries" plugin and on the next page uncheck the services you do not want to ping. If you don't want to ping any server, just uninstall the Announce Entries plugin by deleting it in the plugin config manager.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Getting confused

Post by Guest »

Very strange. I dont even install the 'Announce entries' !!

Could trackback be the culprit? I want comment but NOT trackback and pingback. I have Spam Protector installed with these:
- Emergency comment shutdown = No
- Do not allow duplicate comments = Yes
- IP block interval = 0
- Reject comments that containt SURBL-listed hosts= Yes
- Reject comments from RBL-listed hosts = Yes
- Which RBLs should be contacted = sbl-xbl.spamhaus.org, bl.spamcop.net
- Enable Captchas = Yes
- Force captchas after how many days = 7
- Force comment moderation after how many days = 30
- How to treat comments made via APIs = none
- How many links before a comment gets moderated = 7
- How many links before a comment gets rejected = 13
- Activate wordfilter = moderate
- Wordfilter for URLs = 8gold\.com;911easymoney\.com;canadianlabels\.net;condodream\.com;crepesuzette\.com;debt-help-bill-consolidation-elimination\.com;fidelityfunding\.net;flafeber\.com;gb\.com;houseofsevengables\.com;instant-quick-money-cash-advance-personal-loans-until-pay-day\.com;mediavisor\.com;newtruths\.com;oiline\.com;onlinegamingassociation\.com;online\-+poker\.com;popwow\.com;royalmailhotel\.com;spoodles\.com;sportsparent\.com;stmaryonline\.org;thatwhichis\.com;tmsathai\.org;uaeecommerce\.com;learnhowtoplay\.com
- Wordfilter for author names = casino;phentermine;credit;loans;poker
- Hide E-Mail addresses of commenting users = No
- Choose logging method = Database
- Logfile location = /export/home/blog/spamblock.log

But I dont see any option to switch off trackback and pingback ?

Please advise
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Getting confused

Post by garvinhicking »

Sending trackbacks can be modified by either installing the serendipity_event_trackback additional plugin ("Manual Trackback"), as this plugin offers a trigger to not send trackbacks for an entry in the extended options screen.

The other way is, edit your serendipity_config.inc.php file and insert a

Code: Select all

$serendipity['noautodiscovery'] = true;
line after the $serendipity['Version'] variable.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

Still no go. I tried both ways...
1) serendipity_config.ini.php
...
...
// The version string
$serendipity['version'] = '0.8.4';
$serendipity['noautodiscovery'] = true;
...
...

2) Installing serendipity_event_trackback
Under Advanced Options , I unchecked Trackback-Control Send Trackbacks to links found in the entry


still new entries took 54 seconds :(

I am losing hope...help!!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Which event plugins do you have installed? 54 seconds is not right.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

I have decided to reinstall everything. I dropped my database and rm -f my serendipity directory. Finally I reinstalled and got these warning msgs:

Code: Select all

 Checking to see if the database and tables already exists... they do not
Creating default database setup... Done
Creating primary author 'john'... Done
Setting default template... Done
Installing default plugins...
Warning: main(S9Y_PEAR_PATHXML/RPC.php): failed to open stream: No such file or directory in /export/home/blog/include/functions.inc.php on line 9

Warning: main(): Failed opening 'S9Y_PEAR_PATHXML/RPC.php' for inclusion (include_path='.:/export/home/httpd/phpClass:/export/home/httpd/phpINC:/usr/local/lib/php') in /export/home/blog/include/functions.inc.php on line 9
Done
Attempting to write .htaccess file...... Done
Serendipity has been successfully installed
But why does the install script did not replace S9Y_PEAR_PATH with something?

And I know that RPC.php is present in my PEAR path:

Code: Select all

[root@svr23 blog]# ll /usr/local/lib/php/XML/
total 96
-rw-r--r--    1 root     root         9410 Jan 16  2004 Parser.php
drwxr-xr-x    2 root     root         4096 Jun 17 18:05 RPC
-rw-r--r--    1 root     root        49664 Jun 17 18:05 RPC.php
-rw-r--r--    1 root     root        21002 Apr 29  2004 Util.php
The best thing: Serendipity runs fine and it took almost immediately to post new stories !!! :o [/b]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

The notice on the installation can be ignored - it's a slip in the 0.8.4 release that doesn'T do anything bad and has been fixed for 0.9 already.

The installer does not need RPC.php, so that's all fine.

If it now runs for you, I do think it must've been a plugin interfering...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply