Page 1 of 1

Need help - Error undefined in admin panel

Posted: Sun Jul 10, 2016 6:42 pm
by pmha
Hi gurus

I need help with my problem.
when i log to admin panel with http://www.mydoman.com/admin, everything is fine

But when i stripped dow www, like : http://mydomain.com, at first some icon at login screen was not display, when i logged in , there was a popup message "Error undefined" and all the icon on the left menu bar were not displayed.

Hope you can help

Thanks so much

Re: Need help - Error undefined in admin panel

Posted: Sun Jul 10, 2016 7:37 pm
by impairedspook
Hi pmha,

The font awesome icons generally will display as squares when you go to your site using a different URL that is specified in your config files... example, if your config file has

Code: Select all

define('HTTP_SERVER', 'http://www.example.com/admin');
but your visit your site using

Code: Select all

http://example.com/admin 
You will see the squares instead of the proper icons,

You want to check config.php in your home directory along with admin/config.php. I would recommend deciding on a URL (with or without www), making sure both config files specify what you have decided to use and then setup a 301 redirect to redirect the URL you are not using to the one you have decided on...

Hope this helps :)
impairedspook

Re: Need help - Error undefined in admin panel

Posted: Sun Jul 10, 2016 7:51 pm
by pmha
Thank you
it is exactly as you said.

I setup a 301 redirect and now everything is fine!

Thank you

Re: Need help - Error undefined in admin panel

Posted: Sun Jul 10, 2016 8:04 pm
by impairedspook
No problem, great to hear all is well now :) Cheers