Hi,
I created PHP Procedures. Works. After some time, I need edit procedure No1 php code. When save, get 403 Forbidden Error. Interesting, that other procedures I can edit, but when copy-paste procedure No1 PHP code, get this error.
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Error when edit Php Procedures
-
- Posts: 21
- Joined: Sat Feb 07, 2015 11:19 pm
Error when edit Php Procedures
You do not have the required permissions to view the files attached to this post.
Last edited by Arunas on Sat Feb 04, 2017 5:47 pm, edited 1 time in total.
-
- Posts: 21
- Joined: Sat Feb 07, 2015 11:19 pm
Re: Error when edit Php Procedures
When write in php code UNION, then get error. Whithout UNION, I can save procedure. I don't understand, how I save earlier.
$s = "
SELECT field1 as field
FROM table
GROUP BY field1
UNION
SELECT field2 as field
FROM table
GROUP BY field2
";
$s = "
SELECT field1 as field
FROM table
GROUP BY field1
UNION
SELECT field2 as field
FROM table
GROUP BY field2
";