Jump to content

Ropke

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Ropke

  1. I commented //'content' => AccountLevel::ANYONE, And now anyone can view the pages. Late i'll debug the code to find the bug Solved.
  2. Nope, Currently only GM level 99 can see the pages... URL: http://127.0.0.1:8081/fokro/?module=pages&action=content&path=info My acess.php: 'pages' => array( 'index' => AccountLevel::ADMIN, 'add' => AccountLevel::ADMIN, 'delete' => AccountLevel::ADMIN, 'edit' => AccountLevel::ADMIN, 'content' => AccountLevel::ANYONE, content.php of modules page: <?php if (!defined('FLUX_ROOT')) exit; $pages = Flux::config('FluxTables.CMSPagesTable'); $path = trim($params->get('path')); $sql = "SELECT title, body, modified FROM {$server->loginDatabase}.$pages WHERE path = ?"; $sth = $server->connection->getStatement($sql); $sth->execute(array($path)); $pages = $sth->fetchAll(); if($pages) { foreach($pages as $prow) { $title = $prow->title; $body = $prow->body; $modified = $prow->modified; } } else { $this->redirect($this->url('main','index')); } ?>
  3. Hello, I am using the CMS FluxCP plugin and created new pages. They are all working correctly, but would like users to be able to access them without being logged in. It's possible? Thank you
  4. Exactly, I discovered this by opening the register function inside php and debugging. Thank you for your attention.
  5. Thanks Cyro. After debugging the code I found the problem, it was the password policy .. I will improve the error message "The password can not contain the user" Solved.
  6. Hello! When i try to register new account, I'll get " Something bad happened. Report to an administrator ASAP. " But login is OK and i was set DebugMode = true But no errors throw Someone can help me? Thanks
×
×
  • Create New...