I forced to reinstall wamp on my pc. but i forgot to copy all php project on www folder on wamp and when install wamp again realize that all my php files are lose.
Can someone tell me how to restore it. I do in big trouble
Thank you.
You replaced some data in a directory, even if you, recover your data, they are maybe damaged.
But
Comfy File Recovery
is the application you can recover deleted folder, you should search for a recovery applications
NOTE:
I highly recommend don't waste your time to recover the codes that even you didn't get back up or push them in github or gitlab you will face a lot of troubles about your codes and databases...
Related
I have came up with an issue.
My last Windows got crashed; all I could do was to recover my XAMPP folder in C drive, after doing so, I reinstalled a new windows and also installed xampp.
Now I want to recover my old database in the previous windows to the new one (in the new xampp).
I have moved my old mysql/data folder contents to the new one in c:/xampp/mysql/data and also moved my htdocs folder content to the new one. (c:/xampp/htdocs)
After doing so, when I try to access my projects the contents are unreadable.
there is a page like this my crashed project
almost all of my projects are crashed somehow.
Also on some projects, when I try to load them in htdocs, mysqld.exe stops working and crashes. I'm pretty sure there's a problem with mysql, but I don't know what is it.
Some additional information that may help :
My OS is Windows 10
My projects are Wordpress websites
I'm using XAMPP Control Panel v3.2.2
Before deleting xampp folder you should always export your SQL database. So that after installing xampp again you could import the database. But since you have no backup. You have no option, you have to make tables again and enter data.
There is one hope for you. Read this post link
I hope this link help you resolve the issue.
https://techubber.blogspot.com/2017/06/how-to-website-from-xampp-one-computer-to-another-computer.html
When my laptop got stuck I restarted the pc. Unfortunately, when I open the NetBeans after restart it erased the entire php file. I don't have a backup.
Please help me to recover. I can pay for the work.
Thanks
NetBeans has a local history feature - check if you have anything there. With some luck you will be able to restore last saved version of a file.
But you should learn something from this situation:
Always do a backup. You should have a backup of every file which has any value for you - it is only a matter of time when you lose something and backup may save your life then. Don't forget to test that your backup actually works.
Use some version control system for your code. With git you can easily create local repository with your project history.
Apologies in advance if this is off-topic, or something that has been asked before, but is there a way to maintain a stable Drupal 8 website WITHOUT using Composer?
Why I ask is because I am just unable to use Composer on my shared GoDaddy hosting. While it is powerful enough to run multiple drupal 7 and 8 installations, it seems to come to its knees as soon as I run a composer command using ssh (via terminal). Things freeze for a while and then I get a "Killed" message. If I check server processor, I/O or RAM statistics during this time, they are all in the red.
I have read somewhere else on this site that it is not advisable to run composer on a live site. The recommended approach is to run composer on a local (localhost) copy of the website, and upload updated files, but it seems impractical, because sometimes all I need to do is install a small module, or something else that involves only a few files.
Any insight is very welcome. If I am doing something wrong, please suggest the right path. Things have reached a head now.
Thanks in advance.
In a basic , composer downloads libs and creates autoloader.
So if you have the same/similar(php version !!) enviroment on localhost and on server you can simply upload vendor dir to server ( and that's all) .
It'll be working till you add some new lib ( then you need to upload vendor dir again)
So anwsering - you don't need ssh and composer on server.
There's no need to use composer at all, it's just a lot easier.
You can just manually add / remove (uninstall first) modules with FTP ... I don't recommend this though!
I am trying to upgrade joomla 1.5.15 to 1.5.23
I have downloaded the Joomla_1.5.15_to_1.5.23-Stable-Patch_Package from the joomlacode.org.
While trying to install this package from my administrator, the error will be displayed "Error! Could not find an XML setup file in the package.".
Or
Shall I extract this zip file and upload the files to server directly through FTP?
Please advise me..
Any help appreciated.
I would recommend a 3-step process personally to ensure the best possible outcome.
First - backup your site (I LOVE Akeeba Backups 1-touch backup solution); download the backed up site and install on a local host or development server.
Second, do your upgrade there (extract the files from the .zip and put them in the localhost/dev server installation).
Make sure that the upgrade didn't break anything, that everything still works appropriately and as expected and create a backup of the localhost/dev server site.
At that point you know the upgrade won't break anything.
Third, upload the unzipped files from version 1.5.23 via FTP into your root joomla directory (complete the upgrade as listed HERE.
Doing these steps will ensure the best possible outcome and will show absolutely ZERO disruptions on your live site in the event something you're currently using doesn't like the jump from .15 to .23 - which is a large jump and a lot of things are different (including which version of mootools is included!) So take caution and TEST FIRST!
I would advice you to do this::
Assuming you have access to all the files of website.
1.Now download directly 1.5.23 or 1.5.26 version(last update patch of this series.)
2.Extract the files and open them,you will notice them you need to only replace 4-5 files in that patch.
3.Copy each file and replace them with the current files in the existing websites.
Hope this helps.
im doing a php project. all is fine doing it in xp webserver which im using iis..but now i have set up a new pc with windows 7 and iis.
problem is when i copy my php files which is in a folder(e.g portal1) from the xp wwwroot to the windows 7 wwwroot, i cant access it on the browser. it returns an internal server error.
now i assumed i didnt properly set up my web server or even php. i have done it a dozen times following tutorials and im pretty sure its all correct.
i have done a further research on the folder itself and has led me to a theory that this has to do with permissions.
when i copy directly the whole thing,it wont run, BUT if i CREATE a folder and the subfolder with all the same names as the one i copied and just take the php files and put it accordingly, it runs ok!!
now that has something to do with inherited permission i think. how do i overcome this?
i dont want to everytime take the updated work folder from my partner which is done in xp and i have to create new folder and its subfolder with all the same name on my machine and then copy the php files accordingly. thats a lot of work!!
i just want to copy the folder and put it in my wwwroot folder and run it on the browser without problems. how do i overcome this permission issue?
any ideas?
By the sounds of things, you're working on a project with someone else. Copying & pasting is the absolute worst way of sharing files when working on a project with multiple people. You should really be using versioning like git. That's pretty hard to set up and learn though. An easy solution which will work for the time being (but won't manage conflicts well) is to use Dropbox. Set up a free Dropbox account, and create a folder in that called www or whatever you want. Then install WAMP (way better than IIS), and create an alias to the www folder in your Dropbox. Do this on both machines. Now every time your partner makes a change, it will be instantly reflected on your machine, and vice versa. Easy, free, and will work while you learn a versioning tool.
I know this doesn't address your actual problem, but it should be more helpful to you.