You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fat-Free Framework
Changing a class name seem to make F3 not able to find it. Is there a way to work around this?
Here is my code:
config.cfg
AUTOLOAD=app/controllers/|app/repositories
Before:
app/controller/CtrlMessages.php
$this->repository = new Messages($f3);
app/repositories/Messages.php
After:
app/controller/CtrlMessages.php
$this->repository = new RepMessages($f3);
app/repositories/RepMessages.php
This gives the error: Class 'RepMessages' not found in CtrlMessages.php (where new Messages i called).
Sascha
unread,
Oct 20, 2017, 6:59:36 AM10/20/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fat-Free Framework
The class name must match the file's name. Ohterwise it won't be able to find it automatically. You can either include the file manually or you have a different class in the same file matching the file's name which is initiated before.