The ever-increasing PHP files.

robb59
6 Posts
robb59 posted this 22 April 2023
Ask a Question

Every time I publish my web site, NicePage creates a completely new set of PHP files for the mail service. The more I publish my site, after changes or additions, the more PHP files accrue in the scripts folder. This causes loss of storage on my mail server and it also causes the form to fail. I deleted 30 PHP files a few minutes ago, as a customer reported that the form had failed. I regularly update the site with new products and I now have to run a workaround to make sure that the 'old' PHP files (on the sever) are deleted and that the three new PHP files are uploaded. Not a big deal, I accept but, irritating.

Every time I publish my web site, NicePage creates a completely new set of PHP files for the mail service. The more I publish my site, after changes or additions, the more PHP files accrue in the scripts folder. This causes loss of storage on my mail server and it also causes the form to fail. I deleted 30 PHP files a few minutes ago, as a customer reported that the form had failed. I regularly update the site with new products and I now have to run a workaround to make sure that the 'old' PHP files (on the sever) are deleted and that the three new PHP files are uploaded. Not a big deal, I accept but, irritating.
Vote to pay developers attention to this features or issue.
4 Replies
Order By: Standard | Newest
inthanet
41 Posts
inthanet posted this 24 April 2023

Hi,
I was complaining about this issue a few weeks ago, answer from NP Support:

As I understand, you always export in the same folder. The name of the script file is changed with each export so it does not replace the old file and just adds a new one. Please export in a different folder or clear the export folder before exporting the site again.

As for the moment, I delete the files in the related folder before I export HTML.
Not actually a solution but........

Hi, I was complaining about this issue a few weeks ago, answer from NP Support: As I understand, you always export in the same folder. The name of the script file is changed with each export so it does not replace the old file and just adds a new one. Please export in a different folder or clear the export folder before exporting the site again. As for the moment, I delete the files in the related folder before I export HTML. Not actually a solution but........
robb59
6 Posts
robb59 posted this 25 April 2023

While I have sympathy with you for your problem, neither of us has a solution. We have created a workaround to mitigate the problem. A problem that is owned by the Nicepage development team. Maybe at the next sprint they could add it to the list. Not the carpark list I hasten to add. In the meantime, you and I have no choice but to continue to run our workarounds until Nicepage wake up and smell the coffee.

While I have sympathy with you for your problem, neither of us has a solution. We have created a workaround to mitigate the problem. A problem that is owned by the Nicepage development team. Maybe at the next sprint they could add it to the list. Not the carpark list I hasten to add. In the meantime, you and I have no choice but to continue to run our workarounds until Nicepage wake up and smell the coffee.
Support Team
Support Team posted this 04 May 2023

Hello Robb,

Thanks for contacting us

The more I publish my site, after changes or additions, the more PHP files accrue in the scripts folder. This causes loss of storage on my mail server and it also causes the form to fail. I deleted 30 PHP files a few minutes ago, as a customer reported that the form had failed.

Can you please elaborate more on that? What files exactly? What size? Can you attach your exported project to this ticket or to another one? How we can reproduce the issue from our side?
...................................................
Sincerely,
Ahmad.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Robb, Thanks for contacting us >The more I publish my site, after changes or additions, the more PHP files accrue in the scripts folder. This causes loss of storage on my mail server and it also causes the form to fail. I deleted 30 PHP files a few minutes ago, as a customer reported that the form had failed. Can you please elaborate more on that? What files exactly? What size? Can you attach your exported project to this ticket or to another one? How we can reproduce the issue from our side? ................................................... Sincerely, Ahmad. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
robb59
6 Posts
robb59 posted this 11 May 2023

It's pretty simple really. Imagine you have a web site created with Nicepage. You have Form on that web site and you choose to use PHP. Nicepage will create three PHP files in a folder named 'scripts'. Now, I have my own http servers and I can directly upload the web site using STPF or using the File Manager provided in a Linux server. Either way, the files get into the appropriate folders. All, so far is cool. The same applies to those poor souls who have to use a hosting company, except they will use some kind of control panel that the hosting company provides.

If I then decide to make a change, any change or addition, to this web site Nicepage will save the changes and (in secret) it will generate three more PHP files for the Form and these will be 'coded' to the 'saved' web site. When I upload, by whatever method, the appropriate root files/pages such as Index.html or Home.html etc, The page containing the Form also gets uploaded. If I do not upload the new PHP files, which Nicepage has secretly generated, I will have a Form that will not work because the 'old' PHP files are not understood by the 'new' Form. To get the Form to work I must delete the earlier versions of the PHP files and upload the new ones that were generated when I, or Nicepage, saved the changes I made to the web site. If I do not do this, two things happen: 1. I am adding three PHP files to the scripts folder every time I make an edit and upload that edit. 2. The Form won't work until it has the 'new' files that were generated during the saving of any changes.

I hope this all makes sense as I now have RSI in my typing fingers and can't type anymore. Coffee time.

Robb

It's pretty simple really. Imagine you have a web site created with Nicepage. You have Form on that web site and you choose to use PHP. Nicepage will create three PHP files in a folder named 'scripts'. Now, I have my own http servers and I can directly upload the web site using STPF or using the File Manager provided in a Linux server. Either way, the files get into the appropriate folders. All, so far is cool. The same applies to those poor souls who have to use a hosting company, except they will use some kind of control panel that the hosting company provides. If I then decide to make a change, any change or addition, to this web site Nicepage will save the changes and (in secret) it will generate three more PHP files for the Form and these will be 'coded' to the 'saved' web site. When I upload, by whatever method, the appropriate root files/pages such as Index.html or Home.html etc, The page containing the Form also gets uploaded. If I do not upload the new PHP files, which Nicepage has secretly generated, I will have a Form that will not work because the 'old' PHP files are not understood by the 'new' Form. To get the Form to work I must delete the earlier versions of the PHP files and upload the new ones that were generated when I, or Nicepage, saved the changes I made to the web site. If I do not do this, two things happen: 1. I am adding three PHP files to the scripts folder every time I make an edit and upload that edit. 2. The Form won't work until it has the 'new' files that were generated during the saving of any changes. I hope this all makes sense as I now have RSI in my typing fingers and can't type anymore. Coffee time. Robb
You must log in or register to leave comments