- Posts: 6
[Solved] Allow URL fopen conflict
- James
- Topic Author
- Offline
- New Member
-
Less
More
14 years 5 months ago - 14 years 5 months ago #1
by James
[Solved] Allow URL fopen conflict was created by James
I am new to Joomdle (though experienced in Joomla and slightly less so in Moodle) and have installed on Joomla 2.5.1, Moodle 2.0.2, and Joomdle 0.7
I have gone through all the config...all seems good so far except for the system check.
I am on a shred server so no surprise allow_url_fopen wasn't on:
Allow URL fopen You need to set PHP option allow_url_fopen to On, on your PHP configuration
I have had my hosting provider create a php.ini file no enable it for my domain. and when running an info.php script it does indeed show that it is on:
Directive Local Value Master Value
allow_url_fopen On On
Yet, I am still getting the "You need to set PHP option allow_url_fopen to On, on your PHP configuration" in the system check.
Any ideas?
Thanks,
James
I have gone through all the config...all seems good so far except for the system check.
I am on a shred server so no surprise allow_url_fopen wasn't on:
Allow URL fopen You need to set PHP option allow_url_fopen to On, on your PHP configuration
I have had my hosting provider create a php.ini file no enable it for my domain. and when running an info.php script it does indeed show that it is on:
Directive Local Value Master Value
allow_url_fopen On On
Yet, I am still getting the "You need to set PHP option allow_url_fopen to On, on your PHP configuration" in the system check.
Any ideas?
Thanks,
James
Last edit: 14 years 5 months ago by Chris.
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
14 years 5 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: Allow URL fopen conflict
Did you run the test script in your Joomla root folder?
Check Joomla -> System Information -> PHP information, to see what Joomla is detecting.
Check Joomla -> System Information -> PHP information, to see what Joomla is detecting.
The topic has been locked.
- James
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
14 years 5 months ago #3
by James
Replied by James on topic Re: Allow URL fopen conflict
Ah.... I've always checked my php setting using an external file... force of habit from years gone by I guess.
Your suspicions are correct - Joomla doesn't recognise the php.ini in the root web folder.
As I don't have access to /usr/lib (where Joomla is reading php.ini) is there a workaround?
My host won't switch this on for the entire server due to security concerns.
Thanks for the very swift reply Antonio....I'm very excited about this component!
James
Your suspicions are correct - Joomla doesn't recognise the php.ini in the root web folder.
As I don't have access to /usr/lib (where Joomla is reading php.ini) is there a workaround?
My host won't switch this on for the entire server due to security concerns.
Thanks for the very swift reply Antonio....I'm very excited about this component!
James
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
14 years 5 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Re: Allow URL fopen conflict
Did you put php.ini file in joomla root folder?
If so, you may need to set apache to use it. How to do this often depends on hosting company, so you will need to check with them.
But, if it is recognized by external script, it should be by joomla too, if the file is in the right folder. You may even need to put it in administrator/ too.
If so, you may need to set apache to use it. How to do this often depends on hosting company, so you will need to check with them.
But, if it is recognized by external script, it should be by joomla too, if the file is in the right folder. You may even need to put it in administrator/ too.
The topic has been locked.
- James
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
14 years 5 months ago - 14 years 5 months ago #5
by James
Replied by James on topic Re: Allow URL fopen conflict
Thanks Antonio.
Dropping the php.ini file in the administrator folder worked for me!
Much appreciate your support!
James
Dropping the php.ini file in the administrator folder worked for me!
Much appreciate your support!
James
Last edit: 14 years 5 months ago by James.
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
14 years 5 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Re: Allow URL fopen conflict
Great. Thanks for sharing your results.
The topic has been locked.