Page 1 of 1

Dashboard Problem

Posted: Wed May 10, 2017 7:01 pm
by johnpot
So I did some changes in admin->view->template->sale->order_invoice.tpl to just change some things on how the invoice looks after a sale.
After adding some php code this happened to my dashboard (check attachment).
I reverted the changed back to normal to see why that would have happened but my dashboard still looks like that. It doesn't really make sense to me since the php code was totally irellevant with anything that had to with the dashboard.
It seems to me like some css problem since I see the styling has only changed, everything else is still pretty much functional.
I'm using opencart version 2.0.1.1 and custom theme (pav_fashion).

Thanks in advance.

Re: Dashboard Problem

Posted: Thu May 11, 2017 5:29 pm
by paulfeakins
It sounds like changing the code has forced either the vQmod cache or OCMOD cache to refresh and this has allowed a problem that was probably created a long time ago to start showing.

Try disabling your extensions to find out if any of those are the cause of the problem.

Re: Dashboard Problem

Posted: Thu May 11, 2017 6:24 pm
by johnpot
Well I didn't enable/disable any of the extensions in first place so I don't guess they have to be blamed but I'm gonna check it out.

Re: Dashboard Problem

Posted: Thu May 11, 2017 8:21 pm
by johnpot
Well tried editing,disabling/enabling,checking code,log files anything I could possibly do.
The only thing I found was when trying to edit a module (pavbanners builder) which comes from the custom theme (pav_fashion) I had some issues editing it.
I mean it kinda changed its behavior so that's the only thing I can think of.
I still insist on the css still it's just the styling of the dashboard that is kinda messy but I really haven't changed any css code so any more help from anybody would be appreciated :-[

Re: Dashboard Problem

Posted: Thu May 11, 2017 8:34 pm
by htwp
Replace the tpl file with the original from opencart folder (download again your version).
Delete the cache inside vqmod/cache directory.
Refresh Modification page in admin
Clear your (browser) cache ctrl + F5 at least 3 times
Check with another browser
Last i would have renamed the vqmod directory (like vqmod_ ) for a minute just to check if everything is ok and then i would have revert back the change.

Αν χρειαστείς κάτι άλλο στείλε pm.

Re: Dashboard Problem

Posted: Fri May 12, 2017 4:00 pm
by johnpot
Well thanks for your suggestions htwp but nothing seems to work.
Btw with the tpl I guess you mean the dashboard.tpl inside admin/view/template/common

Re: Dashboard Problem

Posted: Fri May 12, 2017 6:27 pm
by htwp
Yes that .tpl

Can you give access to your admin? send me a pm with details (username and password) to check it out.

Re: Dashboard Problem

Posted: Fri May 12, 2017 8:02 pm
by johnpot
Well no I'm not allowed by my company to give any access to anybody else unfortunately.
Just want some hints here if possible.

Re: Dashboard Problem

Posted: Fri May 12, 2017 8:45 pm
by artcore
I suggest to open the browser developer tools and check for any 404 - not found assets, namely a css file.
It might also be useful to search the ocmod log for any NOT FOUND entries.

Re: Dashboard Problem

Posted: Fri May 12, 2017 10:11 pm
by IP_CAM
A good Idea, NEVER to share Server Access Information with unknown Parties!
But why not just contacting PAVOTHEMES, they know their Themes and Mod's best !? ::)
Ernie
http://www.pavothemes.com/support.html

Re: Dashboard Problem

Posted: Mon May 15, 2017 2:13 pm
by johnpot
Well thanks for your help I'm gonna check anything out.

Re: Dashboard Problem

Posted: Mon May 15, 2017 6:00 pm
by johnpot
Thanks artcore for your suggestion, I saw that you can actually check which css loaded and which not from developer tools and I found out there was a wrong path for my stylesheet.css. Problem solved!
I was sure it was a css after all it was pretty obvious, thx again for your answers everybody.