
Notice: Only variables should be assigned by reference in /membri2/lantaca/fp-includes/core/core.system.php on line 172
Notice: Only variables should be assigned by reference in /membri2/lantaca/fp-includes/core/core.system.php on line 174
XML-RPC server accepts POST requests only.
http://lantaca.altervista.orghttp://lantaca.altervista.org/fp-plugins/remoteposting/inc/xmlrpc.php
error_reporting(E_ALL & ~E_NOTICE); error_reporting(E_ALL & ~E_NOTICE); the server responses in an invalid way. check the URL and try again.
Notice: Only variables should be assigned by reference in /membri/nico202/fp-includes/core/core.system.php on line 172
Notice: Only variables should be assigned by reference in /membri/nico202/fp-includes/core/core.system.php on line 174
XML-RPC server accepts POST requests only.
<?php
// defaults.php
// this file defines standard positions of some important
// dirs or files.
// For security reasons
// these can't be modified in the common settings panels
// but only through this file.
// If you want to change these constants, just change
// the second parameter.
// We suggest not to define here your owns, but instead
// inmplementing them as plugins
// legacy mode; needed with some ill-formed spb files
define('DUMB_MODE_ENABLED', false);
// first some webserver setup...
//here I tried to put one, the other, and both the following two line, without positive results
error_reporting(E_ALL & ~E_NOTICE);
error_reporting(0);
// here's where your server save session-related stuff.
// If you don't experience any session-related problem, you
// you can leave it blank and it will default to standard webserver config
define('SESSION_PATH', '');
// absolute path to your webserver dir; if you don't experience any problem
// you can leave this as it is
define('ABS_PATH', dirname(__FILE__).'/');
// here was blog root in earlier versions. This has been moved to config_load()
// here are default config files
define('FP_DEFAULTS', 'fp-defaults/');
// all writable directories go here.
define('FP_CONTENT', 'fp-content/'); //must be chmodded to 0777
// blog configurations files
define('CONFIG_DIR', FP_CONTENT . 'config/'); //must be chmodded to 0777
define('CONFIG_FILE', CONFIG_DIR . 'settings.conf.php');
define('HASHSALT_FILE', CONFIG_DIR . 'hashsalt.conf.php');
define('CONFIG_DEFAULT', FP_DEFAULTS. 'settings-defaults.php');
define('USERS_DIR', FP_CONTENT . 'users/');
// here we'll store all your entries, comments, static pages and blocks
// comments are stored automatically in subdirs of the dir CONTENT_DIR
define('CONTENT_DIR', FP_CONTENT . 'content/');
//define('BLOCKS_DIR', CONTENT_DIR . 'blocks/');
// !!! CRITICAL !!!
// all includes file
define('FP_INCLUDES', 'fp-includes/');
// core include scripts
define('INCLUDES_DIR', FP_INCLUDES . 'core/');
// smarty engine
define('SMARTY_DIR', ABS_PATH . FP_INCLUDES . 'smarty/');
define('FP_INTERFACE', 'fp-interface/');
// theme dir
define('THEMES_DIR', FP_INTERFACE . 'themes/');
// language files
define('LANG_DIR', FP_INTERFACE . 'lang/');
// misc forms
define('SHARED_TPLS', ABS_PATH . FP_INTERFACE . 'sharedtpls/');
// here is where all plugins are saved
define('PLUGINS_DIR', 'fp-plugins/');
define('ADMIN_DIR', 'admin/');
// cache file name and path.
define('CACHE_DIR', FP_CONTENT . 'cache/');
define('CACHE_FILE', '%%cached_list.php');
define('INDEX_DIR', FP_CONTENT.'index/');
define('LOCKFILE', FP_CONTENT . '%%setup.lock');
// these will be probably moved soon to plugins
// here is where all the uploaded images will be saved
define('IMAGES_DIR', FP_CONTENT . 'images/');
// here is where all the attachments will be saved
define('ATTACHS_DIR', FP_CONTENT . 'attachs/');
define('LANG_DEFAULT', 'en-us');
define('BPT_SORT', SORT_DESC);
set_include_path(ABS_PATH);
// compatibility with ISS
if (!isset($_SERVER['REQUEST_URI']))
$_SERVER['REQUEST_URI'] = 'http://localhost/flatpress/';
#define('BLOG_ROOT', dirname($_SERVER['PHP_SELF']) . '/');
define('BLOG_ROOT', ('/'==($v=dirname($_SERVER['SCRIPT_NAME']))? $v : $v.'/') );
define('BLOG_BASEURL', 'http://'.$_SERVER['HTTP_HOST']. BLOG_ROOT);
?> $GLOBALS['theme'] =& theme_loadsettings();
$GLOBALS['lang'] =& lang_load(); $GLOBALS['theme'] = theme_loadsettings();
$GLOBALS['lang'] = lang_load(); The server reported an error with the following URL:
http://[MY_SERVER_NAME]/fp/?xmlrpc
500 Internal Server Error
// Rem to enable Windows Live Writer $GLOBALS['theme'] =& theme_loadsettings();
// Rem to enable Windows Live Writer $GLOBALS['lang'] =& lang_load();
$GLOBALS['theme'] = theme_loadsettings();
$GLOBALS['lang'] = lang_load();The response to the metaWeblog.editPost method received from the blog server was invalid:
Invalid response document returned from XmlRpc serverPosted By: NoWhereManenable FTP uploading if available in your client
function _dummy() {} set_error_handler('_dummy'); Posted By: NoWhereMansounds strange. try killing the warnings with this code in defaults.phpfunction _dummy() {} set_error_handler('_dummy');
Posted By: NoWhereManversion 1.3 uploaded, fixes bugs with categories and recent posts (should fix the scribefire errors).
made less hackish. the entry point url (if asked) is nowhttp://example.com/flatpress/?xmlrpc
Posted By: emkoHello it's a great plugin. I have just little problem with posting from LiveWriter.
Whenever I create a new line by enter key, html code is posted and it is visible in the blog.
I use theme SimplaFlex can it be the reason?
Thanks
Posted By: StanleyJust for comparison, and to make sure you have everything correct before you start (andI have no ideaif the following has any bearing on your problem, but it's worth checking/correcting these things anyway) :[...]
# Also check that BBCODE_ESCAPE_HTML is set to false in fp-plugins/bbcode/plugin.bbcode.php (appears to be included as Line 11 on the version of that file included in the TinyMCE all-in-one distribution).
Posted By: agentmishrai am using the latest flatpress, simplaflex-red theme, no tinymce, remoteposting enabled.
as per ur instructions in the above posts, i have made the nessecary changes in the fp-includes/core/core.system.php
i am getting the same :
"The response to the metaWeblog.editPost method received from the blog server was invalid:
Invalid response document returned from XmlRpc server"
i dont know wat to do, pl guide me
// defaults.php
// this file defines standard positions of some important
// dirs or files.
// For security reasons
// these can't be modified in the common settings panels
// but only through this file.
// If you want to change these constants, just change
// the second parameter.
// We suggest not to define here your owns, but instead
// inmplementing them as plugins
// Start of CE v20090722_01 Modifications
// Added error reporting requirement to enable Windows Live Writer
error_reporting(E_ALL & ~E_NOTICE);
// Added function to suppress anomalous error message when UPDATING posts with Windows Live Writer
// Tested and proven 23/7/09
function _dummy() {} set_error_handler('_dummy');
// End of CE v20090722_01 Modifications
// legacy mode; needed with some ill-formed spb files
define('DUMB_MODE_ENABLED', false);
// first some webserver setup...Posted By: agentmishrai have ftp access, but am not posting images
i am just trying out with live writer, and i get those messages!!!!
do we get any other tool other than live writer for remote blogging?
define('BBCODE_ESCAPE_HTML', false); Posted By: agentmishrait did some work but now live writer isnt asking for the plugin path, but gives an error that
http://amitkumarmishra.com/xmlrpc.php not found???
i believe live writer should ask about the plugin path!
Posted By: agentmishrahere's wat i did
i created a file by the name "xmlrpc.php"
redirected it tohttp://amitkumarmishra.com/fp-plugins/remoteposting/inc/xmlrpc.php
after that, when i tried, it gives the same old error
"The response to the metaWeblog.editPost method received from the blog server was invalid:
Invalid response document returned from XmlRpc server"
i checked the bbcode plugin, things are fine
i just dont understand, wat 2 do?
sorry i am asking so much 4m u!
but pl help me!
Posted By: agentmishrathe settings are being asked just at the livewriter startup, so i am unable to define any extra entry point.
it asks for my web address for blog -----
user -----
password ------
Posted By: agentmishrahttp://www.flatpress.org/forums/comments.php?DiscussionID=737&page=1#Item_17
the above is my problem
Posted By: StanleyI'll upgrade to the latest version of Live Writer and try it on a fresh install of the latest version of FP. It may be that there's something new and interesting happening.
Posted By: agentmishrai did that, but not working
i m using portable windows live writer 2009
link of the same
http://www.labnol.org/forums/topic/get-windows-live-writer-2009-portable
Posted By: agentmishrahey buddy, thanks a million
problem sorted out
my siteamitkumarmishra.comis accepting remote posts
i could successfull do it after your help
Posted By: NoWhereMannew (experimental) feature: file upload!
The response to the metaWeblog.newPost method received from the blog server was invalid:
Invalid response document returned from XmlRpc server