Post by Scien » Mon Oct 20, 2014 4:58 pm

Edit: Solution to my problem

1) Adding mime type.
To elaborate, I went to the Plesk Control Panel, select Virtual Directory, click on the MIME Types tab, then click Add MIME Type and finally add
Extention: .less
Content: text/less

or

2) Editing header.tpl

I edited admin/view/template/common/header.tpl
(Around Line 18-20) I searched for

Code: Select all

<!--
<link href="view/javascript/bootstrap/css/bootstrap.css" rel="stylesheet" media="screen" />
//-->
and removed

Code: Select all

<!--     //-->
Problem:
Hello, I'm a new user of opencart.
I ran into a problem with a fresh install of opencart 2.0.
It installs on my domain (using godaddy as webhost, using default settings) successfully but when I log in into the admin page, then I encounter the problem in the image.
Can anyone help me?
Last edited by i2Paq on Tue Oct 21, 2014 12:50 pm, edited 4 times in total.
Reason: Made TS readable

Newbie

Posts

Joined
Mon Oct 20, 2014 12:52 pm

Post by PWF » Mon Oct 20, 2014 6:19 pm

Hi Scien,

Do you mean the warning about the install folder?

If so you just need to remove it from your file directory. It's a folder called "install" and you just have to delete the entire thing.

PWF
Newbie

Posts

Joined
Wed Jun 04, 2014 5:14 am

Post by i2Paq » Mon Oct 20, 2014 6:28 pm

His .css fails and thus looks his Admin Interface template like this.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Scien » Mon Oct 20, 2014 6:37 pm

Hi PWF,

No, I don't mean the warning about the install folder.
What I actually mean is that, the dashboard is suppose to look like this (this is what it looks like on my localhost): But what I got (on webhost) was this: The tabs and such on the webhost doesn't seem to be working. Do you have any idea what could be the problem?
i2Paq wrote:His .css fails and thus looks his Admin Interface template like this.
Hi i2Paq,

Would you kindly elaborate a little more? I'm quite a noob about this.
Do you mean:
1) One of the files in the admin folder is not calling the .css correctly?
2) Or do you mean the .css itself was corrupted?
3) Another file is conflicting with the .css?

Newbie

Posts

Joined
Mon Oct 20, 2014 12:52 pm

Post by PWF » Mon Oct 20, 2014 6:58 pm

Oh yes, sorry I see what you mean now. Assume you have already re-loaded all of the admin files (excl config.php)?

PWF
Newbie

Posts

Joined
Wed Jun 04, 2014 5:14 am

Post by Scien » Mon Oct 20, 2014 7:01 pm

PWF wrote:Oh yes, sorry I see what you mean now. Assume you have already re-loaded all of the admin files (excl config.php)?
Yes I did. I tried multiple times by deleting everything, re-uploading & reinstalling everything.
I get the same problem everytime on the webhost but not the localhost.

Newbie

Posts

Joined
Mon Oct 20, 2014 12:52 pm

Post by uksitebuilder » Mon Oct 20, 2014 7:37 pm

Do you have any speed enhancement modules running on the server such as modpagespeed etc that could be rewriting the css and js files ?

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Scien » Mon Oct 20, 2014 8:00 pm

uksitebuilder wrote:Do you have any speed enhancement modules running on the server such as modpagespeed etc that could be rewriting the css and js files ?
I don't think so...?
Everything is a complete fresh install. Changed nothing except file permissions to full control(read/write/edit) and the standard config-dist.php --> config.php

Newbie

Posts

Joined
Mon Oct 20, 2014 12:52 pm

Post by marmax » Mon Oct 20, 2014 9:42 pm

Any errors in 'error log' file? (Tools / Error Logs)

Ane messages in CONSOLE? (In firefox: Ctrl-Shift-K and then Ctrl-F5)

New member

Posts

Joined
Fri Oct 10, 2014 4:34 am

Post by i2Paq » Mon Oct 20, 2014 10:20 pm

Did your look at this topic: http://forum.opencart.com/viewtopic.php?f=181&t=131663

Ps. I've adjusted the topic title of your topic.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Scien » Tue Oct 21, 2014 10:12 am

i2Paq wrote:Did your look at this topic: http://forum.opencart.com/viewtopic.php?f=181&t=131663

Ps. I've adjusted the topic title of your topic.
Oh! I'm so blind, didn't notice that topic. That is exactly the same problem I am having.
Going to try out the solutions posted there.

Edit: It works!! Thanks for all the help!!

Edit 2: I tested the 3 solutions provided in that thread. For me, either of the following 2 options work.

1) Adding mime type.
To elaborate, I went to the Plesk Control Panel, select Virtual Directory, click on the MIME Types tab, then click Add MIME Type and finally add
Extention: .less
Content: text/less

2) Editing header.tpl
I edited admin/view/template/common/header.tpl
I searched for
<!--
<link href="view/javascript/bootstrap/css/bootstrap.css" rel="stylesheet" media="screen" />
//-->
(Around Line 18-20)
and removed <!-- //-->

Hopefully The help I gain will help others with the same problem.

Newbie

Posts

Joined
Mon Oct 20, 2014 12:52 pm
Who is online

Users browsing this forum: No registered users and 6 guests