Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 New responsive site server problem
Author « Topic »  

Bob88
Ecommerce Template Expert

958 Posts

Pre-sales questions only
(More Details...)

Posted - 12/06/2017 :  05:37:41  
I'm testing my new responsive site but having problems.

I have the new responsive site in a new folder in the server root called public_html_NEW

I have the existing site in public_html

Then I just change folder names on the server to test the new site.

HERE'S THE PROBLEM

When I upload my files to public_html_NEW then change the name to public_html to test the page, the code changes like this...

THIS IS WHAT I UPLOAD FOR EXAMPLE

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1">
<link href="Grab%20Bar%20Specialists_files/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="Grab%20Bar%20Specialists_files/html5.js"></script>
<script type="text/javascript" src="Grab%20Bar%20Specialists_files/jquery.js"></script><!-- jQuery -->
<link href="Grab%20Bar%20Specialists_files/css.css" rel="stylesheet" type="text/css">
<link href="Grab%20Bar%20Specialists_files/ectcart.css" rel="stylesheet" type="text/css">

<!-- #BeginEditable "head" -->

THIS IS WHAT I VIEW IN PAGE SOURCE WHEN I VIEW IT IN BROWSER

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1">
<link href="Grab%20Bar%20Specialists_files/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="Grab%20Bar%20Specialists_files/html5.js"></script>
<script type="text/javascript" src="Grab%20Bar%20Specialists_files/jquery.js"></script><!-- jQuery -->
<link href="Grab%20Bar%20Specialists_files/css.css" rel="stylesheet" type="text/css">
<link href="Grab%20Bar%20Specialists_files/ectcart.css" rel="stylesheet" type="text/css">

<!-- #BeginEditable "head" -->

WHY IS IT ADDING THE FOLLOWING WHEN I VIEW SOURCE?

Grab%20Bar%20Specialists_files

Andy
ECT Moderator

95440 Posts

Posted - 12/06/2017 :  07:17:14  
Hi Bob

I really don't know why it should change the paths like that - you might want to ask your host to see if it's something in their set up. To be honest though I wouldn't change the names of directories like that just for testing.

Andy

Please feel free to review / rate our software

Phil
ECT Moderator

United Kingdom
7680 Posts

Posted - 12/06/2017 :  07:19:44  
That's not really the correct procedure, naming a directory public_html_NEW then renaming it to public_html when it's in the server root could cause a problem.

What I would recommend you do is create a directory named 'new' in the public_html directory, then browse to it http://www.yourdomain.com/new

When you're ready to move it over copy the files to the public_html directory then delete the directory 'new'



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Bob88
Ecommerce Template Expert

958 Posts

Pre-sales questions only
(More Details...)

Posted - 12/06/2017 :  08:41:56  
I was trying to save time if the new site had problems by switching back and forth but I guess you're right. Copy from new to existing site.

Thanks for the help.
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000