I broke up with my boyfriend so he changed the FTP password to my Drupal 7 website he was hosting through his host.
I still have admin access but that's about it.
I can get the database(s).
But without FTP I can't get the files.
Ran this on a Drupal basic page
echo ini_get("disable_functions");
The following functions are disabled
exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,
proc_close,proc_open,dl,popen,show_source
Is there anything I can do!?
If you've got backup_migrate you could get the database. If you've got views you could build a view to list the files or anything else you need. This would be difficult but it could work.
Edit:
From memory, a user can browse their files with IMCE if that is installed. You could get it to browse the same directory that the file field uses.
Without shell access or ftp access no. You can try and contact the host and ask for a dump, but if it is under his name I doubt they would do anything for you. Or even just ask your boyfriend to be nice and see what comes of it (never know till you ask).
Other then that sounds like you are out of luck.
Related
This is my first post here, I'm also kinda new to web dev.
I made a new site for a client an changed the hosting of the domain.
But he wants an old part of the side witch is an catalog with sorting functions made with php behind a login. I want to host this on a subsite of the hosting. Can I "copy-paste" this catalog with ftp? i have a copy of the database and the full file of the old website. I know that the php version is out of date and I'm having trouble how to find a way to update this.
When i upload the site i get a permission error trying to visit it.
When I try it locally i get to the login screen and the first page of the catalog, but when i try to select a category I only get a white screen.
I already want to thank you all for the help.
This is just a hypothetical question. Let's say we have a website built using CGI scripts. I find a folder within it (for ex; www.website.com/links/link.txt) and it has some basic text files. When I enter this URL on a browser, I am able to see the file "link.txt". I also know that the website is running on Apache Tomcat.
My question is, how do I (as a user) edit this link.txt file? What tools should I use?
Unless you have a web-based editor you can't edit the files directly; this is for security purposes as if you can change the file that means anyone else can too.
You will need a way to either connect to the server and edit it using a remote session, or you will need to edit the file using your computer and then upload it. Unfortunately you have already mentioned that ssh and ftp aren't working, which are the two ways I would have otherwise suggested.
I would suggest you get in touch with your site host and ask them what functionality they provide to allow you to edit files.
Hope this helps!
I have a site with a basic members auth system built into it, I wanted to allow the logins for this site to also work on a vanilla forum using the jsconnect plugin. The forum is built within a folder of the site.
I've been through the documentation for the jsconnect plugin for vanilla forum.
However I can't quite grasp the process of actually setting it up, This is where I'm at right now;
I've downloaded and installed the jsconnect plugin within vanilla forum, I can access it within settings. However when i try to add a connection, once I hit submit I get a blank error screen:
Something has gone wrong.
We've run into a problem and are unable to handle this request right now.
Please check back in a little while.
I'm assuming this has something to do with me needing to have set up an Authenticate Url that goes somewhere, however what is it supposed to point to?
I read that I need to have a jsonp file however when i look at the jsconnect repo https://github.com/vanilla/jsConnectPHP Theres an index.php file that seems to handle the authentication, is that right?
Essentially I'm looking for some guidence on how I should proceed,
Any help would be sure appreciated!
you need to download the index.php file, then change the path for functions.jsconnect.php to /plugins/jsconnect/functions.jsconnect.php.
then add a connection and test url.
For some reason, images are not showing up when not logged in as an administrator.
The issue seems to be connected to my use of views.
The images are part of a content type I created. The field type is image and I can pull the images from the node when accessing the node in a custom template and not using views.
But when using views, the images only show up when I'm logged in as an administrator.
I don't have any field/content permission modules installed, this is pretty bare bones with a Zen theme sub-themed. And I'm not doing anything funky with the view, just create it and add the fields I want to display. It works fine as administrator.
I can't seem to figure this one out. It seems like this is a permissions issue, but I don't see anything in the permissions configuration that would affect this behavior.
Any tips?
I appreciate that this is an old post but after days of trying to resolve the problem I have seen many of these posts and want to update with my solution.
My web host is classed as a shared web host which means for me that I don't have as much access to the server side as with other hosts. The control area for the admin on my host is custom and lots of stuff that I have with another host and previous hosts id missing.
I resolved the images not showing by adjusting the .htaccess file. There are 2 that I have found so far in Drupal 7.24 (one in the site root and one in sites/default/files/) and I had to adjust both of them by commenting out the options section and the symlinks section. There is info on this by googling "one.com Drupal Installation".
Once both htaccess files had been edited and the permissions had been changed on the "files" folder in "sites/default/" to "755" the extra folders where created when I uploaded my images and the images started to show fine. If like me you are unable to change permissions within your website hosts control panel you will need to do it with either an ftp client or via ssh.
I have this problem sometimes usually I cange folder and image files permissions to 0777 if all is ok to 0755.
admin->people->permissions->check 'view files' for anonymous user, save permissions.
Those images you uploaded with some multi-uploading modules are regarded as files, anonymous user need permission to view them.
I have the newest wordpress installed in "example.com".
If I create the folder "example.com/my-app/" and there run index.php which fetches data from mysql, but not from the wordpress database (different user, different db), is there a security issue?
And if someone hacks into my wordpress account can they read the php files in "my-app/"?
If I create the folder "example.com/my-app/" and there run index.php which fetches data from mysql, but not from the wordpress database (different user, different db), is there a security issue?
Not as such, no.
And if someone hacks into my wordpress account can they read the php files in "my-app/"?
I think so. As far as I know, in the default setting, Wordpress does not offer the possibility of entering PHP code that gets executed, but there are plugins for that, e.g. Exec-PHP.
Seeing as an administrator can install such a plugin (or simply write one themselves) you have to assume that it is in fact possible to read and write PHP files from within Wordpress if somebody gains access to the administrator account.