Problems occurred when creating a table in symfony.
Source: Internet
Author: User
A problem occurred when creating a table in symfony! I want to add a table in the system developed by symfony1.0, my scheml. the yml file content is: --- ep: & nbsp; _ attributes: & nbsp; package: lib. model & nbsp; defa symfony: a problem occurred when creating a table!
I want to add a table to the system developed by symfony1.0. the content of my scheml. yml file is:
---
Ep:
_ Attributes:
Package: lib. model
DefaultIdMethod: native
Number:
_ Attributes:
PhpName: Number
Nid:
Type: integer (11)
Required: true
Primarykey: true
Name:
Type: varchar (20)
Required: true
Perinfo:
Type: varchar (20)
Required: true
The command I used is symfony propel-build-all app.
When the last line is compiled
Php: symbol lookup error:/usr/lib/libxslt. so.1: undefined symbol: xmlXPathContextSetCache
The base class is generated in om, but no number table is created in the database.
I have been online for a long time, but I still cannot find the reason.
When I search xmlXPathCOntextSetCache in libsxslt. so.1,
The xmlXPathInit xmlXPathContextSetCache xmlXPathRegisterVariableLookup row is found!
Which of the following is familiar with the symfony framework? can you help me solve this problem? This problem has been plaguing me for a long time. This problem cannot be solved and cannot be done in subsequent projects! I am new to symfony!
------ Solution --------------------
You can create a table using phpmyadmin or other client tools, and then execute build-schema.
------ Solution --------------------
Symfony is just an object-oriented PHP5 framework based on the MVC model. you can use phpmyadmin or Navicat to create tables.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service