Hey I recently bought a domain and server at dreamhost.
I created a subversion so that I can better manage my files and versions.
When I create a folder and a file say index.php everything works fine and the code runs great.
However once I do a checkout of the subversion in that folder (or even into a new folder) and add files from the repository to it, the site doesn't show. Instead I just see the subversion name and revision and the files and if I click on a file it downloads it.
Why isn't the site actually running? What did I do wrong?
Related
My recently downloaded-to-MAMP WP site is not displaying any CSS, styles, themes, or images. The live site broke after a PHP upgrade. After some panicking, I downloaded the WP site (all files, manual installation, FTP download) and exported the database. After a lot of trial and error, I got it just about running on the MAMP localhost, with PHP back at 5.6 (site broke on 7.0).
I did not install Wordpress directly, simply the root directory from the live server in the MAMP localhost folder. The site is displaying the text, line breaks, paragraph breaks, and image holders, but no styles or grid or anything - bare HTML.
A quick check with the inspector shows that the image-holders are pointing to the correct path for images, and the images are in the relevant folder in Uploads.
I tried deleting all plugins from wp-options, and changing themes in the database too.
I can't access wp-admin either - too many redirects. The site is obviously connecting to the database, styles.css is in place, the theme is named correctly, I have tried reverting to twentyfourteen too. No joy. Any thoughts? I can't move it back to the original server space now either and revert to the older PHP either.
Do you have a Full backup of any state of your Site? Did you check wether the PHP versions of Mamp and WordPress match exactly? Try to install a clean version WordPress on Mamp and then insert the databases. Don’t forget to change your WP config file to the local host address that MAMP is using.
I try to host a site in plesk created with joomla.
I have installed joomla from Applications -> Joomla Install.
I can log in to the backend interface and see the general by default joomla template.
However in plesk in Files -> httpdocs where the site exist I have upload my joomla work from my local disk and extract it and their are all my files.
What should I do to configuration.php file in order to make the public url to see the results from the content I uploaded, or in other files?
I mean I have a zip file with the joomla content. I uploaded to http docs and extracted but in the public url I receive error. Why this is happening?
I noticed that index.php was overwriten when I openned the joomla from the application and after that I can't understand what changed.
Joomla consists of files and a database.
One of the easiest ways to transfer a website is to use the free or paid version of Akeeba Backup which backs up the files and the database into one file. You can then use the free Akeeba Kickstart utility to restore the files and the database on the target location.
I don't have rep points to comment, which is why this is posted as an answer. Sorry!
Can you give a little more information? You installed Joomla from the Plesk panel, so you should have all of the Joomla code files and directory structure. What is the "joomla work" you want to upload -- a complete site like Neil's answer I think assumed? Graphics files? Text documents? If it's artwork or the like, it would go in your "media" folder under the Joomla document root (httpdocs I would guess), and be accessible through the media manager.
I am developing a web application using Laravel. I am using Laravel Forge with a Linode server and GitHub. My site is live at the moment. Whenever I change the code, I commit the changes using GitHub for Windows and then deploy the website on Laravel Forge.
One part of my application allows a user to upload a file. This works grand. I can upload a file and then download it from another computer on the website. However, I am not sure how to view the files on my server. They are not appearing on GitHub, and I cannot see anywhere on Laravel Forge to locate these files.
Anyone have any ideas?
The files are definitely there as I said, I can download and view the files once they are uploaded. I am storing them in a files folder in my public directory.
I guess your problem is that the versioner(Git) is ignoring your files.
Verify that where your files are stored and that the .gitignore files in each folder do not ignore them
*
/ Storage_path
Storage_file.extension
*.extension
Modify your corresponding .gitignore files and then commit everything
I'm not a programer I just play around html and css. Few weeks ago I was asked to make a Wordpress site for a friend. Thinking that the best idea would be to do it on XAMPP and then move it to live, I worked on it for quite some time.
Just when I was about to finish, something happened with powersurge and my computer got totaled, motherboard, graphics, power, all fried, all except for hard disc that somehow survived.
Now I got a laptop and new XAMPP instalation, but I have no idea how to transfer site from my old Hard disc to new. Any ideas?
Thanks in advance!
Edit: I have moved files from old xampp folder to new, but problem is database.
Usually(default) xampp is installed on the C drive, you can find it at:
C:\xampp\
projects are stored in the htdocs file inside of that, move the project(or projects if you have multiple) in its entirety from the old htdocs file to the new one.
Get your MySQL Data Files from C:\XAMPP\mysql\data and follow the instructions here
You can do this by following this steps:
1) copy your site from c:/xampp/htdocs/[copy your site name folder]
(before just check that your xampp install in which drive. common is C drive).
2)export database from phpmyadmin
type in URL : http://localhost/phpmyadmin/
then select your database and export it.
3)paste your folder in new PC's xampp/htdocs
4)import your database in your new Xampp.
I tried this way and its working good.
Install xammp and wordpress on new computer.
copy wordpress folder from C:\xampp\apps folder
Export wordpress folder from phpmyadmin.
replace the wordpress folder to new system and drop all table from wordpress db and
import the old db datas.
Notes:
If you config or merge other tools like phpbb means you have to change that also to
the new location.
In the past, with Eclipse and a PHP Server/system, I had it setup so that when I commited changes to the CVS repository, it also saved the actual php files on the server. I had this functionality on a another computer in the past (I can't check this computer). The files for the repository seemed to have been saved in a different folder. So the cvs is in a folder stucture like var/cvs and my system files/PHP files facing clients are in something like var/www/html/. How would one go about setting something like this up? I use sftp to change files right now with Filezilla. It was very convenient before being able to commit the changes and check the web to make sure that changes worked. Right now I have to commit the changes then save the file with ftp to see the changes. Would love to be able to get rid of the sftp with Filezilla step if at all possible...
It sounds to me that you are testing your latest changes on the live website, which is bad idea, because if you inadvertently edit some error in the files, your website may expose that to the public.
My current work-flow is as follows:
I use Netbeans on a local project, which is the SVN checkout too. On most projects I use the Netbeans option "Copy files from source folder to another location" to copy the edited files "on save" to the local test webserver directory. If the changes work on the local webserver, I'll commit them to the SVN repository and login to the live-webserver via SSH and checkout the latest revision from the SVN.
So in fact I have four copies of each file:
The working copy (a Netbeans project and SVN checkout)
/home/feeela/projects/xyz/ (editing here only)
The test-server copy; Netbeans stores a copy there on each save;
/var/www/vhosts/xyz/ (127.0.0.1/xyz/)
The SVN repository; I'll manually commit files to it after testing on the local webserver;
/var/svn/xyz/ (svn commit -m "my last change")
The SVN checkout on the live-server, which is the actual website;
/var/www/vhosts/xyz/ (svn update # xyz.com/)
I don't have a clue, how setup the "local copy" feature (which can also refer to some other machine) with Eclipse. If someone knows a way to reproduce the above workflow using Eclipse and not need to manually sync the files to the test-server, I#ll be glad to read it here…
You could use a post-commit hook script on the CVS server to update (refresh) a working copy on var/www/html/. Every time you commit, the hook script would thus get the latest version of the files on the server and put them in var/www/html/.