action problem

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

action problem

Post by plessas »

hello, i try to see the members of my site and switch their permission ( if x was admin, change him to member) and the changes cannot be saved. Any help would be appreciated
User avatar
Pablo
 
Posts: 22422
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: action problem

Post by Pablo »

What is your setup?
Are there any errors?
Can you please be more specific?
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

Re: action problem

Post by plessas »

my setup is flat type. Usersdb.php, as default
No there are not
I can't understand the problem, so im asking for your help, evereything are on deafault values
I commit you the link of my project, please try to download it, i need your help
..............................url deleted
thank you
Last edited by plessas on Wed May 24, 2023 1:36 pm, edited 1 time in total.
User avatar
Pablo
 
Posts: 22422
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: action problem

Post by Pablo »

The only error I see in your projetc is that you did not set an error and destination page for the login forms.
However, this does not affect the admin.

Did you create the user database file on the server?
Did you set enable write permission for the file?

If you need further assistance then please provide the PHP error log.
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

Re: action problem

Post by plessas »

Thank you !!!

I’ll do as you advice me and inform you


Thank you
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

Re: action problem

Post by plessas »

I created the database on the server
i enabled perms(0777) on the server
i dont know how to get php error logs, i would appreciate some help either with anydesk or provide me a tutorial to find the logs
thank you
User avatar
Pablo
 
Posts: 22422
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: action problem

Post by Pablo »

PHP logs are a features of the server.
If you do not know where to find them, then you will need to contact your webhost.
MGD4me
 
 
Posts: 278
Joined: Tue May 02, 2017 11:56 pm
Location: British Columbia, Canada

Re: action problem

Post by MGD4me »

i dont know how to get php error logs
If you use an FTP client, such as WinSCP or FileZIlla, you can easily log in to your server and the error_log file should be readily available. Fairly straight forward.
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

Re: action problem

Post by plessas »

Thank you
I can’t find it

I’m using 000webhost

Next step is to install something like xampp and hope find something


Thank you
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

Re: action problem

Post by plessas »

Good Morning, i'm back
i move to another server

Finally i get the php error log file

here it is : ..............................url deleted
the project is at : ..............................url deleted

Please give me your help

i can send admin codes if need by pm or email
Last edited by plessas on Wed May 24, 2023 1:37 pm, edited 1 time in total.
User avatar
Pablo
 
Posts: 22422
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: action problem

Post by Pablo »

I cannot load your project because it uses extensions that I do not have.
Please read this before sharing your project:
viewtopic.php?f=10&t=82134

Also, I am not sure if the error are related to the login admin.

The script does not use 'x13' or HTTP_REFERER'
Are you sure you have shared the correct log file?
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

Re: action problem

Post by plessas »

yes i m sure

i notice that there (by the log file) an error for an undefined value at line 356
"Undefined variable: x13 in /home/user.../domains/roarapp.net/public_html/index.php on line 356"

the index.php file has 327 lines instead of 356
i'm not use variable: x13


i had the same problem and at the Web Host before
User avatar
Pablo
 
Posts: 22422
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: action problem

Post by Pablo »

Is your question still related to the admin?
There is no x13 or HTTP_REFERER in the admin script.
Also, the admin object is not on the index page.

If you need further assistance the please share the following information:

1. a DEMO project that only contains the pages and objects related to the question. Remove any custom scripts, extensions and other content that is not relevant to your question.
2. an error log that is relevant to your problem.
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

Re: action problem

Post by plessas »

Thank you

I will ask my web host

Thank you!!!
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

Re: action problem

Post by plessas »

Hello, :(
Again....

I stop trying with Flat type (usersdb.php) file and i start with MySQL, loaclly and Xampp

My page is only the SignUp Form From Toolbox->Login tools

i get this error

"Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo for localost failed: ������� �������� �����������. in C:\xampp\htdocs\RoaR\TestMySQL.php on line 54

Fatal error: Uncaught mysqli_sql_exception: php_network_getaddresses: getaddrinfo for localost failed: ������� �������� �����������. in C:\xampp\htdocs\RoaR\TestMySQL.php:54 Stack trace: #0 C:\xampp\htdocs\RoaR\TestMySQL.php(54): mysqli_connect('localost', 'root', Object(SensitiveParameterValue)) #1 {main} thrown in C:\xampp\htdocs\RoaR\TestMySQL.php on line 54"

at local host with Xampp

Line 54 is
" $db = mysqli_connect($mysql_server, $mysql_username, $mysql_password);"

and variables are
$mysql_server = 'localhost';
$mysql_username = 'root';
$mysql_password = '';
$mysql_database = 'loginusers';
$mysql_table = 'loginusers';
$success_page = './SignUpSuccesfull.php';


i was try with non blank or empty password


what is the wrong?


Thank you once more
Last edited by plessas on Thu May 25, 2023 9:04 am, edited 1 time in total.
User avatar
Pablo
 
Posts: 22422
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: action problem

Post by Pablo »

The error indicates that your settings are incorrect.

For example, I think it should be 'localhost' instead of 'localost'?
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

Re: action problem

Post by plessas »

FInally i noticed that when i add Custom field things became quite harder .

New field named as extra1......

i think i'm ok

thank you

problem i think solved
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

Re: action problem

Post by plessas »

Finally
I notice that
a. when i choose flat file field "role" isnt at script
b. when i choose Mysql field "role" is at script
c. When i add extra field like "userid" script genarates "extra1", "extra2" .... and i must fix "extra1" with the name of the field

i dont know if this is bug,
but i'm sure that rookies like me, maybe find this post usefull


Sorry for my poor english..:)
User avatar
Pablo
 
Posts: 22422
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: action problem

Post by Pablo »

This is not a bug.

Please see "Important notes" in the tutorial:
https://www.wysiwygwebbuilder.com/userroles.html
Post Reply