Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating a new page: security settings blocking me
01-18-2018, 06:47 AM,
#1
Creating a new page: security settings blocking me
I uploaded a new php script in the weber directory and followed the manual instruction on how to create a new page but I get the following message:

The security settings on your account do not permit you to access this function

I have full admin privileges in webERP

my code:

Code:
<?php

include('includes/session.php');
$Title = _('Beta Page');

$ViewTopic= 'Inventory';
$BookMark = 'beta feature';
include('includes/header.php');
include('includes/SQL_CommonFunctions.inc');
$ViewTopic = 'SimpleScript';
$BookMark = 'GeneralTopics';
include('includes/header.php');
echo 'hello world';
include('includes/footer.php');
?>


Could someone guide my through the process of making my new page accessible.

Thanks!
Reply
01-18-2018, 06:56 AM,
#2
RE: Creating a new page: security settings blocking me
You need to create an entry in the scripts table for your new script.
Alternatively you can hard code the $PageSecurity variable in your script (not a long term solution but helps when you are developing )

Tim
Reply
01-18-2018, 07:06 AM,
#3
RE: Creating a new page: security settings blocking me
(01-18-2018, 06:56 AM)falkoner Wrote: You need to create an entry in the scripts table for your new script.
Alternatively you can hard code the $PageSecurity variable in your script (not a long term solution but helps when you are developing )

Tim

thanks! I was done, but the problem was I needed to log out and log back in Big Grin

Reply
01-18-2018, 07:09 AM,
#4
RE: Creating a new page: security settings blocking me
Ah yes I wrote it so that the scripts table is only read on login to avoid the delay if reading it on every page refresh.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)