WebSite X5Help Center

 
Mark Fletcher
Mark Fletcher
User

Linked files not being removed  en

Autor: Mark Fletcher
Visitado 1429, Seguidores 1, Compartilhado 0  

V14 64bit

I have written a small file testprocess.php, which is linked, via the expert tab, to the following simple HTML form

<form action="testprocess.php" method="POST">
<input type="text" name="firstname" placeholder= "<?php echo $val[$firstname]; ?>"><br><br>
<input type="submit" name="submit" value="update">
</form>

The problem I have is that the linked file is not being removed from the table, when I remove the linked file in the expert tab.

I have deleted from the website directly, and in the preview folder, but it keeps reappearing.

This does not happen in v13. 

Publicado em
6 RESPOSTAS - 1 CORRIGIR
Andre E
Andre E
Moderator

Try to refresh the project with this little trick:

export project  in step 5, then import the exported project and try again.

Hope this helps

Ler mais
Publicado em de Andre E
Mark Fletcher
Mark Fletcher
User
Autor

This did not work, started new project and after editing the linked file a few times the same thing happened.

Remove the linked file, and it remains linked and remains in the library folder.

Also complains that the linked file is sharing the same path etc.

This is another bug in v14.

Just as autoregistration does not work in v14 when v14 creates the registration table.

Ler mais
Publicado em de Mark Fletcher
Incomedia
Claudio D.
Incomedia

Hello Mark,

I just made a trest but after removing the file and exporting the project this file is not exported.

Can you please test if it is exported in your case?

Many thanks!

Ler mais
Publicado em de Claudio D.
Andre E
Andre E
Moderator

In the library folder of your pc seems logical, else the backup function will fail. (do you mean pc or webserver?)

linked files sharing same path should not be a problem. If so, then please explain because I don't understand.

For autoregistration you will need to create a database and use this database only for this function, for other functions you need to create another database. Else it will go wrong. PLease check if this might be the case?

Hope these help.

Bet Regards,

Ler mais
Publicado em de Andre E
Mark Fletcher
Mark Fletcher
User
Autor

Andre, from https://helpcenter.websitex5.com/pt/post/179745

More work done on site domain with PHP 5.6

Simple V14 site, V14 creates new table on registration WILL NOT VALIDATE

Simple V13 site V13 creates new table on registration VALIDATES

Convert V13 project to V14 project and use existing table. VALIDATES

Drop/delete existing table. V14 creates new table on registration WILL NOT VALIDATE

Will get back to you on linked files.

Ler mais
Publicado em de Mark Fletcher
Incomedia
Claudio D.
Incomedia

Hello Mark,

About the validation issue this one has been solved with the new update of the program which can be installed.

Many thanks!

Ler mais
Publicado em de Claudio D.