Yii2 Advance not update data after save file to remote server - yii2

I'm used Yii2 Advance to develop system via remote server. When I save file editor will upload it to server automatic. After save I refresh browser. It's still show old data not update from new file. And about 1 min it will up to date.
I test the different folder on server It's work find, Update when save file.
Please help me.
Thanks and best regards,
Woody

Well, Now I can solve this problem by myself.
This effect is PHP function "OPCache" it come with PHP 5.5 or higher.
We can disable OPCache by many way but I used this solution.
Open autoload.php from /yii2project/vender/autoload.php and add this code.
opcache_reset();
I don't know what the best way in Yii2 for reset opcache like this. If it has please reply this post.
Thank you everyone and to think this topic will help you.

Related

How can I read and modify DATABASES into an HTML file?

I'm searching to write a site for my python application. The site would be able to read a local Database file (.db), and eventually modify it.
Is it possible? If yes, how?
Thanks in advance.

Display form using extension in magento

I am a novice to magento.
Task at Hand
I need to create the extensions for magento.Now i need to create an extension that is used to display the form. The form values are needed to be stored in the database and to be mailed to the admin.
Any suggestions in this regard will be appreciated.
I am giving you one link will same as your requirements and it will totally free so you can use it for the reference.
http://www.magestore.com/magento-product-questions-extension.html
Thanks
Hi you can download extensions from magento connect according to your need, you can try this this

Update some html when ruby on rails is live

I have a Ruby on Rails website online. I tried changing the HTML, but saw no change when I uploaded the file via FTP.
I've even checked by making a simple change such as adding an HTML heading:
<h1>omais</h1>
I checked the online page which I edited and looked at the source code in the browser, and confirmed that I was on the correct page.
Is there some kind of command to inform the project that there are changes that has been made in the HTML file?
I am new to Rails but good in PHP.
Any help, Thanks
Apart of my comment, I am adding answer here also, so that other programmers can get help from your question.
You need to restart your rails server or just try to start app server, which will leads to rails server restart. If still you face the issue, try to clear your browser's cache.

how to publish an existing article and save it to mediawiki Database

I am very much new to mediawiki, only a couple of days research. Here I already have an article called e.g., "sample" which I need to save it to mediawiki database which was installed on my wamp server (localhost). So how to achieve that? Should I need to write a program for achieving it? Can anyone please help me in this?
Also, I have an HTML form and how to save that form to mediawiki DB?
you can use webservices to create an article and save it to your mediawiki database
here are some links ,pls refer to it.
http://www.mediawiki.org/wiki/Extension:CreateArticle
http://www.mediawiki.org/wiki/Extension:CreateArticle/sourcecode
An API for manipulating wiki pages is available in core MediaWiki: https://www.mediawiki.org/wiki/API:Edit
The HTML form cannot currently be stored in the DB unless it is adapted to work with wikitext. This may change in the future.

Apache directory listing with upload button and search textbox

So i have a server, with apache 2 - running a directory browser(i think it's called. Where i can access my files), as my own dropbox server. However it does how some limitations, when i'm at school for instance, and i wish to upload a project, i gotta send it with email to myself to upload it, i cant delete or anything. So i wanted to add a delete button(least important), i wanted to add a search function since the files are beginning to stack up. I would also like an upload button. I didn't really understand apache, i followed a tutorial for the server. I have a very basic html knowledge, and i have tried and tried to create it myself, and i have been searching for a loooong time(trust me).
So could anyone post a solution/tutorial/tip or anything useful? Please try to help me instead of answering with rude answers. I'm 15 and hoping to get these features up and running as soon as possible. Thanks:)
Just use the open source FTP FileZilla software https://filezilla-project.org/ instead?