Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 6 years ago.
Improve this question
I am having some trouble with my upload CakePHP 2.4.6 to GoDaddy. Specifically the file "CakeResponse.php" doesn't want to upload correctly. When I upload it GoDaddy appends a ".gdav" extension to it, and changes the permissions to "00".
I am using FileZilla 3.7.3 and have tried renaming it (both on server and locally), which works but does nothing. And it doesn't allow me to change permissions on the file.
Command: SITE CHMOD 704 CakeResponse.php
Response: 550 Could not change perms on CakeResponse.php: Permission denied
Any thoughts on what the problem might be?
Update: I've downloaded Cake v2.4.0 and CakeResponse will still not upload. I've also tried from my Windows PC at work using FileZilla 3.7.4.1
Based on the previous comment, my guess is that gdav stands for GoDaddy antivirus...
I went ahead and called them and yes it is their new antivirus they are still working the bugs out on.
I got around the issue by using the "File Manager" website that GoDaddy provides, which allowed me to upload the file with permissions.
In hopes of helping to lead to an answer with another case study, let me share the experience I had with the same issue, but on a WordPress file:
/wp-admin/includes/ajax-actions.php
Here are my specs:
GoDaddy Deluxe Web Hosting, Linux
Cyberduck v 4.2.1
Also tried in FileZilla v 3.6.0.2 (same results)
MacBook, OS X v 10.6.8
To be clear, I also could not change permissions (although it deceptively acted like it was letting me) and renaming the file didn't help me either. I also tried uploading a new dummy file with a different name (work.php) and with different content (I think "WORK!" was all I wrote in it), which uploaded fine with normal permission (704 I think). I then tried pasting the contents of the above ajax-actions.php into it and re-uploading it. It added a .gdav to that file as well and changed the permissions to 000.
Using GoDaddy's File Manager became my workaround as well, thanks to timmsimpson (I may not have thought of that).
Yep, issue with Go Daddy Anti-virus. login to GD host control panel, go to the File Manager, rename the file and remove the .gdav extension, select the file, change the file permissions to 644.
Update: I'm not sure if this is related to gdav, but for the past 3 weeks my WordPress sites, which normally load in 2 seconds are taking 5 seconds to never loading (connection resets, lost DB connections, etc) intermittently throughout the day every day for 3 weeks now. The other thing that was implemented 3 weeks ago on GD was SiteLock. Also this time of year is infrastructure rebuild/enhancement time at GD. POD6 is currently hosed.
Related
My backend is on a cloud server and my frontend will be a MDE file. My company now uses Access2013 but when the database was being designed and coded, we were still on XP.
I am hoping to be able to email all the users a file which will enable auto-updating of the MDE. The examples I have seen require access to the backend. While I do not wish to reinvent the wheel, especially as my only programming knowledge is some VBA, I am hoping to create a file that will:
Check if the path C:\Program Files\myDatabaseFolder exists
If not then create it and copy the MDE from my department server (not the
cloud).
(Possibly also copy a self-certificate to get past the
Trusted Source warning)
If Path exists then check the date modified of the current version
against the version on the department server and retain the latest.
Then Open the Database
There are a few things I'm not too clear on - this file I would email to users and get them to put it on their desktop. When they wanted to access the database, they would just run this - but should this be a batch file or some other form of executable?
Also, when I created the MDE and tried to open it, I got a warning:- "not possible to determine that this content came from a trustworthy source". I do not want the users to see that on opening the file/database, so would a self-certificate be adequate or is there a way to create a trusted location? I am hoping for as little user interaction as possible - not all are able to follow simple instructions.
Any advice or comments welcomed.
I have set this up in a Citrix environment but it should work with normal desktops as well. It is described in detail here:
FE Deploy Method
The script, I used, happened to be VB Script and can be found here:
FE Deploy Script
I didn't have to charge a consulting fee for this.
PS: If you meet a request for signing up at EE, you should be able to just browse past it.
Link to script:
Download script
So straight to the point- Im trying to clean my host entirely (databases too) and after I delete the last 2 files wp-content and wp-includes (700MB of files) they get restored instantly. This may be a simple question but for me it s very odd and I don`t get it. Besides file-manager i used Filezilla too and the same thing happens(my hosting company as it su#%$ failed to give me a reply after 48h).
I have recorded a short video of my problem to help you better understand my issue.
https://www.youtube.com/watch?v=wqL35R0-vvw&feature=youtu.be
Hope you`ll be able to help me. Thank You !
I`m working on this website for an NGO after it was hacked and for now I want to wipe every single file from the server and rebuild it but those files which have inside infected pages(php scripts) wont get deleted
Chances are very good some of those files are owned by the webserver, especially if you were compromised via a WordPress vulnerability. As they're owned by the webserver and not your user, you're unable to delete them.
If you have root/sudo access, you can use that on the command-line to remove them. If you don't, you'll need your host to help.
I have a multisite Drupal 7 setup. I just noticed that on the one I'm working on, I can't upload any files at all. I tried using the file upload, and IMCE in it's file browser. I just keep getting a generic file can't be uploaded error. I have two other sites on the shared system, and they work fine. I have checked and rechecked all the file permissions and ownerships, and they are exactly the same. All the file settings, permissions, etc. on all three Drupal sites in the admin sections are the same. I'm at a loss of where to look next. The server error logs are no help, as well as the dblog in Drupal. Any ideas would be great because I've been looking at this for too long now.
It looks like I fixed this finally. The solution still doesn't seem to make any sense, but it works. I had to change the group ownership to apache instead of the default Plesk owner. The other sites work with the group owner as Plesk, so it doesn't make sense to me. At least it works.
i am trying to figure this out for a long time now, but so far no luck, maybe somebody can help me.
I have a 2.2.2 cakephp installed on my computer (localhost) and everything works perfectly. But now i want that same project to be online on remote server. I upload everything, set mysql path but i get a blank page when trying to access the site.
If i upload a fresh cakephp it works, but my project doesnt. The debug is set to default, think that should be 2? I also deleted files in cache/tmp, but still no errors or anything, just blank page.
Any info would be helpful, thank you.
I hate when that happens :). Usually it does if there is an error somewhere and you can't see it because the errors are turned off, so you should call phpinfo() and see if display_errors is on. Changing the debug mode doesn't work every time since display_errors is set from php.ini.
Unfortunately, if this is the problem and you don't have access to edit the php.ini file, you might need to ask the hosting provider to change it and restart the php service.
You can also try this: error_reporting(E_ALL)
I uploaded changes to my cakephp website and discovered that all actions for a particular controller returned a blank page. I discovered what the error was and was able to reproduce it with another controller.
The problem was that in the first line of my controller file I had a space before the opening php tag.
One space cost me hours.
Just uploading all files won't cut it. Make sure you work through this checklist:
First and foremost, check the error log file located under app/tmp/logs/error.log, this usually holds some very good pointers as to what is wrong.
Make sure you have uploaded the app/Config/database.php file with the proper details. Local installs usually have user root without password. Online servers (obviously) do not!
To that extent, also make sure you actually have a database with your hosting provider (either your host sent you the info or you need to create it yourself using their control panel).
Make sure you also uploaded all .htaccess files (the one under the root directory and /app and /app/webroot), some FTP programs don't show this "hidden" file by default.
If all else fails, contact your hosting provider for further support as they usually have access to more verbose server logs that can also hold clues.
The real problem was only the coding I used in notepad++. All my files were encoded with UTF-8, but they should have been UTF-8 without BOM. After I changed it to UTF-8 withot BOM, everything started to work perfectly.
We have had multiple DNN sites running for quite a few months now without any issues. Twice in the last 3 days our sites have gone offline by the addition of the app_offline.htm file in the root dir.
There is only one developer with access to the sites at a coding / directory viewing level and the file is generated at weird times times when he is NOT accessing our network.
We are not publishing anything to the server ( and have not published any .net code in days ), upgrading, changing code, or even modifying content. Has anyone run into this issue?
It sounds like someone is messing with your server. Can you view the event logs to see who is accessing your server? Do you have the ability to change the passwords on the box?
Mark