I installed with some access errors or something to the cinfig file, but I still got it up. Now my problem is I get this error, "Could not open XML input" or when trying to do any admin maintain stuff, "Maintaining could not open XML input". I am just using this for a small time, until I can find a programmer to fully get my site going, but for now, I need to use this. Please help, the address is here: http://www.mytffl.com/pool.php. Any help is appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having the same problem on my setup. Everything else appears to be working but I can't update games. Did anyone ever find a solution for this? Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For the record these are the messages I get when I finish setup
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /home/.pottier/johnnyconfidence/skagitcomputerrepair.com/fpmp/setup.php on line 755
Warning: fopen(http://nfl.agwebinc.com/scripts/games.php?all=1) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home/.pottier/johnnyconfidence/skagitcomputerrepair.com/fpmp/setup.php on line 755
Could not open XML input, can this computer access the Internet? Continuing install; the games database can be loaded later.
If I take the URL for the games.php I can open it just fine manually, but it won't interface with the software.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry for all the messages, but I found something out. To load the games this uses fopen to load the XML stream. My webhost currently has allow_url_fopen set to disabled for security reasons. Because of this it can't open the file. You may be having the same issue with your host. Unfortunately this setting is not allowed on my host so I'm going to have to find a different solution. Unless someone higher up has an alternative method?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I host with GoDaddy, and the fopen issue hit me when I first set up this software. Find out from your host if they allow you to use a php.ini file to modify the rules governing your site (check if one already exists, that's how I found out GoDaddy supports it). If they do, then create a php.ini (or edit the existing one) in the root of your site* and add the following:
register_globals = off
allow_url_fopen = on
* note, I subdomain my site, but the php.ini is in the base root. Even though I run the football site as a seperate subdomain my INI is in the root folder, not the root of the football subdomain.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed with some access errors or something to the cinfig file, but I still got it up. Now my problem is I get this error, "Could not open XML input" or when trying to do any admin maintain stuff, "Maintaining could not open XML input". I am just using this for a small time, until I can find a programmer to fully get my site going, but for now, I need to use this. Please help, the address is here: http://www.mytffl.com/pool.php. Any help is appreciated.
PS. Remove period at the end of the link...
I'm having the same problem on my setup. Everything else appears to be working but I can't update games. Did anyone ever find a solution for this? Thanks.
For the record these are the messages I get when I finish setup
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /home/.pottier/johnnyconfidence/skagitcomputerrepair.com/fpmp/setup.php on line 755
Warning: fopen(http://nfl.agwebinc.com/scripts/games.php?all=1) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home/.pottier/johnnyconfidence/skagitcomputerrepair.com/fpmp/setup.php on line 755
Could not open XML input, can this computer access the Internet? Continuing install; the games database can be loaded later.
If I take the URL for the games.php I can open it just fine manually, but it won't interface with the software.
Sorry for all the messages, but I found something out. To load the games this uses fopen to load the XML stream. My webhost currently has allow_url_fopen set to disabled for security reasons. Because of this it can't open the file. You may be having the same issue with your host. Unfortunately this setting is not allowed on my host so I'm going to have to find a different solution. Unless someone higher up has an alternative method?
Can you enable allow_url_fopen using .htaccess??
What if you manually downloaded the file(s) and processed them locally?
I don't really know what I am talking about, but I think you might be able to solve your problem in one of two ways.
1) You could add the following to a .htaccess file in that directory:
php_value allow_url_fopen 1
2) You could add this to the php at the beginning of the files that uses the fopen:
ini_set("allow_url_fopen", "1");
One of this should hopefully work. Let me know if this helps.
John
I host with GoDaddy, and the fopen issue hit me when I first set up this software. Find out from your host if they allow you to use a php.ini file to modify the rules governing your site (check if one already exists, that's how I found out GoDaddy supports it). If they do, then create a php.ini (or edit the existing one) in the root of your site* and add the following:
register_globals = off
allow_url_fopen = on
* note, I subdomain my site, but the php.ini is in the base root. Even though I run the football site as a seperate subdomain my INI is in the root folder, not the root of the football subdomain.