Hi,
I am trying to use the solution you have mentioned with regards to using the kl_php module.
I am using a dedicated server on one domain and trying to use the Innvocation using XML-RPC option.
I have tried 2 solutions but keep running into varitions of what appears to be the same problem and i am wondering if anybody can help.
1. Using Remote Server using the mod_openads
Using this i am able to display 1 advert on the site fine, but as soon as i copy the module, additional modules do not appear, they just appear as blank boxes.
(i would appreciate if someone has a solution to this if they could share it)
From here i went to the solution i found on this board:
2. Using kl_php module/mambot
Using this method again if i enter the invocation code created removing the at the end as described i can get 1 advert to work, however i needed to copy the lib-xmlrpc.inc.php and lib-xmlrpc.class.inc.php into the module directory and this would then show 1 advert remotely correctly using the remote XML-RPC code
Again here now when i copied the module and modify it to show a 2nd advert i recieve the following error message:
Fatal error: Cannot redeclare xmlrpc_entity_decode() (previously declared in /home/sitename/public_html/modules/lib-xmlrpc.inc.php:213) in /home/sitename/public_html/modules/lib-xmlrpc.inc.php on line 213
if i remove the :
Code: Select all
require('lib-xmlrpc-class.inc.php'); [b]<<<<<<<<remove this line[/b] $xmlrpcbanner = new phpAds_XmlRpc('www.mosque-online.com', '/Ads');
$xmlrpcbanner->view('zone:12', 0, '', '', '0');
then the error message changes to:
Parse error: syntax error, unexpected '<' in /home/sitename/public_html/modules/mod_kl_evalphp.php(27) : eval()'d code on line 1
unfortunately im not a coder and cannot seem to decifier further on how to get this working.
Any help would be appreciated.
Thanks