Opencart Installation and Display Errors
I need a bit of help installing a copy of Opencart onto my Godaddy hosting. I have had one major problem and that was, after during and after the install, none of the styles or images where appearing. I was able to completely fix the admin panel, but I am now running into problems with the frontend. I was able to fix the styles by edit开发者_运维知识库ing a couple lines in the index.php file:
define('HTTP_SERVER', 'http://' . $_SERVER['HTTP_HOST'] .'/opencart/');
define('HTTP_IMAGE', 'http://jpoles1.com/image/');
Now the problem is that unless you are on the base url http://jpoles1.com/opencart/, none of the database functionality works. For example the brands dropdown on the left will only be populated on the root page.
Am I going about this problem the wrong way?
What should I do to fix this problem?--
Thanks,
Jordandefine('DIR_APPLICATION', '.........');
define('DIR_LANGUAGE', '........');
define('DIR_TEMPLATE', '.........');
are you replace setting?
define('HTTP_IMAGE', 'http://jpoles1.com/image/')
Should be
define('HTTP_IMAGE', 'http://jpoles1.com/opencart/image/')
try it
got Notice: Use of undefined constant HTTP_IMAGE
精彩评论