[SF 1.4 @ Virtualbox] error

Discussion relating to version 1.3.x and 1.4.x

[SF 1.4 @ Virtualbox] error

Postby deutsch » Wed May 04, 2011 10:37 am

Hi everyone,

I just want to ask you if you met with this error before.

Ubuntu 10.10 guest on Virtualbox at Windows 7 host. Full LAMP setup, no problem with that. I have some shared directorys for the projects between the host and the guess. It went well so far. I have some symfony 1.4 projects, all went fine so far. Im using the official version of sfDoctrineGuardPlugin.

I did an Ubuntu update, nex time I wanted to make a
Code: Select all
doctrine:build --model

It said:
Code: Select all
Invalid schema element named "unique" at path "sfGuardGroup->columns->name"


Interesting, is it not? I figured out, if I re-checkout the schema.yml file for the sfDoctrineGuardPlugin, the error disappears => something is with the mounting causes a parse error in the yml files?
So, after re-checkouting the schema.yml files, the build --model, --form, --filter commands running nice, but when I try to make a
Code: Select all
doctrine:build --sql
we have a new error!

Right now I restarted the guest, and re-mounted the drive, the 1st problem is renewed:
Code: Select all
Invalid schema element named "unique" at path "sfGuardGroup->columns->name"


Awesome!

Any advice beside "Uninstall / reinstall the whol stuff" are appreciated.
deutsch
Junior Member
 
Posts: 12
Joined: Thu Nov 27, 2008 3:29 pm

Re: [SF 1.4 @ Virtualbox] error

Postby deutsch » Thu May 05, 2011 10:51 am

Solution:

NEVER do a distribution update on VirtualBox. It fcks up the mounted filesystem.

Learned this to a lifetime.
deutsch
Junior Member
 
Posts: 12
Joined: Thu Nov 27, 2008 3:29 pm

Re: [SF 1.4 @ Virtualbox] error

Postby reverso » Mon May 30, 2011 11:54 am

Hello,

I've the same problem after upgrading to the latest ubuntu version (virtualbox).
I've done a fresh install after having the same problem (installed LUbuntu)... but the problem is always there !

Do you have any solution for solving this problem ?

Thanks
reverso
Junior Member
 
Posts: 20
Joined: Wed Feb 11, 2009 4:48 pm

Re: [SF 1.4 @ Virtualbox] error

Postby rlaou » Wed Feb 22, 2012 12:53 pm

Hello,

Hope my late reply may be useful to those who had this issue (like me).

This is a bug with Vbox guest additions : upgrading to Virtual box V4.1.8 + related guest additions fixed the problem for me.

Before this update, php iterator functions were unable to correctly parse shared folders (in this case, the Doctrine Validator folder used to parse schema.yml file)
rlaou
Junior Member
 
Posts: 1
Joined: Wed Feb 22, 2012 12:47 pm

Re: [SF 1.4 @ Virtualbox] error

Postby jacoboram75 » Mon Feb 27, 2012 9:29 am

So, after re-checkouting the schema.yml files, the build --model, --form, --filter commands running nice, but when I try to make a


---------------------------------------------
Escort Bayan
jacoboram75
Junior Member
 
Posts: 1
Joined: Mon Feb 27, 2012 9:23 am


Return to symfony 1.3 and 1.4

Who is online

Users browsing this forum: No registered users and 5 guests