Skip to content
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

AOE Profiler not logging any url nor showing in footer #60

Open
naveedse opened this issue Sep 22, 2016 · 3 comments
Open

AOE Profiler not logging any url nor showing in footer #60

naveedse opened this issue Sep 22, 2016 · 3 comments

Comments

@naveedse
Copy link

Hi,

I'm new to magento and Profiling. I'm trying to install and confirm aoe_profiler but nothing is being logged.

  • I Can see Runs section in System -> AOE Profiles. But no urls being logged.
  • installation is successful, I can see profiler configuration options in System -> Developer -> Debug. I believe issue is with following line "Profiler: Please configure the profiler in var/aoe_profiler.xml. Find a sample configuration file in the module's var directory.". I did configured var/aor_profiler.xml and set proper permissions. and accessing urls with "?profile=1" but nothing is happening.
    Below is the sample configuration file. I didnt not make any changes just changed from aoe_profiler.xml.sample to aoe_profiler.xml

can you please help me fix the issue? I'm using Magento Enterprise 1.14.2.0

Regards,

-Naveed

    <!--
    'always': Every request will be logged (filters apply if enabled...)
    'never': nothing will be logged. (The absence of this xml configuration implies 'never')
    'parameter': controlled via get parameter '?profile=1' or cookie (profile).
    Check System > Configuration for bookmarklets.
    -->
    <trigger>parameter</trigger><!-- 'always', 'parameter', or 'never' -->

    <!--
    If this is set to '0' (and profiling triggered) EVERY request will be logged.
    This may end in a lot of data and in a general performance loss of your site.
    This is only recommended on dev environments.
    If set to '1' the following filters apply.
    -->
    <enableFilters>1</enableFilters>

    <filters>

        <!--
        This controls how many samples will be recorded. Other filters still apply. Examples:
        100 => every request will be logged
        25 => only every fourth request will be logged
        0.01 => only one in 10,000 requests will be logged.
        -->
        <sampling>100</sampling>

        <!--
        Only requests running longer than the configured time will be logged. Set to '0' to log everything. (Other filters still apply)
        -->
        <timeThreshold>0</timeThreshold><!-- in seconds -->

        <!--
        Only requests consuming more than the configured memory will be logged. Set to '0' to log everything. (Other filters still apply)
        -->
        <memoryThreshold>0</memoryThreshold><!-- in bytes -->

        <!--
        Regex pattern for $_SERVER['REQUEST_URI']. If empty the whitelist/blacklist is not active (whitelist will allow everything and blacklist
        won't block anything). The whitelist has a higher priority than the blacklist
        -->
        <requestUriWhiteList><![CDATA[]]></requestUriWhiteList>
        <requestUriBlackList><![CDATA[/^\/index\.php\/hkbackoffice\//]]></requestUriBlackList><!-- this example blocks all admin urls -->
    </filters>

    <!--
    This might slow down page rendering, but will show you the classname
    and the entity id instead of '__EAV_LOAD_MODEL__' only.
    -->
    <captureModelInfo>1</captureModelInfo>

    <!--
    This might slow down page rendering, but will allow you to click on the lines in the profile output
    to make PHPStorm jump to the code (if using the "RemoteCall" plugin)
    -->
    <captureBacktraces>0</captureBacktraces>

</aoe_profiler>
@naveedse
Copy link
Author

Also, My website is hatifkom.com. I'm using some custom (porto) theme. is it the cause why urls not being logged ?

@Sibi8822
Copy link

Hi

I also similiar issue and it is tested in my localhost Magento CE 1.9.1.0

But how to fix this issue. Ech action in adminpanel triggering the profiles. But nothing from frontend even I used to GET param in URL

@Sibi8822
Copy link

did you fixed this ?

If yes please help me to do the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants