x10Hosting Forums

Corporate Free Hosting for the Masses.



Register

 
 
LinkBack Thread Tools Display Modes
x10Hosting Member

Join Date: Jun 2008
Posts: 6
Credits: 316
Lucipher6 is on a distinguished road
 
09-01-2008, 04:24 PM
Cronjob error with fopen

I'm on intermediate PHP version, I saw other posts on the forums and decided to be patient in waiting for the problem to be fixed. Earlier today I realised the fopen function was working again, yay for that change! Saw someone else had the same type of error on another topic I read and saw an admin updated the cron settings for that person, so I guess that's what's needed here, too.

PHP Code:
<b>Warning</b>:  fopen() [<a href='function.fopen'>function.fopen</a>]: URL file-access is disabled in the server configuration in <b>/home/ianh/public_html/updcron.php</bon line <b>79</b><br />
<
br />
<
b>Warning</b>:  fopen(http://hiscore.runescape.com/index_lite.ws?player=P_Gertrude) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: no suitable wrapper could be found in <b>/home/ianh/public_html/updcron.php</b> on line <b>79</b><br /> 
Lucipher6 is offlineReport Post
Server Tech

Christopher's Avatar

Join Date: Jun 2006
Posts: 6,856
Credits: 94,738
Christopher has a reputation beyond repute
Location: USA

 
09-01-2008, 06:44 PM
Re: Cronjob error with fopen

Moved to level two support
__________________

Win a domain or $10 paypal payout!
Do NOT PM staff for support! The PM will most likely be ignored.
Christopher is online nowReport Post
Administrator - Staff Manager

fedlerner's Avatar

Join Date: Aug 2006
Posts: 12,501
Credits: 105,729
fedlerner has a reputation beyond reputefedlerner has a reputation beyond repute
Location: Buenos Aires, Argentina

Send a message via AIM to fedlerner Send a message via MSN to fedlerner
 
09-02-2008, 06:26 PM
Re: Cronjob error with fopen

What thread are you talking about when you say "I read and saw an admin updated the cron settings for that person, so I guess that's what's needed here, too. "?
What's the command you're running for the CronJob?
fedlerner is offlineReport Post
x10Hosting Member

Join Date: Jun 2008
Posts: 6
Credits: 316
Lucipher6 is on a distinguished road
 
09-03-2008, 04:40 AM
Re: Cronjob error with fopen

I was browsing for posts about fopen and file_get_contents a week or 2 back and remember seeing a topic about a cron error also with them, where a response was that the access for cron had been changed. I've just tried using the search function as well as manual searching through level two support and couldn't see any topic that stood out as the one I was after.

Command I'm running is:
php -q /home/ianh/public_html/updcron.php group1
Edit:
Saw another different topic with a similar problem now.
Quote:
Originally Posted by Corey
Instead of php -q or /usr/bin/php in your cron path, use php-cron for the binary.
If this is what's needed, I'm not sure what's to do with it, would it be to change the previously posted job to:

php-cron /home/ianh/public_html/updcron.php group1

Thanks.

Last edited by Lucipher6; 09-03-2008 at 04:40 AM. Reason: Automerged Doublepost
Lucipher6 is offlineReport Post
Administrator

Corey's Avatar

Join Date: Dec 2004
Posts: 13,731
Credits: 106,680
Corey has a reputation beyond repute
Location: Northfield, NH

Send a message via ICQ to Corey
 
09-04-2008, 12:11 AM
Re: Cronjob error with fopen

php -q /home/ianh/public_html/updcron.php group1

Change to:

php-cron -q /home/ianh/public_html/updcron.php group1
__________________
Use the search feature before posting! | Do not PM me unless asked to do so | Read the stickies before posting
Corey is offlineReport Post
 

Tags
cron, error, fopen, php

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
fopen() and file_get_contents() Do not work on PHP Advanced GG-Xtreme Free Hosting 8 08-29-2008 12:11 PM
mysql fopen problem iamcrux Free Hosting 4 03-20-2008 01:51 PM
Error - Warning: fopen() [function.fopen]: URL file-access is disabled in the server atlprof Free Hosting 1 03-10-2008 03:06 AM
Please help enable fopen infotech Free Hosting 1 12-03-2007 12:26 AM


All times are GMT -5. The time now is 11:09 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

Share Prices | Per Insurance | Car Finance | Project cars | Secured Loans