Post by Jaap » Sun May 15, 2022 2:21 am

Navigating on a category page to cat. page 2 works.
However returning by clicking on the number 1 at the bottom of category page 2 gives a HTTP error 500.

Somebody familiar with a solution?
OC 2.3.0.2
Default theme

User avatar
Active Member

Posts

Joined
Fri Apr 15, 2011 12:10 am
Location - the Netherlands

Post by straightlight » Sun May 15, 2022 6:36 am

Jaap wrote:
Sun May 15, 2022 2:21 am
Navigating on a category page to cat. page 2 works.
However returning by clicking on the number 1 at the bottom of category page 2 gives a HTTP error 500.

Somebody familiar with a solution?
OC 2.3.0.2
Default theme
Server error logs.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Jaap » Sun May 15, 2022 3:09 pm

2022-05-15 7:06:45 - PHP Unknown: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /home/lintenkopen/keperband.nl/catalog/model/catalog/product.php on line 45

User avatar
Active Member

Posts

Joined
Fri Apr 15, 2011 12:10 am
Location - the Netherlands

Post by straightlight » Sun May 15, 2022 11:32 pm

Jaap wrote:
Sun May 15, 2022 3:09 pm
2022-05-15 7:06:45 - PHP Unknown: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /home/lintenkopen/keperband.nl/catalog/model/catalog/product.php on line 45
What is on line 45 of that model file?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Jaap » Mon May 16, 2022 3:32 pm

'jan' => $query->row['jan'],

User avatar
Active Member

Posts

Joined
Fri Apr 15, 2011 12:10 am
Location - the Netherlands

Post by WaxedPerfection » Mon May 16, 2022 4:48 pm

Are you using php 8.0 or later PHP Version 8.1.1 by any chance?.

https://www.waxedperfection.co.uk/ Car Detailing Product Blog's and Review's


Active Member

Posts

Joined
Sun Mar 26, 2017 8:23 pm

Post by Jaap » Mon May 16, 2022 6:51 pm

No, 7.4

User avatar
Active Member

Posts

Joined
Fri Apr 15, 2011 12:10 am
Location - the Netherlands

Post by WaxedPerfection » Mon May 16, 2022 7:02 pm

is this your site as it seems to be working for me https://lintenkopen.nl/

going from page 1 to 2 and back to 1 and again to 2 and then back to 1.

https://lintenkopen.nl/smal-lint/page/1/
https://lintenkopen.nl/smal-lint/page/2/
https://lintenkopen.nl/smal-lint/page/3/

https://www.waxedperfection.co.uk/ Car Detailing Product Blog's and Review's


Active Member

Posts

Joined
Sun Mar 26, 2017 8:23 pm

Post by Jaap » Mon May 16, 2022 9:21 pm

No the issue is on https://keperband.nl

User avatar
Active Member

Posts

Joined
Fri Apr 15, 2011 12:10 am
Location - the Netherlands

Post by ADD Creative » Tue May 17, 2022 12:36 am

You need to check your PHP or server error log, not the OpenCart one.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by IP_CAM » Tue May 17, 2022 1:29 am

You seem to use some kind of SEO linking, and it does not work as planned.

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by WaxedPerfection » Tue May 17, 2022 3:32 am

Fix category pagination for 2.3.0.2 OCMOD

https://www.opencart.com/index.php?rout ... n_id=33989

When you go to page 2, 3 etc. the link to the first page becomes "page={page}" which is not the correct address.
This module corrects that error and makes the link for the first page to point to the category url address (without parameters in it).
It also fixes the "back" button and the "first page" button to point to the correct url.

https://www.waxedperfection.co.uk/ Car Detailing Product Blog's and Review's


Active Member

Posts

Joined
Sun Mar 26, 2017 8:23 pm

Post by WaxedPerfection » Tue May 17, 2022 4:06 am


https://www.waxedperfection.co.uk/ Car Detailing Product Blog's and Review's


Active Member

Posts

Joined
Sun Mar 26, 2017 8:23 pm
Who is online

Users browsing this forum: No registered users and 59 guests