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

  • SEARCH
  • Home
  • 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 8151419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:23:00+00:00 2026-06-06T15:23:00+00:00

i am using the propel runtime v1.5.4 and its related propel_generator in my zend_framework/php

  • 0

i am using the propel runtime v1.5.4 and its related propel_generator in my zend_framework/php project since two years without any problems.

Yesterday i have updated the propel_generator via pear to v1.6.5 and the runtime library to v1.6.6. After the first build-proccess with the new generator i have a problem with the generated classmap-[project]-conf.php file:

Old Generator (v1.5.4)

...

      'AutocompleteQuery' => 'AutocompleteQuery.php',
      'AutocompleteTableMap' => 'map/AutocompleteTableMap.php',
      'BaseAclAssertion' => 'om/BaseAclAssertion.php'

...

New Generator (v1.6.5)

...

      'AutocompleteQuery' => 'AutocompleteQuery.php',
      'AutocompleteTableMap' => '/map/AutocompleteTableMap.php',
      'BaseAclAssertion' => '/om/BaseAclAssertion.php'

...

The new generator adds a leading slash before the ‘map’ and ‘om’ path. So the propel autoloader can not find the class-files.

Is there any config-option or a generator-template where i can change this?

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-06T15:23:01+00:00Added an answer on June 6, 2026 at 3:23 pm

    It seems the targetPackage build property is empty in your configuration. By default, Propel uses the project name as target package, so that you always have a directory before your classes:

      // ...
      'AutocompleteQuery'    => 'project/AutocompleteQuery.php',
      'AutocompleteTableMap' => 'project/map/AutocompleteTableMap.php',
      'BaseAclAssertion'     => 'project/om/BaseAclAssertion.php'
    

    I fixed Propel to remove this limitation, that way it will generate a valid package path. I’m talking about packages here because packages are used to determine where to write files.

    Documentation to understand packages in Propel:
    http://www.propelorm.org/cookbook/multi-component-data-model.html#understanding_packages

    Fixed by commit:
    https://github.com/propelorm/Propel/commit/b03569a802471b86e6e52287974de17f836c9baa

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

Sidebar

Related Questions

First post here... I normally develop using PHP and Symfony with Propel and ActionScript
I'm using propel master-dev with symfony 2.1. Is possible to write something like that
The Propel ORM documentation mentions a neat import/export feature using functions like fromArray and
we using symfony 1.0. We have an module work with Propel objects. The sql-querys
In my bio information users sometimes input sentences without using the proper spacing, like
Im using Propel ORM in my development and I have this issue: $mo =
I need to sort a query by 2 columns. Is this possible using propel?
I am using the tagsinput text field on my website from this project .
I am looking into using the new Backup API that available since Android 2.2,
Using VC++ Command Line for the first time. Facing problem in setting proper paths

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.