joe_g Posted October 2, 2014 Posted October 2, 2014 Hello, I get this error after copying a v2.4 site (from /xx to /yy) Somehow the copy have a reference to the old location. So on the new site (/yy) i get: Fatal error: Cannot redeclare class FieldtypeTextLanguage in /Applications/MAMP/htdocs/xx/wire/modules/LanguageSupport/FieldtypeTextLanguage.module on line 17 This error message was shown because site is in debug mode ($config->debug = true; in /site/config.php). Error has been logged. What can I do to make the new copy (/yy) forget about the old location? - I tried deleting the module cache. - .htaccess is identical in both cases, there is no reference to /xx - $config->httpHosts = array('localhost:8888', 'localhost'); // also identical - deleted the sessions on both /xx and /yy
davo Posted October 2, 2014 Posted October 2, 2014 is there something in /site/sessions ? that might affect this? try deleting the sessions.
joe_g Posted October 2, 2014 Author Posted October 2, 2014 thanks, deleted sessions on both sites, no effect tho j
joe_g Posted October 2, 2014 Author Posted October 2, 2014 I solved it like this: https://processwire.com/talk/topic/2598-fatal-error-cannot-redeclare-class-sessionloginthrottle-on-update/ I deleted the /wire folder, then pasted in the /wire folder from a different (totally unrelated) project the difference in my case was that it was happening locally
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now