Re: [alloyphp] Module 'generator' not found - using scaffolding

50 views
Skip to first unread message

Vance Lucas

unread,
Feb 2, 2013, 11:31:52 AM2/2/13
to allo...@googlegroups.com
The package on the site must not be updated. Download the release on Github:



On Wed, Jan 30, 2013 at 3:42 AM, Tommaso D'Argenio <pin...@gmail.com> wrote:
Hi,

when trying to use the scaffolding from the command shell I get an error saying that the Module 'Generator' is not found.

the framework seems to work (downloaded the last stable release from the site not the one on github) as I can browse through the Hello World page.

I've noticed that I get two different error messages whether I encapsulate the command in single or double quotes, see below.

I'll start digging into the code to find where the problem is, but if somebody has an idea I'll appreciate the help.

Using single quotes:
C:\Users\Tom\Desktop\webdev\htdocs\alloy.stage>php ./app/www/index.php -u 'generator/scaffold?name=Test'
{"results":{"exception":{"code":0,"message":"Requested file or page not found. Please check the URL and try again."}}}


Using double quotes:
C:\Users\Tom\Desktop\webdev\htdocs\alloy.stage>php ./app/www/index.php -u "generator/scaffold?name=Test"
<h1>ERROR</h1><p>Alloy\Exception\FileNotFound (Code: 0)<br />
Module 'generator' not found</p><h2>Stack Trace</h2><p>File: C:\Users\y83sxfn8\Desktop\webdev\htdocs\alloy.stage\alloy\lib\Alloy\Kernel.php (450)</p>
<pre>#0 C:\Users\y83sxfn8\Desktop\webdev\htdocs\alloy.stage\alloy\lib\Alloy\Kernel.php(499): Alloy\Kernel->dispatch('generator', 'scaffoldAction', Array)
#1 C:\Users\y83sxfn8\Desktop\webdev\htdocs\alloy.stage\app\www\index.php(85): Alloy\Kernel->dispatchRequest('generator', 'scaffold')
#2 {main}</pre>
<h2>Request Data</h2>
<pre>
Array
(
    [name] => Test
    [module] => generator
    [action] => scaffold
    [format] => html
    [route] => module_action
)

</pre>

--
You received this message because you are subscribed to the Google Groups "Alloy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alloyphp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages