P
P
Philip Dmitrov2014-03-03 01:20:51
PHP
Philip Dmitrov, 2014-03-03 01:20:51

Routing in PHPixie: Why doesn't any action work except action_index?

Not a single action works except action_index (from the tutorial about fairies from the official site). everything else gets out No route matched your request. Pixie just started tinkering, didn't figure out the routing to the end.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
jigpuzzled, 2014-03-17
@DarthGelum

Did you install everything exactly as it should? i.e. localhost points to the /pixie/web/ folder?
Maybe you named some controller file with a small letter and not with a capital letter?
Can you give me an example of the link you are trying to access?

S
Sergey, 2014-03-03
Protko @Fesor

I thought that no one uses this thing ...
Well, maybe you didn't write the routes in the config? Because there are so many options... But this is the most obvious one.

V
Vampiro, 2014-03-03
@Vampiro

Check the capital letters in the file names, and then debug line by line, see what info comes from the routing. Do not offer more - information is not enough.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question