Forum - Project: GetInfos - Deploy Instructions


Forum: Project: GetInfos   Topic: Deploy Instructions Forums Index

JMTVMS 1. Post 2009-12-04 16:33:04
User-ID: 31
Marques Silva Joao Miguel
Function: Author
Group: Default
Posts: 2

I would like to know how to deploy the app on my web server?
I have it running the when it comes to out.php i just got a blank screen, is there some special i should do to have it working?

Thanks...

Geekathome 2. Post 2009-12-04 16:50:41
User-ID: 1
Kilian Waser
Function: Admin
Group: Developer
Posts: 104

Maybe you must change some values in your php.ini ...
We need more information to resolve your 'blank page' problem.
For debugging:
- check the output by error=1
- check the output by out=array
- include echoes into your script
I hope this helps.

--
Project overview: http://www.geekweb.org/
Personal PlayStation page: http://www.wasi.li/?page=ps

JMTVMS 3. Post 2009-12-14 18:54:16
User-ID: 31
Marques Silva Joao Miguel
Function: Author
Group: Default
Posts: 2

I'm using a shared hosting services to host my web site and this application...

This is the error i'm getting:
===================================================================================

Notice: Undefined index: cat in D:\Hosting\4575318\html\getinfos\out.php on line 13

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in D:\Hosting\4575318\html\getinfos\functions.php on line 66

Warning: file_get_contents(http://boardsus.playstation.com/playstation/search?submitted=true&type=user&sort_by=score&q=Geekathome&page_size=10) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in D:\Hosting\4575318\html\getinfos\functions.php on line 66

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in D:\Hosting\4575318\html\getinfos\functions.php on line 93

Warning: file_get_contents(http://community.eu.playstation.com/playstationeu/search?submitted=true&type=user&sort_by=score&q=Geekathome&page_size=10) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in D:\Hosting\4575318\html\getinfos\functions.php on line 93

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in D:\Hosting\4575318\html\getinfos\functions.php on line 129

Warning: file_get_contents(http://pid.us.playstation.com/user/Geekathome.jpg) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in D:\Hosting\4575318\html\getinfos\functions.php on line 129

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in D:\Hosting\4575318\html\getinfos\functions.php on line 129

Warning: file_get_contents(http://mypsn.eu.playstation.com/psn/profile/Geekathome.png) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in D:\Hosting\4575318\html\getinfos\functions.php on line 129

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in D:\Hosting\4575318\html\getinfos\functions.php on line 129

Warning: file_get_contents(http://card.mmos.com/psn/profile/ge/e/Geekathome/card.png) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in D:\Hosting\4575318\html\getinfos\functions.php on line 129

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in D:\Hosting\4575318\html\getinfos\functions.php on line 129

Warning: file_get_contents(http://pfcdn.net/site/trophy_widget/psn/Geekathome.png) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in D:\Hosting\4575318\html\getinfos\functions.php on line 129

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in D:\Hosting\4575318\html\getinfos\functions.php on line 300

Warning: file_get_contents(http://mypsn.eu.playstation.com/psn/profile/Geekathome.png) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in D:\Hosting\4575318\html\getinfos\functions.php on line 300

Notice: Undefined variable: trophy in D:\Hosting\4575318\html\getinfos\functions.php on line 300

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in D:\Hosting\4575318\html\getinfos\functions.php on line 352

Warning: getimagesize(http://mypsn.eu.playstation.com/psn/profile/Geekathome.png) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in D:\Hosting\4575318\html\getinfos\functions.php on line 352

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in D:\Hosting\4575318\html\getinfos\functions.php on line 395

Warning: getimagesize(http://mypsn.eu.playstation.com/psn/profile/Geekathome.png) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in D:\Hosting\4575318\html\getinfos\functions.php on line 395

Warning: include_once(stats/index.php) [function.include-once]: failed to open stream: No such file or directory in D:\Hosting\4575318\html\getinfos\out.php on line 54

Warning: include_once() [function.include]: Failed opening 'stats/index.php' for inclusion (include_path='.;C:\php5\pear') in D:\Hosting\4575318\html\getinfos\out.php on line 54

Fatal error: Call to undefined function api_stats() in D:\Hosting\4575318\html\getinfos\out.php on line 55

===================================================================================

Thanks...

Geekathome 4. Post 2009-12-14 23:45:59
User-ID: 1
Kilian Waser
Function: Admin
Group: Developer
Posts: 104

Ok, just some points:

1: Enable file_get_contents() in your php.ini by allow_url_fopen = On
More about this by http://www.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen
This is a general php error. Why didn't you ask google?
- Google Seach request: http://www.google.com/search?hl=en&q=file_get_contents()+[function.file-get-contents]%3A+URL+file-access+is+disabled+in+the+server+configuration
- First listed result page: http://www.webmasterworld.com/php/3045107.htm

2: Remove the lines about the function call 'api_stats()' (on line 55) or add your own stats function for your own api statistics.

3: The undifined 'cat' on line 13 isn't a nice development but not really a problem by php.

Hope this helps.

--
Project overview: http://www.geekweb.org/
Personal PlayStation page: http://www.wasi.li/?page=ps

Projects
$_COM
$_ORG
GetAuthData
GetId
GetInfos
psnapi.org at ...
Folding@Home: 193066
IRC (freenode): #psnapi
PS Home (Club): api
Others
API Statistics (live)
Newest members (3)
HomeOnline
OzyMaximus
thp44
Online now
0 Members
Support us