| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Mini-cart (or other functionality) on a non-xcart page | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#31
|
|||||||
|
|||||||
![]() 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.
__________________
X-cart Gold 4.1.12 One Page Checkout CDSEO Pro Smart Search PHP 5.2.5 FreeBSD |
|||||||
#32
|
|||||||
|
|||||||
![]() 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?
__________________
Cool. X-Cart v 4.1.8 (Live Site - Slowly dying) X-Cart v 4.1.11 (In Development- Being born) Joomla 1.5.6 + X-cart 4.1.11 Integration complete ![]() |
|||||||
#33
|
|||||||
|
|||||||
![]() 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
__________________
Steve J Racicot X-Cart Consultant Version 4 and 5 |
|||||||
#34
|
|||||||
|
|||||||
![]() Quote:
__________________
Version 4.0.13 |
|||||||
#35
|
|||||||
|
|||||||
![]() I still don't have a solution.
__________________
Steve J Racicot X-Cart Consultant Version 4 and 5 |
|||||||
#36
|
|||||||
|
|||||||
![]() Quote:
__________________
Version 4.0.13 |
|||||||
#37
|
|||||||
|
|||||||
![]() 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.
__________________
X-Cart Gold v4.3.1 |
|||||||
#38
|
|||||||
|
|||||||
![]() 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.
__________________
X-Cart Gold v4.3.1 |
|||||||
#39
|
|||||||
|
|||||||
![]() 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
__________________
X-Cart Gold version 4.4.4 X-Cart directory /home/web/u/ugchweb/cart PHP 5 MySQL server 5 |
|||||||
#40
|
|||||||||
|
|||||||||
![]() this would be nice fro 4.4 anyone??
__________________
xcart 5.1.2 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|