Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Upgrade to 1.1 : Call to undefined method Propel::import()
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
DigitalBase  
View profile  
 More options Oct 11 2008, 8:45 am
From: DigitalBase <i...@digitalbase.eu>
Date: Sat, 11 Oct 2008 05:45:07 -0700 (PDT)
Local: Sat, Oct 11 2008 8:45 am
Subject: Upgrade to 1.1 : Call to undefined method Propel::import()
I just upgraded my project to 1.1. Now i get the exception :

<b>Fatal error</b>:  Call to undefined method Propel::import() in <b>/
home/gnelisse/projects_local/projectname/webroot/core/lib/plugins/
sfPropelPlugin/lib/vendor/propel/util/BasePeer.php</b> on line <b>929</
b><br />

I found a thread about it here : http://www.symfony-project.org/forum/index.php/m/62822/
no solution though.

I am on ubuntu 8.04. This project is using a svn:externals defenition
of symfony 1.1 core, altough the system does have symfony 1.0
installed under PEAR.

Anyone solution ?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kris Wallsmith  
View profile  
 More options Oct 11 2008, 9:26 am
From: Kris Wallsmith <kris.wallsm...@symfony-project.com>
Date: Sat, 11 Oct 2008 06:26:16 -0700
Local: Sat, Oct 11 2008 9:26 am
Subject: Re: [symfony-users] Upgrade to 1.1 : Call to undefined method Propel::import()
Hm... The Propel::import() method was renamed Propel::importClass() in  
Propel 1.3. Is it possible you have Propel 1.3 installed somewhere?

Kris

On Oct 11, 2008, at 5:45 AM, DigitalBase <i...@digitalbase.eu> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DigitalBase  
View profile  
 More options Oct 11 2008, 11:27 am
From: DigitalBase <i...@digitalbase.eu>
Date: Sat, 11 Oct 2008 08:27:13 -0700 (PDT)
Local: Sat, Oct 11 2008 11:27 am
Subject: Re: Upgrade to 1.1 : Call to undefined method Propel::import()
Tnx Kris

Apparently i do (see pear output below). But as i am using
svn:externals defenition for the core. It should use the included
propel plugin no ?
If i browse the 1.1 repository, i can see sfPropel is included :
http://trac.symfony-project.org/browser/branches/1.1/lib/plugins/sfPr...
Also this post tells me propel1.2 is included as a plugin :
http://www.symfony-project.org/blog/2007/12/12/symfony-propel-and-doc...

So why is it using my pear version, instead of the included one ?

pear list -a
Installed packages, channel __uri:
==================================
(no packages installed)
Installed packages, channel pear.phing.info:
============================================
Package Version  State
phing   2.3.1RC1 beta
Installed packages, channel pear.php.net:
=========================================
Package                  Version  State
Archive_Tar              1.3.2    stable
Console_Getopt           1.2.3    stable
DB                       1.7.13   stable
Log                      1.11.1   stable
OLE                      1.0.0RC1 beta
PEAR                     1.6.1    stable
Spreadsheet_Excel_Writer 0.9.1    beta
Structures_Graph         1.0.2    stable
Installed packages, channel pear.phpdb.org:
===========================================
Package          Version  State
creole           1.1.0    stable
propel_generator 1.3.0RC1 beta
propel_runtime   1.3.0RC1 beta
Installed packages, channel pear.symfony-project.com:
=====================================================
Package Version State
symfony 1.0.17  stable
Installed packages, channel pecl.php.net:
=========================================

On Oct 11, 3:26 pm, Kris Wallsmith <kris.wallsm...@symfony-


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kris Wallsmith  
View profile  
 More options Oct 11 2008, 11:38 am
From: Kris Wallsmith <kris.wallsm...@symfony-project.com>
Date: Sat, 11 Oct 2008 08:38:14 -0700
Local: Sat, Oct 11 2008 11:38 am
Subject: Re: [symfony-users] Re: Upgrade to 1.1 : Call to undefined method Propel::import()
Looks like there may be a bug in sfPropelPlugin's use of  
set_include_path(). Please create a ticket on Trac.

Thanks,
Kris

On Oct 11, 2008, at 8:27 AM, DigitalBase <i...@digitalbase.eu> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DigitalBase  
View profile  
 More options Oct 13 2008, 4:31 am
From: DigitalBase <i...@digitalbase.eu>
Date: Mon, 13 Oct 2008 01:31:04 -0700 (PDT)
Local: Mon, Oct 13 2008 4:31 am
Subject: Re: Upgrade to 1.1 : Call to undefined method Propel::import()
I created a ticket : http://trac.symfony-project.org/ticket/4650
Now when i uninstall propel from pear (runtime & generator) i get this
error :

[wrapped: Unable to load driver class:
symfony.plugins.sfPropelPlugin.lib.creole.drivers.sfDebugConnection]

Is this the same problem ? (autoloader not fully functioning due to
include path problems ?)

On Oct 11, 5:38 pm, Kris Wallsmith <kris.wallsm...@symfony-


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DigitalBase  
View profile  
 More options Oct 13 2008, 5:59 am
From: DigitalBase <i...@digitalbase.eu>
Date: Mon, 13 Oct 2008 02:59:31 -0700 (PDT)
Local: Mon, Oct 13 2008 5:59 am
Subject: Re: Upgrade to 1.1 : Call to undefined method Propel::import()
seems like i need to uninstall creole too : sudo pear uninstall phpdb/
creole

On Oct 13, 10:31 am, DigitalBase <i...@digitalbase.eu> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
volatt  
View profile  
 More options Oct 13 2008, 5:53 am
From: volatt <symf...@volatt.es>
Date: Mon, 13 Oct 2008 02:53:12 -0700 (PDT)
Local: Mon, Oct 13 2008 5:53 am
Subject: Re: Upgrade to 1.1 : Call to undefined method Propel::import()
Hi.

We had the same problem here:

# pear list -a
Installed packages, channel __uri:
==================================
(no packages installed)
Installed packages, channel pear.php.net:
=========================================
Package          Version State
Archive_Tar      1.3.2   stable
Console_Getopt   1.2.3   stable
Log              1.9.11  stable
PEAR             1.6.1   stable
Structures_Graph 1.0.2   stable
Installed packages, channel pear.phpdb.org:
===========================================
Package        Version State
propel_runtime 1.3.0   stable
Installed packages, channel pear.symfony-project.com:
=====================================================
Package Version State
symfony 1.0.17  stable
Installed packages, channel pecl.php.net:
=========================================
(no packages installed)

However, the problem was solved after uninstalling propel_runtime:
# pear uninstall  pear.phpdb.org/propel_runtime
# symfony cc

Regards,

Alfonso


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DigitalBase  
View profile  
 More options Oct 14 2008, 5:13 am
From: DigitalBase <i...@digitalbase.eu>
Date: Tue, 14 Oct 2008 02:13:47 -0700 (PDT)
Local: Tues, Oct 14 2008 5:13 am
Subject: Re: Upgrade to 1.1 : Call to undefined method Propel::import()
meanwhile Kris closed the ticket, thanks for the quick intervention.
If you're using svn:externals just svn update...

On Oct 13, 11:53 am, volatt <symf...@volatt.es> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google