#1133 ✓resolved
Adolfo Castro

Error in Site Configuration and Manage Modules in Super-Admin Tools

Reported by Adolfo Castro | January 31st, 2014 @ 01:39 PM | in 2.3.1 (closed)

When I'm using multioptiontheme and try to change the theme using super-admin tool the sistem crash and this note appear in administration mode.
Notice: Use of undefined constant LOCALE - assumed 'LOCALE' in /home/storage/e/cd/2e/tuttianimati/public_html/tuttianimati/exponent/framework/core/subsystems/expTheme.php on line 212
Please help

Comments and changes to this ticket

  • dleffler

    dleffler January 31st, 2014 @ 11:35 PM

    • Tag set to language, themes
    • Assigned user cleared.

    First off, this is only a 'warning' displayed and then only when 'error reporting' is turned on. It should NOT crash the page (break the styles or prevent full page creation)

    What Exponent version are you running? What language do you have selected? When you say 'change the theme' do you mean switch to another theme (use or preview) or 'configure' the multi-option theme?

  • Adolfo Castro

    Adolfo Castro February 2nd, 2014 @ 10:54 AM

    my version is the last 2.2.3 release 4. It's not a fresh installation, it is upgraded from 2.2.2. When I click the option for change the theme(manage themes option in Super-admin tools), the system crash and lose the layout. When I use a web upgrade the 'configure site' option crash too, if I upload by ftp and did the upgrade manually only the super-admin manager tools crash. This happens in all themes, I change the theme editing the config file and try to change the theme in Exponent. I'm using my language, portuguese, but I edit there copy the english version and translating.

  • dleffler

    dleffler February 3rd, 2014 @ 05:21 PM

    Ok, probably two separate issues:

    1. The LOCALE warning is likely due to NOT having an associated langname.info.php file to go with your langname.php file in /framework/core/lang. You can copy one of the other language xxx.info.php files to get the format and update the details especially the 'locale' setting.

    2. One possible issue may be the 'cache' is not allowing itself to be cleared and therefore causes issues. If you could manually empty/delete all the files in /tmp/views_c/ this issue would be resolved (if that is what it is) Normally this could be done using the 'Clear Smarty Cache' menu option or by url www.mysite.org/administration/clear_smarty_cache...or even better clearing all caches www.mysite.org/administration/clear_all_caches

  • Adolfo Castro

    Adolfo Castro February 5th, 2014 @ 01:00 AM

    Im'try a fresh installation because I came from 2.2.2. After a fresh install of version 2.2.3, no errors declared, I try to do something, i.e: add a new page or configure my site. Nothing works!!! A message like that appear: The requested URL /administration/configure_site was not found on this server.

    Please help!!!

  • Adolfo Castro

    Adolfo Castro February 5th, 2014 @ 01:58 AM

    locale fixed!!! Thanks. Now the problem is this fresh installation. May I put the exponent content in the root folder?

  • dleffler

    dleffler February 5th, 2014 @ 03:27 AM

    Exponent is designed to be run in the root folder or within a subfolder. Is it possible you are NOT running on an Apache based web server and have turned SEF URLs on?

  • Adolfo Castro

    Adolfo Castro February 5th, 2014 @ 11:40 AM

    Its possible. Apache based is mandatory? SEF URL off too? Why this check don't displayed in Wizard Installation?

  • dleffler

    dleffler February 5th, 2014 @ 04:17 PM

    Exponent will run on a variety of web servers (nginx, LightTPD, IIS, Apache, etc...), HOWEVER, the Search Engine Friendly (SEF) url feature requires a properly configured 'URL rewriting' setup. Therefore, we only support SEF URLs on an Apache based web server. Exponent should run on other web server (engines) without SEF URLs turned on. You can manually fix this by editing the /framework/conf/config.php file and changing the following line:


    Of course setting it to '0' or turning it off will give you standard urls such as www.mysite.org/index.php?controller=administration&action=clear... instead of one like www.mysite.org/administration/clear_all_caches

  • dleffler

    dleffler February 18th, 2014 @ 03:22 PM

    In the pre-release code for the next version (will be tagged either 2.2.4 or 2.3.0) we set the SEF Urls checkbox default during install based on the type of web server.

  • dleffler

    dleffler May 2nd, 2014 @ 02:04 AM

    • State changed from “new” to “resolved”
    • Assigned user set to “dleffler”
    • Milestone set to 2.3.1

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bug Tracker for Exponent CMS

Shared Ticket Bins

People watching this ticket