Issue with new Single Page

Permalink
I am trying to develop a package that installs single pages. I have can add it but everything I click on it it redirects me to "/view_tables/" which should redirect to "/view_stats/". Here is my code in the /packagename/controllers/dashboard/packagename/controller.php
<?php 
defined('C5_EXECUTE') or die(_("Access Denied."));
class DashboardpackagenameController extends Controller {
   public function view() {
      //$this->redirect('/dashboard/packagename/view_stats');   
   }
}


I have set up view.php in the singlepages. I do not have the word "view_tables" any where. I am completely clueless.

Any help is appreciated.

 
Mnkras replied on at Permalink Reply
Mnkras
disable and clear your cache when developing.
codingpenguins replied on at Permalink Reply
I do and even after a day it is still redirecting to this page?

EDIT - When I type in the url for the single pages, it works fine. Just when I click on the main tab it redirects to this page that does not exist.
codingpenguins replied on at Permalink Reply
Update on this - it seems that when I rename my package from "statistics" it works. I am not sure what exactly is going on but only when I start the word with statistics it has issues? I tried statistics2 and it also seemed broken, but changed to my name and it worked. I am not sure if this is a reserved word or something, but it is not a handle in my database or anything. No idea what is going on.