Jump to content

Fresh install, back office problem, no css?


Recommended Posts

Hello,

 

I've just installed fresh 1.5.0.17 - everything went well 100%, no errors. Front end shows perfectly, but there is problem which I dont know appears - back office somehow lacks of some parts of css...

 

http://i45.tinypic.com/fkzamq.png

You can see it on screenshot. Whats the problem? Anyone can help?

 

Thanks in advance.

 

EDIT: Can it be shop is installed on subdomain?

post-404159-0-51317100-1348666402_thumb.png

Edited by krominator (see edit history)
Link to comment
Share on other sites

Hello,

 

I've just installed fresh 1.5.0.17 - everything went well 100%, no errors. Front end shows perfectly, but there is problem which I dont know appears - back office somehow lacks of some parts of css...

 

http://i45.tinypic.com/fkzamq.png

You can see it on screenshot. Whats the problem? Anyone can help?

 

Thanks in advance.

 

EDIT: Can it be shop is installed on subdomain?

 

I have the same problem. The console says that PrestaShop is trying to get CSS from the wrong path.

Any news about his?

Edited by MartinB (see edit history)
Link to comment
Share on other sites

  • 3 months later...

I forgot to mention that this is still on a local server.

 

I opened page source and I see somethin like:

/prestashop-prep/admin123/../css/admin.css

but when I copy it I get this link:

http://127.0.0.1/prestashop-prep/css/admin.css

 

So I opened Firebug to look and here are some css files of the admin page:

 

 

<link media="all" type="text/css" rel="stylesheet" href="/prestashop-prep/admin123/../css/admin.css">

 

<link media="all" type="text/css" rel="stylesheet" href="/prestashop-prep/admin123/../admin123/themes/default/css/admin.css">

 

<script type="text/javascript" src="/prestashop-prep/admin123/../js/admin.js">

 

<script type="text/javascript" src="/prestashop-prep/admin123/../js/toggle.js">

 

<script type="text/javascript" src="/prestashop-prep/admin123/../js/tools.js">

 

<script type="text/javascript" src="/prestashop-prep/admin123/../js/ajax.js">

 

<script type="text/javascript" src="/prestashop-prep/admin123/../js/toolbar.js">

 

<script type="text/javascript" src="/prestashop-prep/admin123/../js/notifications.js">

<script type="text/javascript" src="/prestashop-prep/admin123/../js/helpAccess.js">

Link to comment
Share on other sites

I figured out that there is another problem. I read that you should set your settings on Force Compile. I thought I did, but looking at it again I see that it doesnt force compile. I found out that the "Save" button doesnt work, so I cant change it to force compile. I tried to go to tools/smarty and empty the cache and compile folders, but there are no such folders. There are only two folders: plugins and sysplugins.

Link to comment
Share on other sites

Another thing that might give you a clue. I opened FO(that has no css whatsoever) again and I looked at that page source. There I see that it pointed to

"http://127.0.0.1/themes/default/cache/2a1002da1345bc577314ac635d36ea10_all.css"

 

But when I try to open it I get:

 

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /themes/default/cache/2a1002da1345bc577314ac635d36ea10_all.css was not found on this server.</p>
</body></html>

 

If instead I open:

 

http://127.0.0.1/prestashop-prep/themes/default/cache/2a1002da1345bc577314ac635d36ea10_all.css"

 

instead of:

 

"http://127.0.0.1/themes/default/cache/2a1002da1345bc577314ac635d36ea10_all.css"

 

I do get the correct css file. This is because my website is in the www directory but inside the prestashop-prep folder.

Edited by barefoot (see edit history)
Link to comment
Share on other sites

  • 1 year later...

For anyone else reading, this happened to me because I hadn't put a trailing / when I moved the domain.

 

I then had a problem with the front end but back end was fine.  So I turned off Friendly URLs, my front end worked, and then I turned friendly URLs back on again and it continued to work (probably .htaccess issue).  I then cleared my cache for good measure.

 

Hope that helps someone.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...