web services: random ads

Functionality discussions and feature requests

Moderators: hugo, alexandre, rmvanarkel

Post Reply
Floris
Posts: 10
Joined: Fri Apr 15, 2011 9:11 am
Location: Netherlands / Amsterdam

web services: random ads

Post by Floris »

Hello,

I am trying to get a grip on the web services using php, and especially want to get acces to the advertisements to publish them on our community site. But i can't get the syntax to work for me.

F.i. the example file (random ads w. php) in the Wiki doesn't list any ads at all and stumbles over the first line:
<td><img src="<?= thumbnail_url($ad->images) ?>"></td>

Are there examples anywhere that show how to get to the variables and functions in the Cyclos Webservice Object?

Thanks,
Floris
Amsterdam

hugo
Posts: 633
Joined: Sun Jun 18, 2006 1:40 pm

Post by hugo »

The code was indeed wrong. We have updated it
http://project.cyclos.org/wiki/index.ph ... rtisements

You can also download the Joomla module: http://project.cyclos.org/joomla/

jaime

sugestion

Post by jaime »

Hi floris,
a good startpoint could be also the member-site file at sourceforge files.

best regards,
Last edited by jaime on Wed Jul 06, 2011 4:34 am, edited 1 time in total.

Floris
Posts: 10
Joined: Fri Apr 15, 2011 9:11 am
Location: Netherlands / Amsterdam

Thanks for the reply

Post by Floris »

Hi Hugo, thanks for updating the randomAds example for php in the Wiki. It works - but after a few loads it fails again. I think the code somehow fucks up the soapserver if that´s possible. Could you have a quick look at it again?

Thanks for the links, Jaime, i will have a look at them! I am ok with php, but have never touched java, so maybe it's no use for me ..

Floris

skaunetobbe
Posts: 9
Joined: Tue Nov 01, 2011 12:43 pm

Getting the sample WS to work

Post by skaunetobbe »

(Cyclos 3.6_RC1)

I'm trying to get the random-advertisment sample to work but seem to be stuck at getting this error:
Fatal error: Uncaught SoapFault exception: [ns1:unauthorized-access] Server error: unauthorized-access in /app/www/index.php:19 Stack trace: #0 /app/www/index.php(19): SoapClient->__call('search', Array) #1 /app/www/index.php(19): SoapClient->search(Array) #2 {main} thrown in /app/www/index.php on line 19

I suspect I need to setup a proper webservice inside cyclos firt, but I cannot seem to find exactly how to do this...

skaunetobbe
Posts: 9
Joined: Tue Nov 01, 2011 12:43 pm

Post by skaunetobbe »

So I was able to get the example working running a local server and adding my local IP-adress.

BUT....for my production eniroment I intended to use heroku.com.
Any ideas why I can't get access to my WS from there?


The page is published at
https://evening-autumn-2717.herokuapp.c ... s_form.php

I've tried adding evening-autumn-2717.herokuapp.com to cyclos's WS. As well as all the IP-adresses found in the phpinfo output below. Nothing seems to help???

Included below is the output of phpinfo().

Code: Select all

PHP Version 5.3.6

System	Linux 17daadd2-0716-4ba8-bed7-0686bcb42456 2.6.32-316-ec2 #31-Ubuntu SMP Wed May 18 14:10:36 UTC 2011 x86_64
Build Date	Aug 23 2011 17:03:49
Configure Command	 './configure' '--prefix=/app/php' '--with-apxs2=/app/apache/bin/apxs' '--with-mysql' '--with-pdo-mysql' '--with-pgsql' '--with-pdo-pgsql' '--with-iconv' '--with-gd' '--with-curl=/usr/lib' '--with-config-file-path=/app/php' '--enable-soap=shared' '--with-openssl'
Server API	Apache 2.0 Handler
Virtual Directory Support	disabled
Configuration File (php.ini) Path	/app/php
Loaded Configuration File	/app/php/php.ini
Scan this dir for additional .ini files	/app/www
Additional .ini files parsed	(none)
PHP API	20090626
PHP Extension	20090626
Zend Extension	220090626
Zend Extension Build	API220090626,NTS
PHP Extension Build	API20090626,NTS
Debug Build	no
Thread Safety	disabled
Zend Memory Manager	enabled
Zend Multibyte Support	disabled
IPv6 Support	enabled
Registered PHP Streams	https, ftps, php, file, glob, data, http, ftp, phar
Registered Stream Socket Transports	tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters	convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

PHP Credits
Configuration
apache2handler
Apache Version	Apache/2.2.19 (Unix) PHP/5.3.6
Apache API Version	20051115
Server Administrator	you@example.com
Hostname:Port	127.0.0.1:0
User/Group	daemon(1)/1
Max Requests	Per Child: 10000 - Keep Alive: on - Max Per Connection: 100
Timeouts	Connection: 300 - Keep-Alive: 5
Virtual Server	No
Server Root	/app/apache/
Loaded Modules	core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter mod_log_config mod_env mod_setenvif mod_version prefork http_core mod_mime mod_status mod_autoindex mod_asis mod_cgi mod_negotiation mod_dir mod_actions mod_userdir mod_alias mod_rewrite mod_so mod_php5

Directive	Local Value	Master Value
engine	1	1
last_modified	0	0
xbithack	0	0

Apache Environment
Variable	Value
PORT	42299
HOME	/app
FACEBOOK_SECRET	a1d3e03b0a0b9c13f19fdd47b936feaa
PATH	/usr/local/bin:/usr/bin:/bin
FACEBOOK_APP_ID	292203937471118
PWD	/app
HTTP_X_FORWARDED_PROTO	https
HTTP_X_FORWARDED_PORT	443
HTTP_X_FORWARDED_FOR	193.45.43.33
HTTP_USER_AGENT	Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2
HTTP_REFERER	https://evening-autumn-2717.herokuapp.com/
HTTP_HOST	evening-autumn-2717.herokuapp.com
HTTP_COOKIE	PHPSESSID=eupfrc589qtpji9njc7gqh05g0; 292203937471118-fb-app=4d79a5b1cef46736655f2e5a4c70e7b0
HTTP_CONNECTION	keep-alive
HTTP_CACHE_CONTROL	max-age=0
HTTP_ACCEPT_LANGUAGE	sv-SE,sv;q=0.8,en-US;q=0.6,en;q=0.4
HTTP_ACCEPT_ENCODING	gzip,deflate,sdch
HTTP_ACCEPT_CHARSET	ISO-8859-1,utf-8;q=0.7,*;q=0.3
HTTP_ACCEPT	text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_X_HEROKU_QUEUE_WAIT_TIME	4
HTTP_X_HEROKU_QUEUE_DEPTH	0
HTTP_X_HEROKU_DYNOS_IN_USE	1
HTTP_X_REQUEST_START	1320853110008
SERVER_SIGNATURE	no value
SERVER_SOFTWARE	Apache/2.2.19 (Unix) PHP/5.3.6
SERVER_NAME	evening-autumn-2717.herokuapp.com
SERVER_ADDR	10.87.114.55
SERVER_PORT	80
REMOTE_ADDR	10.44.66.166
DOCUMENT_ROOT	/app/www
SERVER_ADMIN	you@example.com
SCRIPT_FILENAME	/app/www/index.php
REMOTE_PORT	53586
GATEWAY_INTERFACE	CGI/1.1
SERVER_PROTOCOL	HTTP/1.1
REQUEST_METHOD	GET
QUERY_STRING	state=4d79a5b1cef46736655f2e5a4c70e7b0&code=AQBAg3-ahXaWZV3nRc19-F87nG5337s6xwvhybbmgYuZ6Mm9wiGTmOsRYyrME5y7NhR9K-wI76G95MSoja9Ymr3iaEAzggG1yabCcYNQtCO0k5k6gsue84OvMt2alOE05-N4bPYz5Vkh4-0fYZYmCY8dsFEDKSYB694dSmr3Hsq9HJduXScAKyP_RVu48EhxWuM
REQUEST_URI	/?state=4d79a5b1cef46736655f2e5a4c70e7b0&code=AQBAg3-ahXaWZV3nRc19-F87nG5337s6xwvhybbmgYuZ6Mm9wiGTmOsRYyrME5y7NhR9K-wI76G95MSoja9Ymr3iaEAzggG1yabCcYNQtCO0k5k6gsue84OvMt2alOE05-N4bPYz5Vkh4-0fYZYmCY8dsFEDKSYB694dSmr3Hsq9HJduXScAKyP_RVu48EhxWuM
SCRIPT_NAME	/index.php

HTTP Headers Information
HTTP Request Headers
HTTP Request	GET /?state=4d79a5b1cef46736655f2e5a4c70e7b0&code=AQBAg3-ahXaWZV3nRc19-F87nG5337s6xwvhybbmgYuZ6Mm9wiGTmOsRYyrME5y7NhR9K-wI76G95MSoja9Ymr3iaEAzggG1yabCcYNQtCO0k5k6gsue84OvMt2alOE05-N4bPYz5Vkh4-0fYZYmCY8dsFEDKSYB694dSmr3Hsq9HJduXScAKyP_RVu48EhxWuM HTTP/1.1
X-Forwarded-Proto	https
X-Forwarded-Port	443
X-Forwarded-For	193.45.43.33
User-Agent	Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2
Referer	https://evening-autumn-2717.herokuapp.com/
Host	evening-autumn-2717.herokuapp.com
Cookie	PHPSESSID=eupfrc589qtpji9njc7gqh05g0; 292203937471118-fb-app=4d79a5b1cef46736655f2e5a4c70e7b0
Connection	keep-alive
Cache-Control	max-age=0
Accept-Language	sv-SE,sv;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Encoding	gzip,deflate,sdch
Accept-Charset	ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept	text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
X-Heroku-Queue-Wait-Time	4
X-Heroku-Queue-Depth	0
X-Heroku-Dynos-In-Use	1
X-Request-Start	1320853110008
HTTP Response Headers
X-Powered-By	PHP/5.3.6
Expires	Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control	no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma	no-cache
Keep-Alive	timeout=5, max=100
Connection	Keep-Alive
Transfer-Encoding	chunked
Content-Type	text/html

Core
PHP Version	5.3.6

Directive	Local Value	Master Value
allow_call_time_pass_reference	Off	Off
allow_url_fopen	On	On
allow_url_include	Off	Off
always_populate_raw_post_data	Off	Off
arg_separator.input	&	&
arg_separator.output	&	&
asp_tags	Off	Off
auto_append_file	no value	no value
auto_globals_jit	On	On
auto_prepend_file	no value	no value
browscap	no value	no value
default_charset	no value	no value
default_mimetype	text/html	text/html
define_syslog_variables	Off	Off
disable_classes	no value	no value
disable_functions	no value	no value
display_errors	On	On
display_startup_errors	Off	Off
doc_root	no value	no value
docref_ext	no value	no value
docref_root	no value	no value
enable_dl	Off	Off
error_append_string	no value	no value
error_log	no value	no value
error_prepend_string	no value	no value
error_reporting	30711	30711
exit_on_timeout	Off	Off
expose_php	On	On
extension_dir	/app/php/lib/php/extensions/no-debug-non-zts-20090626	/app/php/lib/php/extensions/no-debug-non-zts-20090626
file_uploads	On	On
highlight.bg	#FFFFFF	#FFFFFF
highlight.comment	#FF8000	#FF8000
highlight.default	#0000BB	#0000BB
highlight.html	#000000	#000000
highlight.keyword	#007700	#007700
highlight.string	#DD0000	#DD0000
html_errors	Off	Off
ignore_repeated_errors	Off	Off
ignore_repeated_source	Off	Off
ignore_user_abort	Off	Off
implicit_flush	Off	Off
include_path	.:/app/php/lib/php	.:/app/php/lib/php
log_errors	On	On
log_errors_max_len	1024	1024
magic_quotes_gpc	Off	Off
magic_quotes_runtime	Off	Off
magic_quotes_sybase	Off	Off
mail.add_x_header	On	On
mail.force_extra_parameters	no value	no value
mail.log	no value	no value
max_execution_time	30	30
max_file_uploads	20	20
max_input_nesting_level	64	64
max_input_time	60	60
memory_limit	128M	128M
open_basedir	no value	no value
output_buffering	4096	4096
output_handler	no value	no value
post_max_size	8M	8M
precision	14	14
realpath_cache_size	16K	16K
realpath_cache_ttl	120	120
register_argc_argv	Off	Off
register_globals	Off	Off
register_long_arrays	Off	Off
report_memleaks	On	On
report_zend_debug	On	On
request_order	GP	GP
safe_mode	Off	Off
safe_mode_exec_dir	no value	no value
safe_mode_gid	Off	Off
safe_mode_include_dir	no value	no value
sendmail_from	no value	no value
sendmail_path	/usr/sbin/sendmail -t -i 	/usr/sbin/sendmail -t -i 
serialize_precision	17	17
short_open_tag	On	On
SMTP	localhost	localhost
smtp_port	25	25
sql.safe_mode	Off	Off
track_errors	Off	Off
unserialize_callback_func	no value	no value
upload_max_filesize	2M	2M
upload_tmp_dir	no value	no value
user_dir	no value	no value
user_ini.cache_ttl	300	300
user_ini.filename	.user.ini	.user.ini
variables_order	EGPCS	EGPCS
xmlrpc_error_number	0	0
xmlrpc_errors	Off	Off
y2k_compliance	On	On
zend.enable_gc	On	On

ctype
ctype functions	enabled

curl
cURL support	enabled
cURL Information	7.19.7
Age	3
Features
AsynchDNS	No
Debug	No
GSS-Negotiate	Yes
IDN	Yes
IPv6	Yes
Largefile	Yes
NTLM	Yes
SPNEGO	No
SSL	Yes
SSPI	No
krb4	No
libz	Yes
CharConv	No
Protocols	tftp, ftp, telnet, dict, ldap, ldaps, http, file, https, ftps
Host	x86_64-pc-linux-gnu
SSL Version	OpenSSL/0.9.8k
ZLib Version	1.2.3.3

date
Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /app/www/index.php on line 290
date/time support	enabled
"Olson" Timezone Database Version	2011.4
Timezone Database	internal
Default timezone	UTC

Directive	Local Value	Master Value
date.default_latitude	31.7667	31.7667
date.default_longitude	35.2333	35.2333
date.sunrise_zenith	90.583333	90.583333
date.sunset_zenith	90.583333	90.583333
date.timezone	no value	no value

dom
DOM/XML	enabled
DOM/XML API Version	20031129
libxml Version	2.7.6
HTML Support	enabled
XPath Support	enabled
XPointer Support	enabled
Schema Support	enabled
RelaxNG Support	enabled

ereg
Regex Library	Bundled library enabled

fileinfo
fileinfo support	enabled
version	1.0.5-dev

filter
Input Validation and Filtering	enabled
Revision	$Revision: 306939 $

Directive	Local Value	Master Value
filter.default	unsafe_raw	unsafe_raw
filter.default_flags	no value	no value

gd
GD Support	enabled
GD Version	bundled (2.0.34 compatible)
GIF Read Support	enabled
GIF Create Support	enabled
PNG Support	enabled
libPNG Version	1.2.27
WBMP Support	enabled
XBM Support	enabled

Directive	Local Value	Master Value
gd.jpeg_ignore_warning	0	0

hash
hash support	enabled
Hashing Engines	md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

iconv
iconv support	enabled
iconv implementation	glibc
iconv library version	2.11.1

Directive	Local Value	Master Value
iconv.input_encoding	ISO-8859-1	ISO-8859-1
iconv.internal_encoding	ISO-8859-1	ISO-8859-1
iconv.output_encoding	ISO-8859-1	ISO-8859-1

json
json support	enabled
json version	1.2.1

libxml
libXML support	active
libXML Compiled Version	2.7.6
libXML Loaded Version	20706
libXML streams	enabled

mysql
MySQL Support	enabled
Active Persistent Links	0
Active Links	0
Client API version	5.0.51a
MYSQL_MODULE_TYPE	external
MYSQL_SOCKET	/var/run/mysqld/mysqld.sock
MYSQL_INCLUDE	-I/usr/include/mysql
MYSQL_LIBS	-L/usr/lib -lmysqlclient

Directive	Local Value	Master Value
mysql.allow_local_infile	On	On
mysql.allow_persistent	On	On
mysql.connect_timeout	60	60
mysql.default_host	no value	no value
mysql.default_password	no value	no value
mysql.default_port	no value	no value
mysql.default_socket	/var/run/mysqld/mysqld.sock	/var/run/mysqld/mysqld.sock
mysql.default_user	no value	no value
mysql.max_links	Unlimited	Unlimited
mysql.max_persistent	Unlimited	Unlimited
mysql.trace_mode	Off	Off

openssl
OpenSSL support	enabled
OpenSSL Library Version	OpenSSL 0.9.8k 25 Mar 2009
OpenSSL Header Version	OpenSSL 0.9.8o 01 Jun 2010

pcre
PCRE (Perl Compatible Regular Expressions) Support	enabled
PCRE Library Version	8.11 2010-12-10

Directive	Local Value	Master Value
pcre.backtrack_limit	100000	100000
pcre.recursion_limit	100000	100000

PDO
PDO support	enabled
PDO drivers	mysql, pgsql, sqlite, sqlite2

pdo_mysql
PDO Driver for MySQL	enabled
Client API version	5.0.51a

pdo_pgsql
PDO Driver for PostgreSQL	enabled
PostgreSQL(libpq) Version	8.3.11
Module version	1.0.2
Revision	 $Id: pdo_pgsql.c 306939 2011-01-01 02:19:59Z felipe $

pdo_sqlite
PDO Driver for SQLite 3.x	enabled
SQLite Library	3.7.4

pgsql
PostgreSQL Support	enabled
PostgreSQL(libpq) Version	8.3.11
Multibyte character support	enabled
SSL support	enabled
Active Persistent Links	0
Active Links	0

Directive	Local Value	Master Value
pgsql.allow_persistent	On	On
pgsql.auto_reset_persistent	Off	Off
pgsql.ignore_notice	Off	Off
pgsql.log_notice	Off	Off
pgsql.max_links	Unlimited	Unlimited
pgsql.max_persistent	Unlimited	Unlimited

Phar
Phar: PHP Archive support	enabled
Phar EXT version	2.0.1
Phar API version	1.1.1
SVN revision	$Revision: 307915 $
Phar-based phar archives	enabled
Tar-based phar archives	enabled
ZIP-based phar archives	enabled
gzip compression	disabled (install ext/zlib)
bzip2 compression	disabled (install pecl/bz2)
Native OpenSSL support	enabled

Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.

Directive	Local Value	Master Value
phar.cache_list	no value	no value
phar.readonly	On	On
phar.require_hash	On	On

posix
Revision	$Revision: 306939 $

Reflection
Reflection	enabled
Version	$Revision: 307971 $

session
Session Support	enabled
Registered save handlers	files user sqlite
Registered serializer handlers	php php_binary

Directive	Local Value	Master Value
session.auto_start	Off	Off
session.bug_compat_42	Off	Off
session.bug_compat_warn	Off	Off
session.cache_expire	180	180
session.cache_limiter	nocache	nocache
session.cookie_domain	no value	no value
session.cookie_httponly	Off	Off
session.cookie_lifetime	0	0
session.cookie_path	/	/
session.cookie_secure	Off	Off
session.entropy_file	no value	no value
session.entropy_length	0	0
session.gc_divisor	1000	1000
session.gc_maxlifetime	1440	1440
session.gc_probability	1	1
session.hash_bits_per_character	5	5
session.hash_function	0	0
session.name	PHPSESSID	PHPSESSID
session.referer_check	no value	no value
session.save_handler	files	files
session.save_path	no value	no value
session.serialize_handler	php	php
session.use_cookies	On	On
session.use_only_cookies	On	On
session.use_trans_sid	0	0

SimpleXML
Simplexml support	enabled
Revision	$Revision: 308262 $
Schema support	enabled

soap
Soap Client	enabled
Soap Server	enabled

Directive	Local Value	Master Value
soap.wsdl_cache	1	1
soap.wsdl_cache_dir	/tmp	/tmp
soap.wsdl_cache_enabled	1	1
soap.wsdl_cache_limit	5	5
soap.wsdl_cache_ttl	86400	86400

SPL
SPL support	enabled
Interfaces	Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes	AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException

SQLite
SQLite support	enabled
PECL Module version	2.0-dev $Id: sqlite.c 306939 2011-01-01 02:19:59Z felipe $
SQLite Library	2.8.17
SQLite Encoding	iso8859

Directive	Local Value	Master Value
sqlite.assoc_case	0	0

sqlite3
SQLite3 support	enabled
SQLite3 module version	0.7-dev
SQLite Library	3.7.4

Directive	Local Value	Master Value
sqlite3.extension_dir	no value	no value

standard
Dynamic Library Support	enabled
Path to sendmail	/usr/sbin/sendmail -t -i

Directive	Local Value	Master Value
assert.active	1	1
assert.bail	0	0
assert.callback	no value	no value
assert.quiet_eval	0	0
assert.warning	1	1
auto_detect_line_endings	0	0
default_socket_timeout	60	60
from	no value	no value
safe_mode_allowed_env_vars	PHP_	PHP_
safe_mode_protected_env_vars	LD_LIBRARY_PATH	LD_LIBRARY_PATH
url_rewriter.tags	a=href,area=href,frame=src,input=src,form=fakeentry	a=href,area=href,frame=src,input=src,form=fakeentry
user_agent	no value	no value

tokenizer
Tokenizer Support	enabled

xml
XML Support	active
XML Namespace Support	active
libxml2 Version	2.7.6

xmlreader
XMLReader	enabled

xmlwriter
XMLWriter	enabled

Additional Modules
Module Name

Environment
Variable	Value
PHP_INI_SCAN_DIR	/app/www
LD_LIBRARY_PATH	/app/php/ext
PORT	42299
HOME	/app
FACEBOOK_SECRET	a1d3e03b0a0b9c13f19fdd47b936feaa
PATH	/usr/local/bin:/usr/bin:/bin
FACEBOOK_APP_ID	292203937471118
PWD	/app

PHP Variables
Variable	Value
_REQUEST["state"]	4d79a5b1cef46736655f2e5a4c70e7b0
_REQUEST["code"]	AQBAg3-ahXaWZV3nRc19-F87nG5337s6xwvhybbmgYuZ6Mm9wiGTmOsRYyrME5y7NhR9K-wI76G95MSoja9Ymr3iaEAzggG1yabCcYNQtCO0k5k6gsue84OvMt2alOE05-N4bPYz5Vkh4-0fYZYmCY8dsFEDKSYB694dSmr3Hsq9HJduXScAKyP_RVu48EhxWuM
_GET["state"]	4d79a5b1cef46736655f2e5a4c70e7b0
_GET["code"]	AQBAg3-ahXaWZV3nRc19-F87nG5337s6xwvhybbmgYuZ6Mm9wiGTmOsRYyrME5y7NhR9K-wI76G95MSoja9Ymr3iaEAzggG1yabCcYNQtCO0k5k6gsue84OvMt2alOE05-N4bPYz5Vkh4-0fYZYmCY8dsFEDKSYB694dSmr3Hsq9HJduXScAKyP_RVu48EhxWuM
_COOKIE["PHPSESSID"]	eupfrc589qtpji9njc7gqh05g0
_COOKIE["292203937471118-fb-app"]	4d79a5b1cef46736655f2e5a4c70e7b0
_SERVER["PORT"]	42299
_SERVER["HOME"]	/app
_SERVER["FACEBOOK_SECRET"]	a1d3e03b0a0b9c13f19fdd47b936feaa
_SERVER["PATH"]	/usr/local/bin:/usr/bin:/bin
_SERVER["FACEBOOK_APP_ID"]	292203937471118
_SERVER["PWD"]	/app
_SERVER["HTTP_X_FORWARDED_PROTO"]	https
_SERVER["HTTP_X_FORWARDED_PORT"]	443
_SERVER["HTTP_X_FORWARDED_FOR"]	193.45.43.33
_SERVER["HTTP_USER_AGENT"]	Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2
_SERVER["HTTP_REFERER"]	https://evening-autumn-2717.herokuapp.com/
_SERVER["HTTP_HOST"]	evening-autumn-2717.herokuapp.com
_SERVER["HTTP_COOKIE"]	PHPSESSID=eupfrc589qtpji9njc7gqh05g0; 292203937471118-fb-app=4d79a5b1cef46736655f2e5a4c70e7b0
_SERVER["HTTP_CONNECTION"]	keep-alive
_SERVER["HTTP_CACHE_CONTROL"]	max-age=0
_SERVER["HTTP_ACCEPT_LANGUAGE"]	sv-SE,sv;q=0.8,en-US;q=0.6,en;q=0.4
_SERVER["HTTP_ACCEPT_ENCODING"]	gzip,deflate,sdch
_SERVER["HTTP_ACCEPT_CHARSET"]	ISO-8859-1,utf-8;q=0.7,*;q=0.3
_SERVER["HTTP_ACCEPT"]	text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_X_HEROKU_QUEUE_WAIT_TIME"]	4
_SERVER["HTTP_X_HEROKU_QUEUE_DEPTH"]	0
_SERVER["HTTP_X_HEROKU_DYNOS_IN_USE"]	1
_SERVER["HTTP_X_REQUEST_START"]	1320853110008
_SERVER["SERVER_SIGNATURE"]	no value
_SERVER["SERVER_SOFTWARE"]	Apache/2.2.19 (Unix) PHP/5.3.6
_SERVER["SERVER_NAME"]	evening-autumn-2717.herokuapp.com
_SERVER["SERVER_ADDR"]	10.87.114.55
_SERVER["SERVER_PORT"]	80
_SERVER["REMOTE_ADDR"]	10.44.66.166
_SERVER["DOCUMENT_ROOT"]	/app/www
_SERVER["SERVER_ADMIN"]	you@example.com
_SERVER["SCRIPT_FILENAME"]	/app/www/index.php
_SERVER["REMOTE_PORT"]	53586
_SERVER["GATEWAY_INTERFACE"]	CGI/1.1
_SERVER["SERVER_PROTOCOL"]	HTTP/1.1
_SERVER["REQUEST_METHOD"]	GET
_SERVER["QUERY_STRING"]	state=4d79a5b1cef46736655f2e5a4c70e7b0&code=AQBAg3-ahXaWZV3nRc19-F87nG5337s6xwvhybbmgYuZ6Mm9wiGTmOsRYyrME5y7NhR9K-wI76G95MSoja9Ymr3iaEAzggG1yabCcYNQtCO0k5k6gsue84OvMt2alOE05-N4bPYz5Vkh4-0fYZYmCY8dsFEDKSYB694dSmr3Hsq9HJduXScAKyP_RVu48EhxWuM
_SERVER["REQUEST_URI"]	/?state=4d79a5b1cef46736655f2e5a4c70e7b0&code=AQBAg3-ahXaWZV3nRc19-F87nG5337s6xwvhybbmgYuZ6Mm9wiGTmOsRYyrME5y7NhR9K-wI76G95MSoja9Ymr3iaEAzggG1yabCcYNQtCO0k5k6gsue84OvMt2alOE05-N4bPYz5Vkh4-0fYZYmCY8dsFEDKSYB694dSmr3Hsq9HJduXScAKyP_RVu48EhxWuM
_SERVER["SCRIPT_NAME"]	/index.php
_SERVER["PHP_SELF"]	/index.php
_SERVER["REQUEST_TIME"]	1320853110
_ENV["PHP_INI_SCAN_DIR"]	/app/www
_ENV["LD_LIBRARY_PATH"]	/app/php/ext
_ENV["PORT"]	42299
_ENV["HOME"]	/app
_ENV["FACEBOOK_SECRET"]	a1d3e03b0a0b9c13f19fdd47b936feaa
_ENV["PATH"]	/usr/local/bin:/usr/bin:/bin
_ENV["FACEBOOK_APP_ID"]	292203937471118
_ENV["PWD"]	/app
:shock:

w3giga
Posts: 4
Joined: Sun Jun 24, 2012 3:12 pm

Re: web services: random ads

Post by w3giga »

Hi, I have the same problem.

w3giga
Posts: 4
Joined: Sun Jun 24, 2012 3:12 pm

Re: web services: random ads

Post by w3giga »

Sorry, this is my problem http://www.cyclos.org/forum/viewtopic.php?f=2&t=1707
And it's has been fixed.

lhuber
Posts: 67
Joined: Mon Dec 12, 2011 12:20 pm
Location: Winterthur, Switzerland
Contact:

Re: web services: random ads

Post by lhuber »

Try our random ads Joomla module.
Download at: http://cc-hub.org/en/cc-marketplace

Lucas

Post Reply