Hi,
First at all sorry for my very bad english.
I've installed the CurrencyConverter without any problem, but when I try to convert any currency I get this message:
"Not Found
The requested URL /components/com_currencyconverter/convert.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
I've checked the url in convert.php and it works fine when I write it in the browser.
I don't know what can I do else about this.
If you like you can check the problem here:
test
Thanks for your help
Quim
Hi jisert,
Welcome to the Forums!
Not sure what the problem could be. A couple questions for ya...
- have you had any problems with any other components?
- are you running any SEO components/modules?
Sounds to me like it's some sort of 'path/tofile/' issue.
Are you familiar with coding/programming at all? If so, you could try the following (it's quite simple):
Open ajax.js in notepad or a plain text editor. The file is in the front end component/com_currencyconverter directory.
Find the text that shows:
var url="/components/com_currencyconverter/convert.php?from=" + str + "&to=" + strto + "&val=" + val + "&res1=" + res1 + "&res2=" + res2;
(the above should all be on one line)
Then replace it with:
var url="http://jisert.joomlatests.com/crazy/components/com_currencyconverter/convert.php?from=" + str + "&to=" + strto + "&val=" + val + "&res1=" + res1 + "&res2=" + res2;
(again, make sure the above is all on one line - i.e. no line breaks)
Save the file, then upload it to your website server in the front end components/com_currencyconverter directory.
Test and (hopefully) enjoy.
Please let us know how you make out!
Cheers!
D-Mack
Thanks for your soon reply,
I've replaced the path and now it works fine.
Thank you very much for your help.
Quim
No problem at all Quim/jisert!
Totally glad you got it working!!!
Now, only if you had a couple spare minutes to write a reviw and rating (5 starts of course

) on the Joomla! Extensions directory...
Thanks!
D-Mack
Received an email today from a different user with the same problem:
After activating the DMack currency converter I got the error message that convert.php was not present on my server. The problem lies in this line of code
var url="/components/com_currencyconverter/convert.php?from=" + str + "&to=" + strto + "&val=" + val + "&res1=" + res1 + "&res2=" + res2;
and the fact that I have joomla in a subdirectory to the main root of the server. After adding the subdir before /components.... all worked. However it should be possible to write the code so that the location of joomla relative to the server root doesn't matter.
Sincerely,
A.M.
Dear A.M. and Jiisert,
I have now figured out the solution and have modified the code to allow the 'path-to-the-component' to be automatically generated. This should also work for sites on/with sub-domains. I will release v1.0.2 of the CurrencyConverter later today that has the fix.
Please feel free to test it out and let me know if you spot any other issues.
Thanks
D-Mack
Just to give you a heads up - the new version - v1.0.2 - has now been uploaded to the server. Feel free to
Download the latest version and let me know if you spot any other issues.
Thanks
D-Mack