Skip to main content

Posts

Showing posts from February, 2015

failed to find style 'textviewstyle' in current theme with android studio

failed to find style 'textviewstyle' in current theme with android studio

In most of the cases we are trying to load a style that is not supported by the current android API

Go in Project -> app click the 2nd mouse button and select "open module settings"
Select the TAB "flavors" and modify the  Min SDK Version.
API V15 should be fine if you are using something like 10 or 12.


That's how I solved it.

How to fix Magento Admin – Error 404 page not found

how to fix the missing admin page of magento.
Fix for Magento Admin – Error 404 page not found



Sometimes, expecially when you migrate to another server, the admin page can be missing.

1 - Error 404 admin page /admin
Before anything check your configuragion file ( app/etc/local.xml) and make sure that you have "admin" as value for the "frontname" tag.
ex.:
            <adminhtml>
                <args>
                    <frontName><![CDATA[admin]]></frontName>
                </args>
            </adminhtml>

Usually when you try http://yoursite.com/admin it gives you the admin area
Try using an url like that http://yoursite.com/index.php/admin
and if it works probably you need to only modify the rewrite rules or follow the suggestions (see the link below)

edit the file "app/code/core/Mage/Core/Model/Session/Abstract/Varien.php"
in magento 1.3 replace:
session_set_cookie_params(
$this->getCookie()->getLifetime(…