Comments (17)
hi,
can it be you have an old libxml? jackalope states "libxml version >= 2.7.0 (due to a bug in libxml http://bugs.php.net/bug.php?id=36501)" [1] - i remember we had problems like yours before using a newer libxml.
[1] https://github.com/jackalope/jackalope
from cmf-sandbox.
Hi
Thank you for your suggestion.
I use Macports to keep all versions up-to-date. I ran an update and then checked the version.
When I ran
imac:~ barry$ port search libxml
I got the following:
libxml @1.8.17 (textproc)
XML parsing library
libxml2 @2.7.8 (textproc)
gnome xml library
and when I ran
imac:~ barry$ php -i | grep libxml
I got the following:
libxml Version => 2.7.8
libxml
libxml2 Version => 2.7.8
did you just upgrade your libxml version or did you have to do anything else as well?
from cmf-sandbox.
i think i just updated libxml. (just to avoid funny things: are you sure the web browser and the console use the same version of libxml?)
and another thing, did you check what is running at the port you configured? if you have another service running there, it might reply with something that is not xml at all... what happens when you point your browser to the jackrabbit location? (hostname and port are in app/parameters.yml )
from cmf-sandbox.
thanks dbu.
sorry to sound a bit dumb, but what is the easiest way to check the versions are being used?
and how to point the browser to jackrabbit location?
i am wondering if the if the ports are being used by more than one service but not sure how to check
Thanks
from cmf-sandbox.
you can write a php file with just
<?
phpinfo();
in it. that will print the same as what you did on command line.
the adress you configured for jackrabbit is in app/parameters.yml of your cmf-sandbox checkout. usually its http://localhost:8080/server/
actually, running java -jar jackrabbit.jar might also say something if the port is blocked by something else. but i would still check with the browser.
from cmf-sandbox.
on the cli you can also do: php -i | grep libxml
from cmf-sandbox.
thats what he did, lukas :-) i was suggesting maybe his web php is not using the same as the cli php.
do you have any other ideas what could be wrong? if its not one of those 2 i really don't know.
from cmf-sandbox.
hmm no .. well you could try the php builds from http://php-osx.liip.ch/ .. but i am not aware of issues with macports
from cmf-sandbox.
Thanks for your help guys.
It turned out that the libxml version was fine, but it worked when I changed the Jackrabbit port everything worked.
Thanks again
Barry
from cmf-sandbox.
Oops - looks like I spoke too soon!!
After changing the port, I went to the incorrect url.
I was trying
app_dev.php/admin/dashboard
which is the proof-of-concept a little further through the README
I still get the same error when I go straight to app_dev.php
Lucas, do you think it is worth trying thr php builds?
from cmf-sandbox.
Did you manage to load the fixtures?
from cmf-sandbox.
Hi
I have just been through and started the installation from scratch again, and the point where I see the error message is when I try:
app/console doctrine:phpcr:register-system-node-types
in the terminal.
When I do this the terminal output is as follows:
[ErrorException]
Warning: DOMDocument::loadXML(): Space required after the Public Identifier in Entity, line: 1 in /Users/barry/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/vendor/jackalope/src/Jackalope/Transport/Jackrabbit/Request.php line 530
doctrine:phpcr:register-system-node-types [--session[="..."]]
This means that the fixtures did not load. Sorry if I was not clear before, but I don't think I was totally clear in my own mind where I have got to.
The sonata dashboard comes up when I go to:
app_dev.php/admin/dashboard
but app_dev.php still gives the ErrorException message
from cmf-sandbox.
ok .. i suggest you try the liip php package .. really no clue what else it can be.
from cmf-sandbox.
me neither - as long as you are sure you correctly configured parameters.yml and have jackrabbit running on the port you tell there
from cmf-sandbox.
i had my parameters.yml configured to my localhost port and not my jackrabbit port. so thanks for that suggestion DBU.
I have now been able to load the fixtures.
After this I tried to load the app_dev.php page, and I got a different error:
An exception has been thrown during the rendering of a template ("The Symfony\Component\Locale\Stub\StubLocale::getDisplayLanguage() is not implemented. Please install the 'intl' extension for full localization capabilities.") in SymfonyCmfCoreBundle::skeleton.html.twig at line 22.
so I am looking at this now. My Terminal gives me the following when I i ask for php -intl:
intl
Internationalization support => enabled
version => 1.1.0
ICU version => 4.8.1
ICU Data version => 4.8.1
Directive => Local Value => Master Value
intl.default_locale => no value => no value
intl.error_level => 0 => 0
Any ideas on what I might have to do to get this to work?
Thanks for your input so far guys. I have been using Symfony2 since the official release last summer, and this is the only time I have had major problems setting anything up so really appreciate you time and expertise!
from cmf-sandbox.
loaded intl extension and it worked!
thanks again guys
for reference, this is a great description of how to include intl on MAMP:
http://blog.geertvd.be/2011/05/18/installing-the-intl-extension-on-mamp/
from cmf-sandbox.
great! please tell us on the mailing list if you manage to do something with it. or send pull requests if you have improvements of any sort :-)
from cmf-sandbox.
Related Issues (20)
- PHPCRException: The Id is immutable HOT 3
- Breadcrumb stopped working HOT 1
- Sandbox offline HOT 3
- CMF Sandbox host: "No space left on device" HOT 1
- Session-Error on live sandbox HOT 1
- Interface language vs content language switch is confusing HOT 2
- Segmentation fault on jackrabit build
- Some missing translations HOT 3
- Problem loading fixtures HOT 3
- Adjust Directory Structure HOT 1
- Use Enviroment Variables instead of parameters.yml HOT 2
- Introduce Unified Web Controller
- Introduce Make File
- Remove current vagrant box and replace by nix environment HOT 1
- Live Demo not working HOT 2
- Can't access admin backend on sandbox demo
- Exception on admin list pages HOT 1
- Admin panel content edit fails (FatalErrorException) HOT 3
- CMF Sandbox v 2.1: Load doctrine fixtures cause Exception HOT 1
- Doesn't work HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmf-sandbox.