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

X-Cart Ability Template v4.4.x

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #361  
Old 08-05-2012, 10:52 AM
 
kevbentz kevbentz is offline
 

Member
  
Join Date: Dec 2011
Posts: 15
 

Default Re: X-Cart Ability Template v4.4.x

I started getting this error:

SQL query : select categoryid, category from xcart_categories where categoryid in () order by category
Error code : 1064
Description : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') order by category' at line 1
Request URI: /cart.php?mode=add&productid=137164&amount=1
Backtrace:
/include/func/func.db.php:303
/include/func/func.db.php:203
/include/func/func.db.php:483
/ability_minicart_content.php:33
/include/common.php:98 /cart.php:614
-------------------------------------------------

This particular query is found in ability_minicart_content.php on line 33:
Code:
$cart_categories1 = func_query("select categoryid, category from $sql_tbl[categories] where categoryid in (".$cat_list.") order by category");

I'm by no means an expert, so I can't figure out what is causing this but it appears to be something in the ".$cat_list." as indicated by the error:
Code:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') order by category' at line 1

I'm running MySQL 5.1.

Thank you
__________________
X-Cart 5.3.6
Reply With Quote
  #362  
Old 08-08-2012, 08:51 AM
 
qwerty qwerty is offline
 

Advanced Member
  
Join Date: Aug 2006
Location: UK
Posts: 94
 

Default Re: X-Cart Ability Template v4.4.x

hi phil
I submitted a support ticket that has been sitting unanswered for a while.
ID: MM14PSB7TE
__________________
x cart v 5.2.10
ver 4.7.7 Gold Plus
Reply With Quote
  #363  
Old 08-09-2012, 04:08 AM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Talking Re: X-Cart Ability Template v4.4.x

Quote:
Originally Posted by qwerty
hi phil
I submitted a support ticket that has been sitting unanswered for a while.
ID: MM14PSB7TE

He's busy with Adapt, leave him be!

On a serious note, he'll answer it soon enough so don't worry, if I can help shoot me a PM or reply on here. Last time I spoke to him he was very busy.
__________________
Xcart 4.5.2
Reply With Quote
  #364  
Old 08-09-2012, 04:30 AM
 
PhilJ PhilJ is offline
 

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

Default Re: X-Cart Ability Template v4.4.x

Quote:
hi phil
I submitted a support ticket that has been sitting unanswered for a while.
ID: MM14PSB7TE


Already dealt with, thanks.
__________________
xcartmods.co.uk
Reply With Quote
  #365  
Old 08-09-2012, 02:19 PM
 
PhilJ PhilJ is offline
 

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

Default Re: X-Cart Ability Template v4.4.x

Hi folks, well our new responsive template, Adapt is nearly here!

You can try out the demo here, although I'm still testing, fixing odd minor things and documenting. A full write up will follow in a separate thread.

A few admin screenshots - One - Two - Three

Phil
__________________
xcartmods.co.uk
Reply With Quote
  #366  
Old 08-10-2012, 03:40 AM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Default Re: X-Cart Ability Template v4.4.x

Quote:
Originally Posted by PhilJ
Hi folks, well our new responsive template, Adapt is nearly here!

You can try out the demo here, although I'm still testing, fixing odd minor things and documenting. A full write up will follow tomorrow (Friday) in a separate thread.

A few admin screenshots - One - Two - Three

Phil

Talk about going overboard! Man it looks great and by those pics there is a lot of features with this template. P.s just tested this out on my iphone and my girlfriends Ipad and it works excellent. Guess I have some work to do to upgrade my old site! Saves me a few hundred/thousand for a mobile skin too!

I have my weekend sorted!
__________________
Xcart 4.5.2
Reply With Quote
  #367  
Old 08-10-2012, 07:36 AM
 
kevbentz kevbentz is offline
 

Member
  
Join Date: Dec 2011
Posts: 15
 

Default Re: X-Cart Ability Template v4.4.x

Quote:
Originally Posted by kevbentz
I started getting this error:

SQL query : select categoryid, category from xcart_categories where categoryid in () order by category
Error code : 1064
Description : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') order by category' at line 1
Request URI: /cart.php?mode=add&productid=137164&amount=1
Backtrace:
/include/func/func.db.php:303
/include/func/func.db.php:203
/include/func/func.db.php:483
/ability_minicart_content.php:33
/include/common.php:98 /cart.php:614
-------------------------------------------------

This particular query is found in ability_minicart_content.php on line 33:
Code:
$cart_categories1 = func_query("select categoryid, category from $sql_tbl[categories] where categoryid in (".$cat_list.") order by category");

I'm by no means an expert, so I can't figure out what is causing this but it appears to be something in the ".$cat_list." as indicated by the error:
Code:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') order by category' at line 1

I'm running MySQL 5.1.

Thank you

I've edited the code and the error went away...

code should read:
Code:
$cart_categories1 = func_query("select categoryid, category from $sql_tbl[categories] where categoryid in ('".$cat_list."') order by category");
__________________
X-Cart 5.3.6
Reply With Quote
  #368  
Old 08-11-2012, 12:18 AM
 
Pitak Pitak is offline
 

Advanced Member
  
Join Date: Jun 2012
Posts: 87
 

Default Re: X-Cart Ability Template v4.4.x

Phil, I visit your demo site for the adapt template and the pages do not scroll smoothly. I tried it on both firefox 14.0.1 and IE 9 on Windows 7. On the other hand, it works great on the ipad2.

FYI , the demo for the ability template is scrolling fine - a little jerkily but at an acceptable level. And I'm using a relatively fast computer.

Can you fix this on the adapt template?
__________________
X-Cart Gold Plus v4.6.6
xcartmods.co.uk reBOOT Template v3.52
Reply With Quote
  #369  
Old 08-11-2012, 03:41 AM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Talking Re: X-Cart Ability Template v4.4.x

Quote:
Originally Posted by Pitak
Phil, I visit your demo site for the adapt template and the pages do not scroll smoothly. I tried it on both firefox 14.0.1 and IE 9 on Windows 7. On the other hand, it works great on the ipad2.

FYI , the demo for the ability template is scrolling fine - a little jerkily but at an acceptable level. And I'm using a relatively fast computer.

Can you fix this on the adapt template?

You know there is a key difference between Ability and Adapt right? Adapt is responsive, hence why it works on an Ipad and Iphone very well, the reason it won't scroll 'smooth' is because it is responsive. I'm a very fussy person and this didn't even enter my mind.

FYI, view any responsive template, it'll scroll the same way.
__________________
Xcart 4.5.2
Reply With Quote

The following user thanks JacksmithxD for this useful post:
PhilJ (08-11-2012)
  #370  
Old 08-11-2012, 03:49 AM
 
PhilJ PhilJ is offline
 

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

Default Re: X-Cart Ability Template v4.4.x

Thanks Pitak, duly noted, I will look into this.
__________________
xcartmods.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 09:46 AM.

   

 
X-Cart forums © 2001-2020