D-Mack Media Forums

Full Version: not working on localhost
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi D-Mack

I tried the demo on your website, and it works great! I am testing your extensions on a localhost, Joomla 1.5.2. And its connected to internet. I m able to access the internet.
But both Component and Module does not work on my localhost. I have no idea why. When I click "Convert", nothing happens.

please help me.... waiting for ur reply...

thanks a lot
He jlackyashdya,

We've had a couple other users with local servers who have had this issue as well. Didn't really come up with a solution though. They uploaded to a live site and all was okay...

Can you give us more info on your server configuration? Like is it Windows ASP based? Any other info would also help.

The CurrencyConverter uses a @fsockopen php function to fetch the data from Yahoo Finance. It also uses port 80 in the convert.php file. Maybe your server uses a different port? You can check it by entering the following code in a test.php file and then running it on your server (make sure to replace 'YourUrlHere.com' with your actual url:

Code:
<?php
$url = 'http://YourUrlHere.com';
print_r(parse_url($url));
?>

You could also let us know what these PHP settings are for your server (you can get them through the Joomla! Admin Help--System Info--Php Information tab - should be near the top of all info):

  • allow_url_fopen
  • Registered Stream Socket Transports
And finally, not sure if it would matter or not, but have you incorporated any sort of SSL on your server (https)?

Let us know and we'll try our best to help out!

Thanks,

D-Mack
Reference URL's