You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just create a project using the Phalcon DevTools (1.2.6):
phalcon project --type=modules
Well, the .htaccessfile was missing but this was easily fixed. But there is another problem. When I tried to access the page, I got a fatal error:
PHP Parse error: syntax error, unexpected 'Default' (T_DEFAULT), expecting identifier (T_STRING) or \\\\ (T_NS_SEPARATOR) or '{' in /var/www/projects/formation2/default/apps/frontend/Module.php on line 3, referer: http://localhost/projects/formation2/
It seems that the word 'Default' cannot be used as namespace.
By the way, it should be great to have a command to easily create a new module...
The text was updated successfully, but these errors were encountered:
I've just create a project using the Phalcon DevTools (1.2.6):
Well, the
.htaccess
file was missing but this was easily fixed. But there is another problem. When I tried to access the page, I got a fatal error:It seems that the word 'Default' cannot be used as namespace.
By the way, it should be great to have a command to easily create a new module...
The text was updated successfully, but these errors were encountered: