PHP Classes

Not working

Recommend this page to a friend!

      Google Scraper  >  All threads  >  Not working  >  (Un) Subscribe thread alerts  
Subject:Not working
Summary:in local host or webhosts
Messages:5
Author:lemon Azam
Date:2011-05-30 12:24:53
Update:2011-12-22 02:30:00
 

  1. Not working   Reply   Report abuse  
Picture of lemon Azam lemon Azam - 2011-05-30 12:24:54
It game following errors:

Fatal error: Maximum execution time of 60 seconds exceeded in F:\xampp\htdocs\test\google-scraper-2011-05-28\GoogleScraper.class.php on line 38

and when host these files in my hosting server:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/usawebad/public_html/omtpins/urlscraper/GoogleScraper.class.php on line 30
Problem fetching the data

You may test too: http://ompins.aiami.info/urlscraper/sample.php

  2. Re: Not working   Reply   Report abuse  
Picture of Samay Bhavsar Samay Bhavsar - 2011-05-30 13:35:23 - In reply to message 1 from lemon Azam
You can increase the maximum execution time in php.ini

Let me know if you still find problem.

  3. Re: Not working   Reply   Report abuse  
Picture of lemon Azam lemon Azam - 2011-05-30 17:22:58 - In reply to message 2 from Samay Bhavsar
Please provide me any others way that could resolve this max_execution errors, changing of php.ini would be a good idea.

Any idea about the hosting server issue , I have off this line


now there is no Warning but still it said "Problem fetching the data"

  4. Re: Not working   Reply   Report abuse  
Picture of Samay Bhavsar Samay Bhavsar - 2011-05-30 17:27:47 - In reply to message 3 from lemon Azam
Problem fetching data might be due to proxy which you are using.

You can change the maximum execution time using set_ini function in php and also using .htaccess file

  5. Re: Not working   Reply   Report abuse  
Picture of phanduycanh phanduycanh - 2011-12-22 02:30:00 - In reply to message 4 from Samay Bhavsar
I get message, too

"Problem fetching the data"

You can help me to config proxy??