Chat Room Article Base Facebook Page Twitter RSS Feed
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 12:30:40 AM

Login with username, password and session length
Search:     Advanced search
The E-commerce forum, the best place for advice for your Small Business.
12787 Posts in 1519 Topics by 6453 Members
Latest Member: mariocotton921
* Home Help Search Login Register
+  E-commerce forum
|-+  E-commerce
| |-+  Shopping cart software
| | |-+  Prestashop
| | | |-+  Broken Presta Template
« previous next »
Pages: [1] Print
Author Topic: Broken Presta Template  (Read 574 times)
Forum-Police
Newbie
*

Karma: 0
Offline Offline

Posts: 4



« on: March 04, 2010, 02:44:09 PM »

Am making this topic For J , just to start him off .
Logged

Reputation is a bubble which man bursts when he tries to blow it for himself.
J
Newbie
*

Karma: 1
Offline Offline

Posts: 8


« Reply #1 on: March 04, 2010, 02:54:34 PM »

Gotta love me molly-coddled ;)

Because my domain wasnt resolving, I installed PrestaShop using 'http://37.356.346/domain.com/

This caused a junk ass of problems with the css, image and http.

So I edited the host file on my system.

C:\WINDOWS\System32\Drivers\etc - opened file 'host' with notepad and added this info to the end of the file '37.356.346     www.domain.com'

This resolved my domain and allowed to do a fresh install and the template appeared as it should (:

J
Logged
scotserve
Guru
Shareholder ;o)
*****

Karma: 36
Offline Offline

Gender: Male
Posts: 820



WWW
« Reply #2 on: March 04, 2010, 03:04:12 PM »

J glad that worked for you

To give a full explanation if you have just registered a domain it can take a short time for the nameservers to update and most people are impatient and try too quickly causing your ISP to cache the wrong information, in time this caching will resolve itself but you wont be able to view the site.
If you are on a windows machine the answer is to open up notpad ( some versions of windows require you to run notepad as adminsitrator to edit this file) C:/windows/system32/drivers/etc/hosts
you need to make sure you view all files and not just .txt
Open up this file and enter in the IP address of your site ( you must have this ) followed by the domain name - you may need to add both the www and non www versions of the depending on what you want to do - save and restart your browser clearing the cache

now when you view instead of the local machine accessing the out of date cache it responds by immediatly resolving the domain name to the IP address and to all intensive purposes works as it should

Warning
tampering with your hosts file can throw up your filewall warnings
Also remember to remove the entry at some point in case the IP changes at some point - yes I have been there spending hours trying to get a site to work only to have forgot that i had entries in the hosts file.
Logged

Scotserve - Premium Domain and Hosting services since 1994
ianjofriel
Guest
« Reply #3 on: March 04, 2010, 03:19:08 PM »

to be more specific, to ensure correct operation of the lanmanager hosts file, it should be <IP>[tab]<FQDN> and on the final line, there should be no carriage return as this can cause failure. Can't demonstrate the tab character in here, just press the tab key rather than space.

Source: Years of support for a major UK wide industry leader.

The other solution, if your doing a lot of dev work and routinely add and remove domains from a host, is to point on of your DNS entries ( you get two by default on Windows ) to the first nameserver that your domain name utilises.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
SimplePortal 2.2.2 © 2008-2009