I am trying to transfer one of my clients website to a new server (Hostgator sheard plan). for some reason the the server doesn't parse the php code. I tried to place the website on my localhost (xxamp) and it works great.
this is the link to the site
Other wesites in the same server works great.
What can cause the problem?
Does this website requires some special requirements?
Any help or lead will be great.
this is a picture of the main websites main folder. maybe it helps some how...
Tnx
Related
I am working on a WordPress project, the job is to deploy everything from the old server to the new server.
So I downloaded everything from the old server.
I deployed a WordPress project to paid hosting, I deployed manually by pushing all the public_html folder to the server.
First, without a database connection, it was showing me a database connection error but after the database connection, it is showing me a hosting page instead of my WordPress project page.
How can I fix it and is there a configuration that needs to be fixed?
Kindly guide me and help me in this matter.
Also is it a domain configuration issue?
The domain is configuration is on the old server and I didn't set it up for the new server yet.
Thanks.
I faced similar issues yesteday when i tried to move my woocommerce exercise from localhost to my domain(live hosting),broken all links,images,routes etc ...There is no way to fix all that whithout paid plugins, maybe someone can go through whole db and change URL-s,i cant,and after that, the question remains whether I have problems elsewhere in the local WP code,who know where in code i also have embed "localhost" URL.
I cant give you solution but i must share my frustration with this tehnology which doesnt allow normall development process like 1)development -> 2)testing -> 3)deployment .
I have a problem migrating to localhost from online host. My site is working quite ok online . When i ran the project on local host and changed the base url to localhost and database settings for local host the project accured a problem the host can not find where my style and JavaScript codes are. It gives me error 404 when i check the place of styles . Im sure about that direction is correct. Absolutely first page of site is quite corrupted. Tell me where is the problem and what to do. I would be very thankful if you could tell me all parts of migration.
Thank you.
Kindly check all the javascript links in your file are they all connected?
laravel was working fine when I am hosting with GoDaddy but recently I transferred my domain to hostgator first time on hostgator and so I moved all laravel contents from GoDaddy to Hostgator by downloading everything from ftp then transferred all files over. Database with godaddy and hostgator are different and so I created database in hostgator and implement everything needed but somehow when I load up my page in hostgator my page loads but when I click on any of the links in the page I keep on getting the 404.html.
At first I thought it was because my database info isn't set correctly because it's my first using using hostgator and their database uses localhost instead of like GoDaddy it has an ip for me to use as a host.
Anyways then I uploaded some other things into hostgator which isn't using laravel just normal php with database info and this works fine. So now I am confused if it is because of laravel or it is hostgator? I have no idea where to start looking for what the problem is
I was told by hostgator that they can migrate contents at a charge and everything will work perfectly the same as it was with godaddy but I figured this is a time I can learn if anything happens
I am sorry if this a stupid question. Can someone please give me a hand? Thanks a lot
my folder structure
-root
-public_html
-user-login (laravel folder)
P.S. I have a free account with aws ec2 and I tried transferring all the files into aws-ec2 and I can see other pages fine just that let's say if I try to login it gives me errors which is normal since I didn't have database setup correctly but at least the links works
Alright, I found out why and pretty much my stupidity I believe.
Somehow, as I said using hostgator (without a domain) I was loading the page using http://ip/myname/laravel/public and I can only see the index page any other links gives me error404.
I was still waiting for my domain transfer at that time so I had to load my page with my ip/username in order to load my pages.
Somehow after my domain is transferred and namespace is set in place.
For example my domain is www.domain.com after the transfer is complete and namespace is setup in hostgator now I can load the page as http://www.domain.com/laravel/public AH~ and all links are working fine as before.
No idea what's the real reason behind this but after this, everything works like a charm now
If anyone has an idea the reason why, I wouldn't mind you posting / commenting here to gain my knowledge
I'm new to PHP and everything, so I'm trying to learn some things.
I'm currently developing my first PHP site in Dreamweaver using MAMP and Localhost.
I have already bought my domain name, and built a smaller html site just to act as a "holding site" before the PHP one gets put up. I'm wandering if instead of using localhost, that I could use a subdomain of that domain. So instead of going to localhost/mysite I could go to test.mysite.com.
Tell me if I'm wrong, but I shouldn't have to upload any files to GoDaddy because I'm using MAMP as the server. Right?
Keep in mind, this isn't permanent. I'm not planning on hosting my site on my computer using MAMP. I'm just wandering if it's possible and how to do it if it is.
Any suggestions, comments, or answers are greatly appreciated.
Thanks.
- Ryan
MAMP is not the server. MAMP adds server capabilities to your computer, but you can't use MAMP to mimmic any server.
What I recommend you is working on your computer, with MAMP and using localhost as the "test address". After the page is finished in your localhost, and everything work fine, you can upload your page to your server (with FTP). This way you avoid having to upload your files via FTP every time you make a change in your code.
And welcome to the PHP World. Countless mugs of coffee and restless night await you.
You can create some folder on web server(on your paying hosting) and upload all files from your test localhost folder. Everyting would work perfectly if you type: https://yourwebsite.domain/yourfolder. If you want to set it to view like http://yourfolder.yourwebsite.domain you must from Control Panel set up an some subdomain. Subdomain is make something like this: you enter name of subdomain and folder which is mapped to that subdomain. For example, you set up subdoman http://test.web.com and map that to http://web.com/testfolder.
I hoppe that I help you.
As I am using FCKEditor to develop small web site to manage site contents dynamically. When i add more content in the FCKEditor is working fine in my staging server where if i tested same in my live server, which throwing error as "500 Internal server error". I was not able find out the problem, please help me out.
Sri
It probably isn't a problem directly related to FCKEditor, but most likely a configuration issue. Do you have access to your error logs?