Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Root HTML Generator

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #51  
Old 04-20-2006, 08:02 AM
 
tntdesigns tntdesigns is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Plam Beach, FL
Posts: 137
 

Default ROOT HTML CATALOG for Xcart gold 4.1

Well I just upgraded our site to xcart 4.1
and now ROOT HTML CATALOG will not work.

I get this error

Fatal error: Cannot redeclare func_mkdir() (previously declared in /home/tntdance/public_html/store/admin/html_catalog.php:123) in /home/tntdance/public_html/store/include/func/func.files.php on line 660

Can any one help?
Thanks, Tom
__________________
Xcart Gold 4.7.5 X-Affiliate, Add-on: X-Configurator, Add-on: X-SpecialOffers, Add-on: X-AOM, On Sale, EBay add on, Traffic Monitor, Froogle Feed, Drop Shipper, Newslist Manager, Product Options Copier 1.0, BCS Customer Reward Points, BCS Refer points, Ad Banner, PAYPAL PRO, Blue Dream, Drop Shipper bcse gallery
Reply With Quote
  #52  
Old 04-20-2006, 08:18 AM
 
Yang Xu Yang Xu is offline
 

Senior Member
  
Join Date: May 2004
Location: Portland, Oregon
Posts: 175
 

Default

Hi Tom:

If you got it from us, it should work fine on this version of Xcart. Please let me know and I will help you to find out.

Michael
__________________
Carts n Tools.com
- New Root HTML Generator
- Templates | Add-Ons | Services
- XCart 4.0.x
Reply With Quote
  #53  
Old 04-20-2006, 08:26 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default

Have you all gone mad?

in xcart/admin/html_catalog.php

change

Code:
define ('DIR_CATALOG', '/catalog');

to

Code:
define ('DIR_CATALOG', '/');

Then regenerate the catalog (use '/' as the catalog path).

That is all you need to do!
__________________
xcartmods.co.uk
Reply With Quote
  #54  
Old 04-20-2006, 08:29 AM
 
tntdesigns tntdesigns is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Plam Beach, FL
Posts: 137
 

Default ROOT HTML CATALOG

Well it worked great with xcart 4.0.18 but when I upgraded to xcart gold 4.1 I got that Error.
I made sure my permisstions are set to 777 and the files to 666
Do you know any one that is using it on the new 4.1 xcart gold?
or is there a update?
Tom
__________________
Xcart Gold 4.7.5 X-Affiliate, Add-on: X-Configurator, Add-on: X-SpecialOffers, Add-on: X-AOM, On Sale, EBay add on, Traffic Monitor, Froogle Feed, Drop Shipper, Newslist Manager, Product Options Copier 1.0, BCS Customer Reward Points, BCS Refer points, Ad Banner, PAYPAL PRO, Blue Dream, Drop Shipper bcse gallery
Reply With Quote
  #55  
Old 04-20-2006, 08:36 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default Re: ROOT HTML CATALOG for Xcart gold 4.1

Quote:
Originally Posted by tntdesigns
Fatal error: Cannot redeclare func_mkdir() (previously declared in /home/tntdance/public_html/store/admin/html_catalog.php:123) in /home/tntdance/public_html/store/include/func/func.files.php on line 660

Seems like your tring to redefine an existing function, on one of the function declerations I would use:
Code:
if (!function_exists('func_mkdir') { ... }

To prevent the error, or simply remove one of the older functions.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #56  
Old 04-20-2006, 09:03 AM
 
tntdesigns tntdesigns is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Plam Beach, FL
Posts: 137
 

Default ROOT HTML CATALOG for Xcart gold 4.1

Boomer.
do you mean if I edit "func.files.php"

with this code

if (!function_exists('func_mkdir') {
...
}


it should allow root html to work on xcart gold 4.1

Tom
__________________
Xcart Gold 4.7.5 X-Affiliate, Add-on: X-Configurator, Add-on: X-SpecialOffers, Add-on: X-AOM, On Sale, EBay add on, Traffic Monitor, Froogle Feed, Drop Shipper, Newslist Manager, Product Options Copier 1.0, BCS Customer Reward Points, BCS Refer points, Ad Banner, PAYPAL PRO, Blue Dream, Drop Shipper bcse gallery
Reply With Quote
  #57  
Old 05-04-2006, 08:48 PM
 
timbrrr timbrrr is offline
 

eXpert
  
Join Date: Feb 2006
Posts: 277
 

Default

Reading thru this, I haven't seen anyone else asking this... When the html catalog is generated in the root, you then have two index files, one .php, one .html. Ok, now, when I tried this, it works fine when I go into the store with a freshly opened browser. I start shopping, pick out an item, go to checkout, then login..and have the cart contents listed on the screen.
BUT say I decided I wasn't ready to check out yet and decided to keep shopping, and click on my logo at the top or the "Home" link at the top.... I'm taken back to the HTML index page, and over on the right, it treats me as if I am not logged in... If I follow up with adding another item to the cart, it jumps back to .php and see's me as logged in again. Though I know whats going on, it might be a little bit confusing for a customer at this point.
Anyone else seen this or have a workaround

Thanks!
__________________
X-Cart Gold 4.6.3
Codero dedicated server
Reply With Quote
  #58  
Old 05-04-2006, 09:24 PM
 
tntdesigns tntdesigns is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Plam Beach, FL
Posts: 137
 

Default

Well, it was our host ipowerweb the server had all kinds of bugs.
put me in hell for over a week thinking I did somthing wrong.
All is good after I have them move us to a new server.
Thanks
Tom
__________________
Xcart Gold 4.7.5 X-Affiliate, Add-on: X-Configurator, Add-on: X-SpecialOffers, Add-on: X-AOM, On Sale, EBay add on, Traffic Monitor, Froogle Feed, Drop Shipper, Newslist Manager, Product Options Copier 1.0, BCS Customer Reward Points, BCS Refer points, Ad Banner, PAYPAL PRO, Blue Dream, Drop Shipper bcse gallery
Reply With Quote
  #59  
Old 05-05-2006, 04:06 AM
 
timbrrr timbrrr is offline
 

eXpert
  
Join Date: Feb 2006
Posts: 277
 

Default

Quote:
Originally Posted by tntdesigns
Well, it was our host ipowerweb the server had all kinds of bugs.
put me in hell for over a week thinking I did somthing wrong.
All is good after I have them move us to a new server.
Thanks
Tom

ahhh.. another ipowerweb sufferer.... Just left there a week ago with what sounds like the same server you were on... I can honestly say I would never recomend that hosting company for anyone using xcart or any other shopping cart software..... They might be sufficient for posting your family photos on a static page, but for real time shopping cart action... not a mistake I will make again.
Run far, run fast, and don't look back.....
__________________
X-Cart Gold 4.6.3
Codero dedicated server
Reply With Quote
  #60  
Old 05-05-2006, 04:49 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Yang, just looked at your site.

Whats the sexytetki virus link thats on it???

http://www.cartsntools.com/XCart-Skins-for-XCart-40X-K2R-p-16133.html
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:08 AM.

   

 
X-Cart forums © 2001-2020