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

composer was unable to install all of the rdn-router module #1

Closed
paulKendal opened this issue Mar 6, 2014 · 4 comments
Closed

composer was unable to install all of the rdn-router module #1

paulKendal opened this issue Mar 6, 2014 · 4 comments

Comments

@paulKendal
Copy link

hello Radnan

i have just tried installing the module via composer but i got this message from my console window:
Skipped installation of bin/console for package radnan/rdn-console: name conflicts with an existing file

  • Installing radnan/rdn-router (v1.0.1)
    Loading from cache

This then caused a problem when i tried to debug; i then get an error message when i try to use the debugger. i.e Zendmanger unable to create an instance for RDnConsole\application

i would really appriciate some advice on what to do .
warm regards

Paul

@radnan
Copy link
Owner

radnan commented Mar 6, 2014

Hey, my first issue!

Can you post your config/application.config.php file? I'm guessing you aren't loading the right modules, or not loading them in the right order.

Also, make sure your vendor/bin/console file is a symlink to vendor/radnan/rdn-console/bin/console.

@paulKendal
Copy link
Author

Hello Radnan
thank you for replying. below is my config
return array(
'modules' => array(
// 'ZendDeveloperTools',
// 'ZFTool',
'Application',
'DluTwBootstrap',
'DluTwBootstrapDemo',
'Debug',
'DoctrineModule',
'DoctrineORMModule',
'ZfcBase',
'ZfcUser',
'ZfcUserDoctrineORM',
'BjyAuthorize',
'FormDependencies',
'BaseDoctrineORM',
'Workers',
'Employers',
'Products',
'Messages',
'DisplayMembers',
'RdnRouter',
),
also, i am unclear waht you mean by having my vendor/bin/console a symlink to my console. how do you go about testing whether its a symlink; and if not making it one.

warm regards

Paul

@radnan
Copy link
Owner

radnan commented Mar 7, 2014

Possible solution

Can you update your modules so RdnFactory and RdnConsole are loaded before RdnRouter:

<?php

return array(
    'modules' => array(
        // ...
        'RdnFactory',
        'RdnConsole',
        'RdnRouter',
    ),
);

I think that should fix the issue.

Symlink issue

As for the symlink, I was just wondering how you were invoking the router debugger. If you do a ls -l vendor/bin/ the output should have the following:

lrwxrwxrwx. 1 <user> <group> 33 Mar  6 11:30 console -> ../radnan/rdn-console/bin/console

But if you are doing php public/index.php to invoke the router debugger, that should work as well.

@paulKendal
Copy link
Author

Hello Radman

thank you so much for your help. i have got it working. its a great little module.

thanks again for all your help

warm regards

Paul

@radnan radnan closed this as completed Apr 29, 2018
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

2 participants