Ok table for normal users
CREATE TABLE IF NOT EXISTS `UserTD` (
`IDC` int(11) NOT NULL AUTO_INCREMENT,
`userEmail` varchar(150) NOT NULL,
`passD` varchar(150) NOT NULL,
`Nombre` varchar(100) NOT NULL,
`Apellido` varchar(100) NOT NULL,
`Telefono` varchar(30) NOT NULL,
`Celular` varchar(30) DEFAULT NULL,
`Direccion` varchar(300) NOT NULL,
`Cedula` varchar(150) NOT NULL,
`Registrado` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`Estatus` tinyint(1) DEFAULT '1',
`activacion` varchar(200) DEFAULT NULL,
PRIMARY KEY (`IDC`)
) ENGINE=MyISAM;
CREATE TABLE IF NOT EXISTS `Administratorz` (
`idSuper` int(8) NOT NULL AUTO_INCREMENT,
`email_sup` varchar(150) NOT NULL,
`passd_sup` varchar(150) NOT NULL,
`Nombres_sup` varchar(200) NOT NULL,
`Nivel` tinyint(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`idSuper`)
) ENGINE=MyISAM;
I then apply security assist wizard twice one for the user tables another for the admin table
The admin php are located inside an admin folder
localhost/sitename/adminfolder/
I also followed the how to do the sha1 encrypting everything works well less the html editor the rules right now i romoved the level access have it normal for admins:
Name: Logged in to Admins
Allow selected
Value: <?php echo $_SESSION['idSuper']; ?>
Criteria: <>
Compare to: nothing here empty
***************************************************
Normal users rules
Name: Logged in to clientes
Allow selected
Value: <?php echo $_SESSION['IDC']; ?>
Criteria: <>
Compare to: empty nothing here this one also has:
Allow selected
Value: <?php echo $_SESSION['Estatus']; ?>
Criteria: =
Compare to: 1
*****************************************************
On html Editor on Global File Upload Settings:
Enable file managmente: checked
Upload directory: /imagenes/
Advance file mangement: My conecction selected
Security:
Allow access to: Logged in to Admins
Fail redirect: /Entrar.php
Other things i have on my administration page they are with a template and that template i apply Frames work builder with a theme created for the template.
If i remove the advance file managment it works but without all the crop options
I went live already with the promise to solve the issue soon but had no luck yet on a fix have try everything also i notice this is also happening on other sites where i have a template with theme apply to the page those that i dont apply it work, could it be something witht he framework builder?
I also notice when trying to open the image manager on html editor it shows this link on top
browser.php?Type=Image&Connector=http%3A%2F%2Fdomainname.com%2Fwebassist%2Fhtml_editor%2Feditor%2Ffilemanager%2Fconnectors%2Fphp%2Fconnector.php