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

error start number of pagination

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-31-2014, 05:19 PM
 
Chheang Leng Chheang Leng is offline
 

Advanced Member
  
Join Date: Jun 2014
Posts: 86
 

Default error start number of pagination

Hi x-cart team!!!

My site have some problem after I upgrade site. In site have error start number of pagination it was start from number two. Please help to fix
__________________
X-Cart Business
Version: 5.1.8
Website: www.cdworlds.com
Reply With Quote
  #2  
Old 11-03-2014, 04:13 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: error start number of pagination

Hi Chheang!

Do you have any PHP errors in the <X-Cart>/var/log/ folder?
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #3  
Old 11-03-2014, 06:24 PM
 
Chheang Leng Chheang Leng is offline
 

Advanced Member
  
Join Date: Jun 2014
Posts: 86
 

Default Re: error start number of pagination

Hi Tony!

I have some error at php_errors.log.2014-11-04.php
Quote:
<?php die(1); ?>
[04-Nov-2014 00:00:24 UTC] PHP Notice: Trying to get property of non-object in /home/www/cdworlds.com/top.inc.additional.php on line 31
this top.inc.additional.php on line 31
Quote:
define('LC_USE_CLEAN_URLS', \XLite\Core\Config::getInstance()->CleanURL->clean_url_flag);
this file: access.log.2014-11-04.php
Quote:
<?php die(); ?>
[00:05:00.000000] Controller class not found!
Runtime id: 4fd22c93554f54fc51a497de9c803a0b
SAPI: cgi-fcgi; IP: 100.43.81.149
URI: /?category_id=16&product_id=5&target=product_review s
Method: GET

[00:37:59.000000] Controller class not found!
Runtime id: 706206434309330aedfe7e8e23177742
SAPI: cgi-fcgi; IP: 100.43.90.8
URI: /?category_id=17&product_id=20&target=product_revie ws
Method: GET
Please help to check!
__________________
X-Cart Business
Version: 5.1.8
Website: www.cdworlds.com
Reply With Quote
  #4  
Old 11-03-2014, 11:22 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: error start number of pagination

In older X-Cart 5 versions the pager internal number started from 0 (page_id parameter). So, for the first page the number was 0.

In one of the recent updates the developers have changed this so now the internal number for the first page is 1.

It may be that your website uses a custom pager template that assumes the pager number starting from 0.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #5  
Old 11-10-2014, 05:42 PM
 
Chheang Leng Chheang Leng is offline
 

Advanced Member
  
Join Date: Jun 2014
Posts: 86
 

Default Re: error start number of pagination

Hi X-Man!!!

Please tell me step by step to fix then. I difficult to fix then because x-cart have many file. I looking you to tell me
__________________
X-Cart Business
Version: 5.1.8
Website: www.cdworlds.com
Reply With Quote
  #6  
Old 11-11-2014, 07:33 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: error start number of pagination

Hi Chheang!

Please post a support request about this issue via support@x-cart.com.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote

The following user thanks tony_sologubov for this useful post:
qualiteam (11-11-2014)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 01:02 AM.

   

 
X-Cart forums © 2001-2020