I have a Drupal 5.5 up to date installation.

I've installed both stockapi (first) then stock.

When I send a stock query - it returns with no company name and zeros for the other values.

I checked the logs - there were no errors. But the "database structure" for the modules had to be updated. ***Is this the source of the error? (I have no clue since I'm no database expert)

I tried running xxx.com/cron.php - still no updates

I tried changing some of the config parameters.... no luck. Access control was changed... no luck.

Then I tried out:
http://drupal.org/node/114775
then maybe the function was disabled so I customised my php.ini to include "file_get_contents = On"

But it still didn't work.

Or is it because php is in safe mode on my host?

I tried out a few things here... please help? Thanks!

Comments

kbahey’s picture

Category: bug » support
Status: Active » Closed (fixed)

Check with your host if PHP can open sockets to remote URLs.

Marco Palmero’s picture

Thanks for the super rapid response! You've always been a great help kbahey. Had to wait for my Host to respond.

Here's the solution for anyone else having the problem. Turns out my host changed settings. Had to add this line to php.ini

allow_url_fopen = On

Thanks!