Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backslash issue at /var/cache/appProdProjectContainer.php #2205

Closed
Kaishiyoku opened this issue Jul 27, 2016 · 9 comments
Closed

Backslash issue at /var/cache/appProdProjectContainer.php #2205

Kaishiyoku opened this issue Jul 27, 2016 · 9 comments

Comments

@Kaishiyoku
Copy link

Issue details

/

Environment

  • wallabag version: 2.0.5
  • How did you install wallabag? Via git clone
  • Last wallabag version that did not exhibit the issue (if applicable): /
  • php version: 5.5.9
  • OS: Ubuntu 14.04 64bit
  • type of hosting (shared or dedicated): dedicated
  • which storage system you choose at install (SQLite, MySQL/MariaDB or PostgreSQL): MySQL

Steps to reproduce/test case

Just follow the instructions at https://www.wallabag.org/pages/download-wallabag.html and run the composer command.

@tcitworld
Copy link
Member

Can you be a little more specific, please ? Also, did you check file permissions ?

@Kaishiyoku
Copy link
Author

It has something to do with this bug: symfony/symfony#9184

It has been resolved but when I install wallabag the backslash problem still occurs.

@Kaishiyoku
Copy link
Author

Sample stacktrace:

[Wed Jul 27 21:42:22.007793 2016] [:error] [pid xxxx] [client xxx] PHP Fatal error: Uncaught exception 'Symfony\\Component\\Validator\\Exception\\MappingException' with message 'The mapping file "/var/www/html/wallabag\\vendor\\symfony\\symfony\\src\\Symfony\\Component\\Form/Resources/config/validation.xml" does not exist' in /var/www/html/wallabag/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/FileLoader.php:43\nStack trace:\n#0 /var/www/html/wallabag/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/XmlFilesLoader.php(29): Symfony\\Component\\Validator\\Mapping\\Loader\\FileLoader->__construct('/var/www/html/w...')\n#1 /var/www/html/wallabag/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php(47): Symfony\\Component\\Validator\\Mapping\\Loader\\XmlFilesLoader->getFileLoaderInstance('/var/www/html/w...')\n#2 /var/www/html/wallabag/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php(32): Symfony\\Component\\Validator\\Mapping\\Loader\\FilesLoader->getFileLoaders(Array)\n#3 /var/www/html/wallabag/vendor/symfony/sy in /var/www/html/wallabag/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/FileLoader.php on line 43

@j0k3r
Copy link
Member

j0k3r commented Aug 1, 2016

Did you try to remove all files/folders from the var/cache folders and then run php bin/console cache:clear -e=prod ?

@Kaishiyoku
Copy link
Author

Yes, the backslashes are present there all the time.

@j0k3r
Copy link
Member

j0k3r commented Aug 2, 2016

Hum.
Did your composer is up to date? Try running composer selfupdate (should be version 1.2).

I'll soon be out of idea 😶

@Kaishiyoku
Copy link
Author

Kaishiyoku commented Aug 2, 2016

Okay, I just followed all steps again but directly on my Ubuntu virtual machine et voilà it worked:

chrome_2016-08-02_13-31-17

Either the installation scripts fail somehow under Windows or something else was causing the falsy cache generation.

Thanks anyway, this issue can now be closed.

@tcitworld
Copy link
Member

We indeed never tested on Windows afaik.

@j0k3r
Copy link
Member

j0k3r commented Aug 2, 2016

@Kaishiyoku thanks for letting us know !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants