To Andre E.
Author: Petr Kotzian
Visited 1712,
Followers 2,
Shared 0
Dear Andre
I found your test website https://andreweb.nl/x5_test/index.php
Please could you help with dynamic content and login thru website X5. I am not programmer, but end user of website x5.
I created test webpage, placed there object dynamic content, but here I ended. When it is uploaded, it wrote me on website than "unable to conect to database". How I create it, logins etc?
I would like something like here box2 https://andreweb.nl/x5_test/dyn_content-logins.php Please could you write me step by step, what should I do?
As attch you can find, what I done. I am from Czech Republic, so something is translated.
Thank you in advance.
Best regards
Posted on the
You need to create users in step1 -> advanced TAB -? acces management. This can wit or without database, if you want customers to create there own login's remote you need the database, else you need to do this manualy.
more info? -> https://guide.websitex5.com/en/support/search?term=acces+management
In the dynamic content itself (double click on object in step4) you can select the users you have previously made that can edit/login.
Also handy set the login / logout objject on the page.
This should get you on your way. you can use more dynamic conyent objects with different users.
see the guide for more info.
Author
ANdre,
I am not able to to create dynamic content as you have here https://andreweb.nl/x5_test/dyn_content-logins.php
I read all what is on guide, but only have this one on www.farnostkravare.cz - on the left site is enter site as "test2" a than you can edit online on "test". But you have it more user friedly here: https://andreweb.nl/x5_test/dyn_content-logins.php . On one site is box with registration and also with editation box.
With my pages after login on test2 disappears and is nothing, your login stays. You have also logout button, but I can´t find the option in website X5, how to create it?
Thank you Petr
Tha page itself looks like this:
in row 4 there are 2 objects, ne with login option, one with logout option.
you can select that in the type pulldown:
The login/logout obkect is in the utility pulldown, see first prtscrn.
If you can't find use the top right manage button,then refresh taht page, go to utility and install he logn/logout object
Author
Andre, perfect - now I moved forward - put there login/logou button. But when I wanted to send data to server, a message appears (as export.jpg). Is the same as request as here (as folder.jpg). When I ignore this, I can login, but it is not with write access onnline on the website. http://www.farnostkravare.cz/test.php login: *** and password petr123.
Author
folder
goto step1 settings -> advanced TAB -> data management.
https://guide.websitex5.com/en/support/search?term=server+folder+with+write+acces
Author
I'm sorry, but I don't understand the terminology.
1. Send data to a file
The collected data are saved in a file in a specific Server folder - where is this folder?
In this case, you just need to specify the sub-folder within the Server folder with write access though PHP where the collected data needs to be saved. - this is file, where is object dynamic content as test.php?
this is directory of my webpage:
and this path I place here:
The main Server folder is the same one you can report in the Data Management section using the Server folder with write access option. But when I put there address of this folder it writes me at the moment of upload:
The following tests failed: path to the public directory on the server (/h22673/farnostkravare/www)
If you don't report any sub-folder, the collected data will be directly saved in the main Server folder.
in the root of your webserver you will find after upload:
Author
Hi Andre
I did everything, what you wrote, but still there is no write access directly on webpage.
Is it possible to connect via Teamviewer?
Thank you Petr
We could Petr, but you can also send me an small test project that has been uploaded to your webserver.
my mail is in my avatar (picture)
Hello Petr,
That has been a wile, thanks for the project.
I see 1 item that needs attention, so try that first,
in step 3 select the dynamic content page and press the propertie button.
At SEO remove .php so make from test.php just test like below.
Upload and try again.
If this still does not help, check your admin panel that you got from your hosting company.
Login there and see if you can set the PHP settings to at least v8.0 (or as hig as possible)
If you don't know how contact you provider or read tgere FAQ to get this done.
Then chack again if the dynamic content page works as it should.
Let me know!
ps
i uploaded your test here after change by removing the .php text
with wrong name (test.php) :
https://andreweb.nl/x5_test/petr_test/test.php.php
with good name (test) :
https://andreweb.nl/x5_test/petr_test/test.php
keep a close watch on the correct adres after login change if it jumps to wrong adres.
Author
Dear all and espec. att. Andre
I have been migrated to server with PHP 8 and now it works.
Thank you very much for your help
Regards Petr
Very glad to see all is sorted out Petr!
Thanks for the feedback!