-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic installation #4
Comments
Did you try adding the "etc" directory to your root? https://github.com/chrisdavenport/j3-rest-api/tree/master/etc |
Yes, I double checked that the three directories are in localhost, Thanks for your response... On 05/02/2014 08:14 PM, Matias Aguirre wrote:
|
Is strange, i never got that issue. If your Joomla! installation havent issues with the mysql connection I do not understand the reason that API returns this error. The database instance is loaded here: https://github.com/chrisdavenport/j3-rest-api/blob/master/api/application/web.php#L98 Which version of Joomla! are you using? |
I was on 3.2.3 with the former error. I just upgraded to the latest, Fatal error: Class 'JRegistry' not found On 05/02/2014 08:37 PM, Matias Aguirre wrote:
|
Check the solution for this bug. Just replace the file api/import.php for this one: https://github.com/fastslack/j3-rest-api/blob/jregistry-fix/api/import.php |
That is strange with the Registry and something to watch out for. {"message":"Could not connect to MySQL.","code":0,"type":"RuntimeException"} It seems to throw the exception on line 1071 of web.php ---
I am certain that the credentials in configuration.php are correct. I On 05/02/2014 10:46 PM, Matias Aguirre wrote:
|
You can debug this method and see if you are receiving the correct paramerters to connect with your mysql database: https://github.com/chrisdavenport/j3-rest-api/blob/master/api/application/web.php#L98 |
I debugged, and it turned out the the options for the DB had a missing That leads to a different error, same file line 194: JPluginHelper::importPlugin('authentication'); not found. On 05/04/2014 04:28 PM, Matias Aguirre wrote:
|
Check this patch from my fork: fastslack/j3-rest-api@chrisdavenport:master...master Look at the file api/application/web.php into this file you can found the JLoader class for plugins. |
Have same issue here (Joomla 3.3, not using htaccess) it is local test install get the JRegistry error
|
any solution for mysql error plz? |
@munimnal please try with this fork https://github.com/fastslack/j3-rest-api |
I unpacked the api to the root folder, but when visiting http://pathto/joomla/api, I get a mysql connect error:
{"message":"Could not connect to MySQL.","code":0,"type":"RuntimeException"}
Is there a configuration setting I missed? I cp'ed the default htaccess.txt to .htaccess, and added the rules at the bottom as per the instructions.
The text was updated successfully, but these errors were encountered: