Wamp server has deleted my Service Package - wampserver

I just when to continue with my web site in Flash builder and there was an error. When I looked into it my Service folder which held my PHP script is missing and unfortunately I hadn't backed up for some months.
Has anyone had this issue and is there a way to get it back? it just disappeared :(
C:\wamp\www\index-debug\services\CustomerService.php is missing

Never happened to me. You can use "Handy Recovery" or "recuva" to get your file back. Good luck with that

Related

WampServer Green But Not Working

I found a quirk in WampServer that cost me several hours to figure out. I thought I'd share in case anyone else was having the same difficulty:
I updated my MS Visual C++ package, installed the correct version of Wampserver, put my files in the "www" folder, etc. The server was green and running, but my PHP code would not execute.
One thing was my mistake. I thought I could use the browser to access the file, but I learned that you have to go through LocalHost to open the file.
Another was a weird quirk. Watching videos on the internet, I saw others simply go to LocalHost and click on their project in "My Projects" and their webpages came up. For me, I kept getting "File not found". Scrutinizing the address bars in the videos, I realized that when people in the video clicked, the address would read "localhost/test/test.php" (adding the name of the folder and file to the address) but for me, the address would just read "test.php" (without the localhost, etc. at the beginning) Adding it in manually, the webpage finally came up in PHP.
Hopefully this helps someone else. I don't know if I'm doing something wrong, but at least I can find my files!
(Windows 10 / x64)
I also faced this type of error every time I had to type url to run php file or project. Finally, I found it in:
WWW folder in wamp which is there in C drive
In that index.php file there was a problem:
one simple problem was on line number 335 or 338 maybe it will be just http://
make http:// to http://localhost/
Then it worked fine for me.
I had the same issue. My fix was, I disabled my anti virus and then restarted All my wamp services this

Umbraco Site Publishing

I am using umbraco v 4.11.6 (Assembly version: 1.0.4834.19775) the issue is every time the server shuts down or restarts I need to republish the pages which are not loaded.
So please let me know the root cause for this issue if anyone knows or any other things that can be done to over come from this
Thanks in Advance
In version 4.6 there was an issue which had the same behavior when the SQL database was not available at boot time of the website. But with version 4.11 this should be fixed a long time.
I would investigate the logs (~/app_data/logs/). You might find some clue there. Append logs to your post if you can not find the issue.
This might be a problem with some ApplicationEventHandlers not running properly. Or with write permissions on the proper folders. Try adding more logs to the code, so you are sure what runs (and what doesn't).
If you can not find the answer, try the umbraco forums : http://our.umbraco.org/forum

server error in '/' application. resource not found (when modified)

I have a MVC application which is currently checked in through TFS. When i try to run the website, it is working well. However, whenever i do some code changes on the main page which is an .cshtml file, it showing an error "Server Error in "/" application. Resource not found."
I've tried to clean the solution then build again but i am still encountering that error.
I tried to undo pending changes on that .cshtml file. Then it is running well again.
Am I missing something in here? Thanks in advance!
try this:
clean solution and rebuild solution
restart visual studio
get specific version with latest and overwrite everything (be sure nothing is checked out)

DeleteAttachment failing after plugin customization

I developed a simple plugin to bar files ending in .exe from being uploaded into my jira app. I overrode the AttachFile.doValidation() method to check for .exe in the filename. If it's there I return an error.
Now when I try to delete an attachment, 9 times out of 10 it won't work. I simply get the error "Failed to delete attachment with id {id}". Nothing in the stacktrace or logs indicated that something went wrong. Then it will suddenly delete succcessfully. I've found no rhyme or reason for this.
Again, I overrode AttachFile, not DeleteAttachment, so I don't know how my fix could be related to this problem. Could it be though??
If I remove my plugin entirely, I still get an error when I delete. The error says "The action can't be completed because the file is open in Java(TM) Platform SE binary". Somehow AttachFile() is leaving a reference to the file, but I have no clue where or how to clean up.
Permissions aren't the issue, because occasionally the delete command will work. It always works when the server first starts up, and after that only periodically.
We've come to the conclusion that this is a Windows-only problem, and Linux doesn't lock files. Our production server is Linux, so I'm not going to spend anymore time on this.

Web Part Deployment in SharePoint

I've built a web part and after several deployments to a specific site, SharePoint suddenly won't give the option to deploy to a specifi site, a message is immediatelly displayed that the solution is deplyed globally.
I don't know what I did to cause this. I've been useing stsadmn -o addsolution method, except once when when I tried to just run the Setup.exe file.
Anyone has any idea why is it happenning and how to correct this.
Thanks,
EJM
First make sure to retract the solution (with stsadm), if it doesn't work, use -force/-override, and then delete with the same.
Than try to do it again, and it should work.

Resources