Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8346721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:06:42+00:00 2026-06-09T07:06:42+00:00

I am trying to create a custom module which will capture order information each

  • 0

I am trying to create a custom module which will capture order information each time a sales happens and will send that to a STOMP server. The idea is to create a realtime dashboard of sales events.

I’ve created the generic structure of the module and Magento is able to recognize it properly, but the code is not being executed. I’ve traced it down to the fact that Varien_Autoload cannot find my class.

My config is as follows:

app/etc/modules/PrettySecrets_SalesEvent.xml

<?xml version="1.0"?>
<config>
    <modules>
        <PrettySecrets_SalesEvent>
            <active>true</active>
            <codePool>local</codePool>
        </PrettySecrets_SalesEvent>
    </modules>
</config>

app/code/local/PrettySecrets/SalesEvent/etc/config.xml

<?xml version="1.0"?>
<config>
    <modules>
        <PrettySecrets_SalesEvent>
            <version>0.0.1</version>
        </PrettySecrets_SalesEvent>
    </modules>
    <global>
        <models>
            <prettysecrets_salesevent>
                <class>PrettySecrets_SalesEvent_Model</class>
            </prettysecrets_salesevent>
        </models>
        <events>
            <checkout_onepage_controller_success_action>
                <observers>
                    <prettysecrets_salesevent>
                        <type>singleton</type>
                        <class>prettysecrets_salesevent/observer</class>
                        <method>doStreamToNode</method>
                    </prettysecrets_salesevent>
                </observers>
            </checkout_onepage_controller_success_action>
        </events>
    </global>
</config>

I’m given to believe that the directory structure is extremely important for Magento:

app
 code
  local
   PrettySecrets
    SalesEvent
     etc
      config.xml
     Model
      Observer.php

The system.log shows:

Warning: include(PrettySecrets_SalesEvent_Model_Observer.php): failed
to open stream: No such file or directory in
/chroot/home/…/includes/src/Varien_Autoload.php on line 93

I’ve also verified that app/code/local is in my path. Also, I’ve debugged it down into App.php with Mage::log inserts.

Any help would be much appreciated as I am literally tearing my hair out.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T07:06:43+00:00Added an answer on June 9, 2026 at 7:06 am

    Dude you have the Magento compiler enabled, disable this from system > tools > compilation as compilation copies your files to include/src/ folder and all your changes are left unseen by magento after that (before you recompile at least)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a custom TabItem that is dynamically added to a TabControl
I'm trying to create a custom form input that utilizes some images, it should
I am trying to create a custom popup view that can be called from
I'm trying to create a custom usercontrol that acts like a button, but i
I'm trying to create a custom module using Magento's EAV structure and have been
I am trying to create a custom table using custom module. I have been
HI, I am trying to create a router for my custom module. I would
I was trying to create a custom attribute for logging (caller's class name, module
I am trying to create a custom module.When i click a module menu,empty grid
I'm trying to create links such as /redirector/http://www.google.co.uk so that it runs a custom

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.