D-Mack Media Forums

Full Version: Help Please - Internal Server Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
Component installs fine and displays ok too. However, when I hit the convert button, I get ....

Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@taylorsmotel.co.nz and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


I have tried making the path change in ajax.js as you suggested but its the same.
[/size]
Would appreciate some help as this site needs to go live.

http://www.taylorsmotel.co.nz/currency-converter.html
Hi Westwing,

Couple things that might be helpful:
  • I 'assume' you are using the component (and not the module)?
  • Not that I think it would matter, but have you tried installing the module instead of the component?
  • Are you using the latest version of the component?
  • What version of Joomla! are you running?
  • Do you know the version of PHP your server is running?
  • Are you sure that 'sockets' are ENABLED on your server? That's what is used to retrieve the information from Yahoo. You can check this by going to your Joomla! Admin - click on Help->System Info then click the PHP Information tab. Carefully read the 'Configure Command' part of that page (should be near the top). Check to make sure that there is a part that states '--enable-sockets'. If that shows up as 'disabled', then that's the problem right there - you would need to have your hosting provider turn on that functionality in order to use the converter.
  • You also might want to check in the PHP Information page that 'allow_url_fopen' is set to on - will be under the PHP Core section on that page.
Please report back on your finding/answers and we'll take it from there.

Thanks,

D-Mack
Hi D-Mack,

Thanks for the quick answer.
'assume' you are using the component (and not the module)?
Yes ...using latest component.

Not that I think it would matter, but have you tried installing the module instead of the component?
Yes ... same problem. Also same in backend admin area.

Are you using the latest version of the component?
Yes

What version of Joomla! are you running?
1.5.08

Do you know the version of PHP your server is running?
5.2.5

Are you sure that 'sockets' are ENABLED on your server? That's what is used to retrieve the information from Yahoo. You can check this by going to your Joomla! Admin - click on Help->System Info then click the PHP Information tab. Carefully read the 'Configure Command' part of that page (should be near the top). Check to make sure that there is a part that states '--enable-sockets'. If that shows up as 'disabled', then that's the problem right there - you would need to have your hosting provider turn on that functionality in order to use the converter.
I looked under the PHP Information Tab and its all blank. I opened my php.ini file and I see no mention of 'enable sockets' ?

You also might want to check in the PHP Information page that 'allow_url_fopen' is set to on - will be under the PHP Core section on that page.

allow_url_fopen is disabled.

Can I add some necessary commands to a 'local' php.ini to overcome this? What would they be?
Thanks
Hi,

I contacted my host ... their reply.... still not working!

Are you sure that 'sockets' are ENABLED on your server?

Yes the php module is enabled.

I've enabled allow_url_fopen, it was diabled.
Any ideas?
Hi
It means that your scripting language have an error. If your using Apache you could configure it to display the error. But that is not advisable in a production server since it would reveal critical information. But that would really help you locate your error accurately.

You can configure it by opening apache.conf and finding this line:
display_errors=Off

Change the value to On and restart your apache.

It would give you a much more accurate error message. Just don't forget to turn it off later on.
Sooooo frustrated! I tried the Google currency converter, the yahoo currency converter, read the forums and all they do when you click the button and spin and spin.
Reference URL's