View Single Post
  #41  
Old 08-19-2007, 06:55 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have noticed on alot asking us to help make releases which we are doing on a per request basis, we have noticed that some are missing the core requirements of having XML_RPC compiled in to make this work...

If you upload the rpc_users.php file and then display it in a browser and see this:


PHP Code:
Warning: require_once(XML/RPC.php) [function.require-once]: failed to open streamNo such file or directory in /rpc_users.php on line 6

Fatal error
:  require_once() [function.require]: Failed opening required 'XML/RPC.php' (include_path='.:/usr/local/lib/php/'in /*************/*************/*************/*************/www/rpc_users.php on line 6 
This means one thing, your PHP hasn't been complied in with XML_RPC, do note if you do a phpinfo() or view your PHP info make sure to verify that you have XML_RPC compiled in and it's showing.

If you have installed this on your forums, and go point your browser to the rpc_users.php and see this:

Quote:
Nothing for you to see here. Please move along.
This means everything works perfectly

Thought I would post this in hopes to help others out with this issue, make sure you have XML_RPC installed to use this. It's the means of communication of the application to the forums/server.

Best regards,
BTR




Edited and added in:

If you have SSH you can verify if PHP Pear package XML_RPC is installed by checking:

Quote:
> pear info xml_rpc
About pear.php.net/XML_RPC-1.5.1
================================
Release Type PEAR-style PHP-based Package
Name XML_RPC
Channel pear.php.net
Summary PHP implementation of the XML-RPC protocol
Description A PEAR-ified version of Useful Inc's XML-RPC for
PHP.

It has support for HTTP/HTTPS transport,
proxies and authentication.
Maintainers Stig Bakken <stig@php.net> (lead)
Daniel Convissor <danielc@php.net> (lead)
Release Date 2006-10-28 13:06:09
Release Version 1.5.1 (stable)
API Version 1.5.0 (stable)
License PHP License
(http://www.php.net/license/3_01.txt)
Release Notes * Turn passing payload through
mb_convert_encoding() off by default. Use new
XML_RPC_Message::setConvertPayloadEncoding()
and XML_RPC_Server::setConvertPayloadEncoding()
to turn it on. Bug 8632.
* Have XML_RPC_Value::scalarval() return FALSE
if value is not a scalar. Bug 8251.
Compatible with pear.php.net/PEAR
Versions >= 1.4.0a1, <= 1.4.9
Required Dependencies PHP version 4.2.0
PEAR installer version 1.4.0a1 or newer
Extension xml
package.xml version 2.0
Last Modified 2006-12-14 22:21
Previous Installed 1.4.7
Version
>
If it's not showing up, you can type in the following to be sure, in ours it shows installed so it's just simply ignoring the pear command:

Quote:
> pear install xml_rpc
Ignoring installed package pear/xml_rpc
Nothing to install
>
To learn more about XML_RPC go here:

http://pear.php.net/package/XML_RPC/

Hope this helps!
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01103 seconds
  • Memory Usage 1,784KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete