help Setup

Hi, i have had success so far in fixing up my dolphin suite with a few edits in my php.ini file confiquration, but with ORCA im a little stuck

the error(s) i am getting now is

"


Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/u1/jord070/html/orca/classes/Admin.php(42) : eval()'d code on line 24

Warning: file_get_contents(http://license.boonex.com/orca.php?LN=&d=boost-us.com) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/u1/jord070/html/orca/classes/Admin.php(42) : eval()'d code on line 24

"

I have fixed up most errors, but this one im not too sure what i need to enable in php.ini to fix it.

This is my php.ini contents (to enable i just take away the ';')

[PHP]

; This is the default PHP 5-style version of the php.ini settings file.
; It is based on /usr/local/etc/php5/php.ini-recommended. For full reference
; of all possible configuration directives and their default values,
; please visit http://www.php.net/manual/en/print/ini.php

allow_call_time_pass_reference = Off    ; Code cleanliness
magic_quotes_gpc = Off            ; Performance
output_buffering = 4096            ; Performance
register_argc_argv = Off        ; Performance
register_globals = Off            ; Security, Performance [default]
register_long_arrays = Off        ; Performance
variables_order = "GPCS"        ; Performance
zlib.output_compression = On        ; Performance
allow_url_fopen = Off
allow_url_include = Off

cgi.fix_pathinfo = 1
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
fastcgi.log = 0
max_execution_time = 15
max_input_time = 60
memory_limit = 32M
safe_mode_exec_dir =
upload_max_filesize = 10M
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"

;include_path = ".:/usr/local/share/pear"

[Session]
session.bug_compat_42 = 0
session.gc_divisor = 1000
session.hash_bits_per_character = 5

;[eaccelerator]                ; *broken* (does not cope well with PHP5 yet)
;;extension="eaccelerator.so"        ; [Performance]
;eaccelerator.cache_dir="/tmp"
;eaccelerator.shm_size="4"
;eaccelerator.shm_only="1"

; All PHP5 extensions are dynamic and could be loaded on demand.
; The following ones used to be pre-loaded by default in PHP4,
; so we keep these enabled for backward compatibility:
extension=ctype.so
extension=mysql.so
extension=pcre.so
extension=posix.so
extension=session.so
extension=tokenizer.so
extension=xml.so
extension=zlib.so
;extension=simplexml.so
;extension=spl.so
;extension=sqlite.so

; In order to pre-load some of the following extensions,
; you would need to uncomment the appropriate line(s) below.

;extension=curl.so
;extension=ftp.so
;extension=gd.so
;extension=gettext.so
;extension=iconv.so
;extension=imap.so
extension=mbstring.so
;extension=mcrypt.so
;extension=mhash.so
;extension=openssl.so
;extension=sockets.so
extension=dom.so
extension=xsl.so
;extension=json.so
;extension=mysqli.so
;extension=pdo.so
;extension=pdo_mysql.so
;extension=pdo_sqlite.so

It probaly looking me in the face, but im having troubles figuring it out!

any help would be much apreicated

Thanks

Jordan

Quote · 13 Aug 2008

Not sure if this will fix your problem but I noticed you have allow_url_fopen=off.  The requirements state: allow_url_fopen also must be On) with mbstring, domxml and xsl extensions (they are required to run Orca forum and support UTF-8)

regards,

Edward

Quote · 13 Aug 2008

Hi, i have had success so far in fixing up my dolphin suite with a few edits in my php.ini file confiquration, but with ORCA im a little stuck

the error(s) i am getting now is

"


Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/u1/jord070/html/orca/classes/Admin.php(42) : eval()'d code on line 24

Warning: file_get_contents(http://license.boonex.com/orca.php?LN=&d=boost-us.com) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/u1/jord070/html/orca/classes/Admin.php(42) : eval()'d code on line 24

"

I have fixed up most errors, but this one im not too sure what i need to enable in php.ini to fix it.

This is my php.ini contents (to enable i just take away the ';')

[PHP]

; This is the default PHP 5-style version of the php.ini settings file.
; It is based on /usr/local/etc/php5/php.ini-recommended. For full reference
; of all possible configuration directives and their default values,
; please visit http://www.php.net/manual/en/print/ini.php

allow_call_time_pass_reference = Off    ; Code cleanliness
magic_quotes_gpc = Off            ; Performance
output_buffering = 4096            ; Performance
register_argc_argv = Off        ; Performance
register_globals = Off            ; Security, Performance [default]
register_long_arrays = Off        ; Performance
variables_order = "GPCS"        ; Performance
zlib.output_compression = On        ; Performance
allow_url_fopen = Off
allow_url_include = Off

cgi.fix_pathinfo = 1
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
fastcgi.log = 0
max_execution_time = 15
max_input_time = 60
memory_limit = 32M
safe_mode_exec_dir =
upload_max_filesize = 10M
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"

;include_path = ".:/usr/local/share/pear"

[Session]
session.bug_compat_42 = 0
session.gc_divisor = 1000
session.hash_bits_per_character = 5

;[eaccelerator]                ; *broken* (does not cope well with PHP5 yet)
;;extension="eaccelerator.so"        ; [Performance]
;eaccelerator.cache_dir="/tmp"
;eaccelerator.shm_size="4"
;eaccelerator.shm_only="1"

; All PHP5 extensions are dynamic and could be loaded on demand.
; The following ones used to be pre-loaded by default in PHP4,
; so we keep these enabled for backward compatibility:
extension=ctype.so
extension=mysql.so
extension=pcre.so
extension=posix.so
extension=session.so
extension=tokenizer.so
extension=xml.so
extension=zlib.so
;extension=simplexml.so
;extension=spl.so
;extension=sqlite.so

; In order to pre-load some of the following extensions,
; you would need to uncomment the appropriate line(s) below.

;extension=curl.so
;extension=ftp.so
;extension=gd.so
;extension=gettext.so
;extension=iconv.so
;extension=imap.so
extension=mbstring.so
;extension=mcrypt.so
;extension=mhash.so
;extension=openssl.so
;extension=sockets.so
extension=dom.so
extension=xsl.so
;extension=json.so
;extension=mysqli.so
;extension=pdo.so
;extension=pdo_mysql.so
;extension=pdo_sqlite.so

It probaly looking me in the face, but im having troubles figuring it out!

any help would be much apreicated

Thanks

Jordan

Hi There,

I resolved the issue after the update to 6.1.4 just by turning on allow_url_fopen. For security reasons I created a separate php.ini file just for the Orca folder. At the server level I keep allow_url_fopen = off indeed.

Hope this helps,

Quote · 14 Aug 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.