SilverCart Forum

We moderate this Forum and we're here to help. Have you already run a forum search to check if your problem has already been solved?

You can help us helping you by providing detailed error messages, screenshots and logfile entries.

SebastianRamon

Page: 1
Topic No activated country found. 2036 Views

No activated country found.

21 March 2012 at 12:52pm Last edited: 21 March 2012 1:34pm

In my web I can select 2 languages, by default is English.
When I select my homepage in Spanish the following error takes place:
-----
No activated country found. Please log in and choose "SC Config -> countries" to activate a country.
-----
I have checked in SC Config Spain (Checkbox Active), but still produce the error.
What can I do?

Other thing more. In the error message, the link 'log in' has the following address: http://admin/silvercart-configuration
which obviously is wrong.

Thanks,
Regards,
Jose

Re: No activated country found.

21 March 2012 at 5:01pm

Hi Joshua,

I presume that you did not follow the installation steps as described in our doku. Please adjust your installation properly and try again.

Re: No activated country found.

21 March 2012 at 6:22pm

Hi Roland!

Thanks for your advice. :)
Indeed, after doing all the exact steps of the installation, your template now appears, but when I click on Spanish the error continues.
In _config.php I have the following:
// default translation
Translatable::set_default_locale('en_US');

/*
* Restrict the language select dropdown in the admin
* to only those languages that you will actually use.
*/
Translatable::set_allowed_locales(array(
'en_US', // US English
'es_ES' // Español
));

And in the controller I have removed everything.

What can be happening?

Another question:
Now, the menu options of the pages defined in the cms are missing.
Did they should not automatically appear with your template?

Thank you very much for your help.

Regards,
Jose