![]() |
Re: Mini-cart (or other functionality) on a non-xcart page
I may be wrong but it sounds to me as though where you are hosted possibly does not allow connecting to your db from a different domain/IP, as a security measure. Then again, there is also the "undefined" function part... That's something else I guess. Maybe you're just gettig your paths wrong.
|
Re: Mini-cart (or other functionality) on a non-xcart page
Works great on 4.1.10... thanks!
Sorry to go off topic, but just wondering if there are any Joomla experts out there.. I am trying to integrate my x-cart site with Joomla.. I am 90% there and have identical skins for both, so the major work is done. Next, I was trying to include the login/minicart in the header of my Joomla page.. and I get the following errors (the same 2 errors repeated multiple times): Quote:
The login/minicart scripts work perfectly when they reside on an external page outside of joomla, but as soon as you include them in a joomla page, everything goes haywire... Any Joomla/X-cart Sessions experts out there have any ideas? |
Re: Mini-cart (or other functionality) on a non-xcart page
Hello,
I am installing on minicart on a non-cart page using the code on this thread, yet I am getting the following error: Warning: Cannot modify header information - headers already sent by (output started at /path/to/file.php:7) in /path/to/cart/include/sessions.php on line 72 Warning: Cannot modify header information - headers already sent by (output started at /path/to/file.php:7) in cart/include/sessions.php on line 74 Warning: Cannot modify header information - headers already sent by (output started at /path/to/file.php:7) in cart/include/sessions.php on line 83 Warning: Cannot modify header information - headers already sent by (output started at /path/to/file.php:7) in /cart/include/sessions.php on line 84 Warning: Cannot modify header information - headers already sent by (output started at /path/to/file.php:7) in /cart/include/sessions.php on line 91 Warning: Cannot modify header information - headers already sent by (output started at /path/to/file.php:7) in /cart/include/func/func.core.php on line 1591 Warning: Cannot modify header information - headers already sent by (output started at /path/to/file.php:7) in /cart/include/get_language.php on line 154 Anybody encounter this issue? And know what changes I need to make to resolve them? Thanks Steve |
Re: Mini-cart (or other functionality) on a non-xcart page
Quote:
|
Re: Mini-cart (or other functionality) on a non-xcart page
I still don't have a solution.
|
Re: Mini-cart (or other functionality) on a non-xcart page
Quote:
|
Re: Mini-cart (or other functionality) on a non-xcart page
I am trying to use this script on 4.3.1 Gold and I ran into the same directory problem the first guy did.
My store is not at root level Wordpress is and I want the mini-cart to be on the wordpress pages. The store is at: /hvbiz/ if I put the script in /hvbiz/ it works fine with no errors, if I put it in the root directory I get the warning: ERROR: Can not initiate application! Please check configuration. Since the auth.php file has changed some since this was first used I'm hoping someone can point me in the right direction to get this work in the root directory. |
Re: Mini-cart (or other functionality) on a non-xcart page
I used pcarcares tip for the auth.php to add;
@include_once $_SERVER['DOCUMENT_ROOT'] . "/store/top.inc.php"; @include_once "../top.inc.php"; @include_once "../../top.inc.php"; and this is what is causing the header output error messages although it does make the script run outside of the x-cart directory. But even if you could suppress the errors the other problem i ran into is the cookies dont work outside of the x-cart directories so the mini-cart would keep clearing. If someone could figure this out this would be an awesome mod as more and more people are using ecommerce with Wordpress and other CMS type programs. |
Re: Mini-cart (or other functionality) on a non-xcart page
Quote:
Sorry for digging up this old post again but I am in exactly problem. I use the codes above to display mincart on a none x-cart php page and it seems that the cookies erased everytime page is load. Does anyone have any solution? I am using x-cart version 4.4.4 Thanks |
Re: Mini-cart (or other functionality) on a non-xcart page
this would be nice fro 4.4 anyone??
|
All times are GMT -8. The time now is 04:28 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.