Buy Sell Discuss UK Domain Names at AcornDomains.co.uk

Today's Drop Dates are: 07-11-2011 or 14-11-2011   All times are GMT. The time now is 04:28:28 PM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Website Design and Promotion > Website Design > Scripts and Coding
Connect with Facebook

Scripts and Coding PHP, MySQL, scripts

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 11-01-2010, 03:39:40 PM     #1 (permalink)
Junior Member
 
Join Date: Jan 2010
Posts: 14
Betty Boop is on a distinguished road

Time out when running script

Hi,

I have been working on some php coursework and I had it doing exactly what I wanted it to do for the moment. Then, I went to run the script like I had been and I get the error:

Warning: file_get_contents(http://www.deanclatworthy.com/imdb/?q=mamma+mia) [function.file-get-contents]: failed to open stream: HTTP request failed! in C:\Program Files\EasyPHP5.3.0\www\New Folder\trial.php on line 24

Fatal error: Maximum execution time of 60 seconds exceeded in C:\Program Files\EasyPHP5.3.0\www\New Folder\trial.php on line 24

So, I looked into it and I found that if I changed the max_execution_time to a longer time it shouldn't do this. I changed the max_execution_time = 120 in the php.ini file and it still comes up with the error stating 60 seconds when I have changed it to 120. I am using Easyphp as my server, it uses Apache so I restarted Apache once I had made changes and this does not make any difference.

Does anyone know why this error would suddenly happen and how to solve it?
Betty Boop is offline  
Old 11-01-2010, 03:51:50 PM     #2 (permalink)

 
dlone's Avatar
 
Join Date: Aug 2006
Posts: 145
dlone has a reputation beyond reputedlone has a reputation beyond reputedlone has a reputation beyond reputedlone has a reputation beyond reputedlone has a reputation beyond reputedlone has a reputation beyond reputedlone has a reputation beyond reputedlone has a reputation beyond reputedlone has a reputation beyond reputedlone has a reputation beyond reputedlone has a reputation beyond repute

I'd check that you're changing the right php.ini file (if there's more than one on the machine), you can check any changes you make using php_info(). might also be worth changing max_input_time, i think there was a bug in an old version that displayed a max execution time error when in fact it was a max input time error. worth a shot...
dlone is offline  
Old 11-01-2010, 04:05:56 PM     #3 (permalink)
rob
Founding Member
 
rob's Avatar
 
Join Date: Jan 2005
Posts: 5,878
rob has a reputation beyond reputerob has a reputation beyond reputerob has a reputation beyond reputerob has a reputation beyond reputerob has a reputation beyond reputerob has a reputation beyond reputerob has a reputation beyond reputerob has a reputation beyond reputerob has a reputation beyond reputerob has a reputation beyond reputerob has a reputation beyond repute

Could be blocking specific idents to stop people nicking content?
__________________
Eat more chips! Dont let salad win! I am rob who runs hey. Twitter:@robcouk.
how to sell a website | sell your website to me whats the number for milk tokens? TDA BB Wrexham
rob is offline  
Old 11-01-2010, 04:46:17 PM     #4 (permalink)
Junior Member
 
Join Date: Jan 2010
Posts: 14
Betty Boop is on a distinguished road

Thanks,

I have just changed the input_time and it works but the url was playing up earlier to what I was extracting from and so I don't know what it was but, thanks for telling me about the bug with max_execution_time.
Betty Boop is offline  
Old 02-03-2010, 06:03:50 PM     #5 (permalink)

 
Join Date: Jan 2007
Location: Barnsley, South Yorkshire
Posts: 515
StudioVision has a reputation beyond reputeStudioVision has a reputation beyond reputeStudioVision has a reputation beyond reputeStudioVision has a reputation beyond reputeStudioVision has a reputation beyond reputeStudioVision has a reputation beyond reputeStudioVision has a reputation beyond reputeStudioVision has a reputation beyond reputeStudioVision has a reputation beyond reputeStudioVision has a reputation beyond reputeStudioVision has a reputation beyond repute

It looks like you're using localhost through EasyPHP yes? If so, anytime you change anything in php.ini, simply restart Apache

That's probably why the error was still showing 60 seconds.

Hope this helps!

Craig

Edit: Sorry, I just noticed the date of the last post
StudioVision is offline  
Closed Thread



Bookmarks

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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
Domain and Website Auction Script - *7 Day FREE Trial* jordanb27 Scripts and Coding 1 04-02-2009 04:21:36 PM
It's Time to End Domain Name Front Running - CircleID RSS Domain Name News 0 20-06-2008 04:59:06 PM
Time Running Out to Secure IATA 3-Letter Airport Codes in .aero ... - PR Newswire (pr RSS Domain Name News 0 26-03-2008 12:59:06 PM
Time Running Out to Make the Internet Your Business - ICANN - ag-IP-news Agency RSS Domain Name News 0 23-03-2008 08:00:59 AM




All times are GMT. The time now is 04:28:28 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".