开发者

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,

Jordan


define('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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜