Code Monkey home page Code Monkey logo

symblog's People

Contributors

dsyph3r avatar mickaelcollet avatar nickvergessen avatar tacman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

symblog's Issues

php bin/vendors install DoctrineFixturesBundle respository not found

On run of php bin/vendors makes it to:

Installing/Updating doctrine-fixtures
HEAD is now at b4213c2 Merge pull request #207 from TomasVotruba/patch-1
Installing/Updating DoctrineFixturesBundle
Cloning into '/var/www/symblog/vendor//bundles/Symfony/Bundle/DoctrineFixturesBundle'...
Username for 'https://github.com': themullet
Password for 'https://[email protected]':
remote: Repository not found.
fatal: repository 'https://github.com/symfony/DoctrineFixturesBundle.git/' not found
sh: 1: cd: can't cd to /var/www/symblog/vendor//bundles/Symfony/Bundle/DoctrineFixturesBundle
Installing/Updating doctrine-migrations
HEAD is now at 5f9429e Merge pull request #450 from localheinz/fix/short
Installing/Updating DoctrineMigrationsBundle
Cloning into '/var/www/symblog/vendor//bundles/Symfony/Bundle/DoctrineMigrationsBundle'...
Username for 'https://github.com': themullet
Password for 'https://[email protected]':
remote: Repository not found.
fatal: repository 'https://github.com/symfony/DoctrineMigrationsBundle.git/' not found

Any suggestions?

Cheers

http://symblog.co.uk/ website is down

Hi guys,

I don't know what is going on, but I can't get to the website with the tutorial.
If hosting is issue, I can help with that, have multiple sites hosted and can take this over.

No Metadata Classes to process

Hi,
I'm following your Symblog tutorial but i found some problems... When I define an entity without gets-sets methods and I try to do that with doctrine:generate:entities Blogger command, i get [RunTimeException] Bundle "Blogger" does not contain any mapped entities...
Well, I don´t like it but I can do the same with doctrine:generate:entity... Finally I have the entity with sets-gets methods at Blogger\BlogBundle\Entity\Blog.php and everything seems ok.
After that, i make the database but when I put doctrine:schema:create, it returns NO METADATA CLASSES TO PROCEED. cache cleaning does not solve the problem and the annotations are well because they proceed automatically from console instruction.
I don´t know the reason!!!
Maybe can help... I'm working under Windows 7, WampServer 2.2 with Symfony 2.1. Apache 2.2.22, PHP 5.4.3 and Mysql 5.5.24.
I can't go forward, I hope your answer!!!
Thank you!!!

Blogger\BlogBundle\DataFixtures\ORM\ issue

When I follow install instructions I'm getting this error after executing php app/console doctrine:fixtures:load

Fatal error: Declaration of Blogger\BlogBundle\DataFixtures\ORM\BlogFixtures::load() must be compatible with that of Doctrine\Common\DataFixtures\FixtureInterface::load() in src/Blogger/BlogBundle/DataFixtures/ORM/BlogFixtures.php on line 9

and

Fatal error: Declaration of Blogger\BlogBundle\DataFixtures\ORM\CommentFixtures::load() must be compatible with that of Doctrine\Common\DataFixtures\FixtureInterface::load() in src/Blogger/BlogBundle/DataFixtures/ORM/CommentFixtures.php on line 10

All I've done in order to fix this issue was modification of this files:
/src/Blogger/BlogBundle/DataFixtures/ORM/BlogFixtures.php
/src/Blogger/BlogBundle/DataFixtures/ORM/CommentFixtures.php

in both files I've added:
use Doctrine\Common\Persistence\ObjectManager;

and changed method declaration:
public function load($manager)
to:
public function load(ObjectManager $manager)

Now it's working.

src/Blogger/BlogBundle/Entity/Comment.php

In that file the code looks like:

/**
 * @ORM\preUpdate
 */
public function setUpdatedValue()
{
   $this->setUpdated(new \DateTime());
}

When it should look like this:

/**
* @Orm\PreUpdate
*/
public function setUpdatedValue()
{
$this->setUpdated(new \DateTime());
}

You will get an error when you run the command:
php app/console doctrine:generate:entities Blogger\BlogBundle

Problems with installing vendors

When I try to install vendors as per your instructions, few of the bundles are asking for account username and password.

[doctrine-fixtures]
git=http://github.com/doctrine/data-fixtures.git

[DoctrineFixturesBundle]
git=http://github.com/symfony/DoctrineFixturesBundle.git
target=/bundles/Symfony/Bundle/DoctrineFixturesBundle

[doctrine-migrations]
git=http://github.com/doctrine/migrations.git

[DoctrineMigrationsBundle]
git=http://github.com/symfony/DoctrineMigrationsBundle.git
target=/bundles/Symfony/Bundle/DoctrineMigrationsBundle

fatal errror during installation

hi

i run php bin/vendors install and after adding github password a second time, there is an error, seem a repo is not found, check scree below.

screen shot 2014-10-05 at 08 55 20

hasFlash() and others are deprecated since version 2.1 and will be removed in 2.3. FlashBag is now used instead.

Just copy-pasting what the debug toolbar is telling me. I'm using 2.2.2 right now.

The Changelog.md file says:
Deprecated the following methods from the Session class: setFlash(), setFlashes(), getFlash(), hasFlash(), and removeFlash(). Use getFlashBag() instead which returns a FlashBagInterface.

This is about the contact.html.twig file.

I updated to the following code in the following files:

contact.html.twig:
{% if app.session.getFlashBag.has('blogger-notice') %}

PageController.php:
$this->get('session')->getFlashBag()->add('blogger-notice', 'Your contact enquiry was successfully sent. Thank you!');

And I'm getting the flash message, just like it did with the deprecated functions.

Enabling Numeric keypad

In the user's profile when they click on mobile field to enter the mobile number, then numeric keypad should be displayed instead of text.
When I use tel tag as input type in the form to enable the numeric keypad in the mobile, It is not working.
Can anyone please help me with this issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.