Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Thanks for response Dr Byte,
It seems working fine. I am getting error if some one open website on mobile.
Error
Hi, Getting this errors.
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 113
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 114
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 116
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 117
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 113
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 114
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 116
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 117
Regards
Mandeep
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
Mandeep
It seems working fine. I am getting error if some one open website on mobile.
Error
Hi, Getting this errors.
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 113
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 114
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 116
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 117
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 113
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 114
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 116
[16-Jul-2016 07:18:15 Canada/Mountain] PHP Warning: Division by zero in /home/public_html/includes/classes/split_page_results.php on line 117
It seems as though that file is damaged, because it's pretty much impossible for the official contents of that file to create those kinds of errors on those consecutive line numbers, unless the file has been altered or damaged.
Did you actually upgrade to 155?
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
No, did upgraded to 1.5.5, as i am using 1.5.4 which is available at godaddy. and did lots of acculturation.
This seems coming from here. i an thinking to wrap this processing code in a conditional so it doesn't run when first open the page.
$cur_window_num = intval($this->current_page_number / $max_page_links);
if ($this->current_page_number % $max_page_links) $cur_window_num++;
$max_window_num = intval($this->number_of_pages / $max_page_links);
if ($this->number_of_pages % $max_page_links) $max_window_num++;
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Sorry, No, did not upgraded to 1.5.5, as i am using 1.5.4 which is available at godaddy. and I did lots of alteration .
This seems coming from here. i am thinking to wrap this processing code in a conditional so it doesn't run when first open the page.
$cur_window_num = intval($this->current_page_number / $max_page_links);
if ($this->current_page_number % $max_page_links) $cur_window_num++;
$max_window_num = intval($this->number_of_pages / $max_page_links);
if ($this->number_of_pages % $max_page_links) $max_window_num++;
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
The "responsive classic" template is designed for ZC v1.5.5, and is NOT compatible with ZC v1.5.4.
There ARE numerous other template addons for v1.5.4 which are responsive.
If you are using v1.5.4 then your ongoing problems should be discussed in a separate new discussion thread, not in this one about Responsive Classic in v1.5.5.
I suspect your problems are a result of a bad install. Perhaps you should ask GoDaddy to upgrade their Zen Cart install to a modern version.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
For some reason, the login page's onload processing no longer places focus on the login form's email_address field. Is that, perhaps, a change in HTML5 handling?
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
lat9
For some reason, the login page's onload processing no longer places focus on the login form's email_address field. Is that, perhaps, a change in HTML5 handling?
Even weirder, on my local non-SSL XAMPP installation, the focus occurs properly. The same file-set, running in a subfolder in an SSL-enabled site, does not perform the focus.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
lat9
For some reason, the login page's onload processing no longer places focus on the login form's email_address field. Is that, perhaps, a change in HTML5 handling?
It's no longer using "onload" events. It's simply using the HTML5 "autofocus" attribute. I guess if the browser doesn't support HTML5 then that feature is lost for those lagging behind.
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
DrByte
It's no longer using "onload" events. It's simply using the HTML5 "autofocus" attribute. I guess if the browser doesn't support HTML5 then that feature is lost for those lagging behind.
Hmm, I see that the focus is being placed when using Chrome and IE-11 (!), but not with FireFox (47.0).
Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
Quote:
Originally Posted by
lat9
Hmm, I see that the focus is being placed when using Chrome and IE-11 (!), but not with FireFox (47.0).
Just tested on FF 47.0.1 (Mac), and the focus is auto-set to the email field when I access the login page.