Zen Cart Logo
Forums / Bug Reports / [Closed] FEEDBACK ON BETA of v1.5.5

[Closed] FEEDBACK ON BETA of v1.5.5

Locked

Views: 76,913

Results 281 to 300 of 461
This thread is locked. New replies are disabled.
9 Jan 2016, 10:14 PM
#281
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

[Closed] FEEDBACK ON BETA of v1.5.5

DrByte:

So ... despite the absence of much feedback, changes to support HTML5 and fix (important) validation errors have now been built-in to the new responsive_classic template. So responsive_classic is HTML5 out-of-the-box.

Further, template_default also passes HTML5 validation (if the html_header is changed to output HTML5 headers).
The changes to template_default were basically just to move a lot of table-related markup into CSS. While template_default does still contain a "layout" table in tpl_main_page, for the most part the rest of template_default uses tables just for actual tabular data.

Nice move!!!!! I gave my thumbs up opinion for HTML5 a few pages back.. Glad that you guys made the move anyway.. I say that ANYPLACE ya'll can modernize is ALWAYS gonna be a good thing.. the key is that you are addressing the IMPORTANT validation errors.. EVERY validation error doesn't necessarily need to be run down.. The validator is supposed to be a GUIDELINE anyway not GOSPEL..

10 Jan 2016, 4:29 AM
#282
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Closed] FEEDBACK ON BETA of v1.5.5

dbltoe:

First time to test this new one and decided to start with one of our dinosaurs at 1.3.9.
<opinion>Most of the world doesn't read centered text that well. Can't we make the default something else? </opinion>
First of all, my trifocals had problems with the Super Temp Password. Using 1, l, I, 0, and O are not always as legible as they are here on the forum. I finally gave up and started over. Granted I could have done a capture or copy but, I think the user will not stop to do so.
Next was the database upgrade. Since I have Navicat, it's easy to drop the new and bring in the old. Using zc_install, the upgrade went without incident until I got the green bar stating "Upgrade to version 1.5.3 completed". The next bar is red and states, "Could not update to version 1.5.4. We detect that you currently have 1.5.2, and must perform the updates to get to version 1.5.3 first."
Beneath that is the heading, "Please confirm your desired upgrade steps" followed by two entries both of which are checked. 1.5.3 to 1.5.4 and 1.5.4 to 1.5.5.
I understand the difference between passwords in versions 1.5.# And originally thought I would use the super user currently in a 1.5.4 site. That did not work. I then thought that the conflicting version statements might be the problem.
I went back to the site's install and went through the upgrade option once again.
This time, I'm told that the database is NOT at 1.53 and will need to go to 1.5.3, then 1.5.4, to 1.5.5. AND, nothing I do to change the User Name and Password will satisfy the Admin Credentials for upgrade. Not even the Admin admin suggested in the link for reset.
Odd part is that, using the user from a 1.5.4 site, I am able to access both the store and admin. The admin, of course, states that I should upgrade. BUT, the Tools menu, Server/Version Info states that I am sitting at Database Patch Level: 1.5.3


Server Information
|

Server Host: host.mysite.com (...)
Server OS: Linux 2.6.32-504.3.3.el6.x86_64
Server Date: 01/07/2016 20:19:22
Server Up Time: 20:19:22 up 369 days, 8:30, 0 users, load average: 0.29, 0.14, 0.06
HTTP Server: Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 PHP/5.4.36
PHP Version: 5.4.36 (Zend: 2.4.0)
PHP File Uploads: On Upload Max Size:2M
PHP Memory Limit: 128M
POST Max Size: 8M |
Database: MySQL 5.5.47-cll
Database Host: mysite.com (
.
..**)
Database Date: 01/07/2016 20:19:22
Database Data Size: 13,371 kB
Database Index Size: 1,032 kB
MySQL Slow Query Log Status: On
MySQL Slow Query Log File: /var/lib/mysql/host-slow.log
MySQL Mode: |

dbltoe, I've spent the better part of the day simulating upgrades of various combinations. Unfortunately I've not been able to trigger these same symptoms.
But, in the interest of attempting to detect upgrade options more reliably, I've added some more inspection cases which may help the installer know better when it needs to do a particular step.
I've not been able to make the upgrader reject my password unless I actually go and mangle it in the db, even when testing by starting with various different older versions from real live site databases.
I may have to try to find a server running exactly PHP 5.4.36 and MySQL 5.5.47 to get a more exact simulation ... but I'm not optimistic about that.

10 Jan 2016, 7:45 AM
#283
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Closed] FEEDBACK ON BETA of v1.5.5

frank18:

Ok, first upgrade attempt.Many thanks for testing this and giving your detailed feedback. Much appreciated!

frank18:

Then loaded http://192.168.0.20/onefivefiveupgradetest/admin-test/ and got this:

Attachment 15941

The interesting bit is that the address jumps from http:// to https:// and I did not enable SSL during the installation or upgrade procedure.I'm curious why it switched to SSL.

  • What's your HTTP_SERVER setting in your admin configure.php?
  • Did the installer incorrectly set that to an https URL?

When running zc_install, one of the first things it attempts to do is run itself over SSL if possible, by testing whether the https URL to your zc_install responds as valid, and then redirects to https. This allows for secure passing of all settings data on servers that support it.
But, if it can't run itself over https, it shouldn't force your Admin URL to be https ... unless you didn't see that it had put https in there for some reason.

Most of my test environments are using SSL now, especially since Let's Encrypt makes SSL free.
I just tested using the same steps as you outlined, and even tried a few different no-SSL-possible VMs of different configurations, and can't seem to trigger your symptoms.

One unique case you raise that I seldom test in is an IP-Address-only domain. There's been a long-standing issue with that, and I may have identified a solution. A pull-request is being submitted tonight, and will hopefully be merged tomorrow afternoon.
But, that situation wasn't related to "flipping your admin into SSL unexpectedly". ... that still feels more like the configure.php file got an https in it somehow.

frank18:

So I searched the DB for 'SSL' and in the table configuration I found these entries:
configuration_key SSLPWSTATUSCHECK was set with configuration_title 'login mode https'That's a display-only "title", so editing it wouldn't solve the https redirect.
That said, there was a separate bug related to that setting, which has been fixed in the latest code up on github.

10 Jan 2016, 9:09 AM
#284
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: [Closed] FEEDBACK ON BETA of v1.5.5

DrByte:

Many thanks for testing this and giving your detailed feedback. Much appreciated!

Thanks DrByte.

DrByte:

I'm curious why it switched to SSL.

  • What's your HTTP_SERVER setting in your admin configure.php?
  • Did the installer incorrectly set that to an https URL?....

LOL, me too.

After posting I checked the HTTP_SERVER setting and it was indeed set to

define('HTTP_SERVER', 'https://192.168.0.20');

I changed that to

define('HTTP_SERVER', 'http://192.168.0.20');

and (as expected) manged to get into the admin in a flash.

Why it configured itself to https I just don't know, that's the bit which puzzled me as I never enable SSL when I install a test or development version on my local server, be it for my own use or for the development of a client site.

BTW, since running this local dev server all my local sites had/have the setting

define('HTTP_SERVER', 'http://192.168.0.20');

and I never had a problem with this. Goes back to 1.3.8a sites.

BTW, is it intentional that the admin name does not automatically change from admin to something else during an upgrade? I was very pleased to see this happening during a fresh install, saves another step in setting up a new site.

10 Jan 2016, 6:13 PM
#285
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,791
Plugin Contributions:
14

Re: [Closed] FEEDBACK ON BETA of v1.5.5

DrByte:

I may have to try to find a server running exactly PHP 5.4.36 and MySQL 5.5.47 to get a more exact simulation ... but I'm not optimistic about that.Wasn't my intent to keep you from other endeavors. Won't be able to do a retry till Tuesday but, if you need it, I will gladly give you full access to the server/site. Easy to do as we are the host.

10 Jan 2016, 6:37 PM
#286
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,695
Plugin Contributions:
56

Re: [Closed] FEEDBACK ON BETA of v1.5.5

Note that PHP 5.4 is past end of life. http://php.net/supported-versions.php

10 Jan 2016, 7:14 PM
#287
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Closed] FEEDBACK ON BETA of v1.5.5

frank18:

BTW, is it intentional that the admin name does not automatically change from admin to something else during an upgrade? I was very pleased to see this happening during a fresh install, saves another step in setting up a new site.
Yes, during an upgrade it leaves the directory name alone.

10 Jan 2016, 10:47 PM
#288
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,695
Plugin Contributions:
56

Re: [Closed] FEEDBACK ON BETA of v1.5.5

Question: Should the value of the default template change to responsive_classic after zc_install is run in upgrade mode?

(not sure if this would be more intuitive or not ... just an idea.)

11 Jan 2016, 1:10 PM
#289
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,086
Plugin Contributions:
56

Re: [Closed] FEEDBACK ON BETA of v1.5.5

swguy:

Question: Should the value of the default template change to responsive_classic after zc_install is run in upgrade mode?

(not sure if this would be more intuitive or not ... just an idea.)
OMG! Please, no!

That would have many plugin-related implications, since the ***assumption ***made by plugins to-date is that any template-related changes are relative to good ol' classic-green.

11 Jan 2016, 3:47 PM
#290
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Closed] FEEDBACK ON BETA of v1.5.5

swguy:

Question: Should the value of the default template change to responsive_classic after zc_install is run in upgrade mode?
Nope.

Upgrades are independent of the template, and have no requirement to use the responsive_classic template at all.

(That said, just like in the past, alterations in template_default files should still be replicated into whatever template one is actually using, as part of the normal upgrade of PHP/CSS/JS files.)

12 Jan 2016, 7:50 PM
#291
mani avatar

mani

New Zenner

Join Date:
Aug 2008
Location:
Abbottabad, Pakistan
Posts:
62
Plugin Contributions:
0

Re: [Closed] FEEDBACK ON BETA of v1.5.5

Whats new in 1.5.5? Just a new responsive classic template or anything else as well? when is 1.6 coming, its been ages I am waiting for it!

12 Jan 2016, 8:01 PM
#292
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,791
Plugin Contributions:
14

Re: [Closed] FEEDBACK ON BETA of v1.5.5

swguy:

Note that PHP 5.4 is past end of life. http://php.net/supported-versions.phpFully aware but, we do have customers that have been unable to upgrade for one reason or another. We are in the process of strongly suggesting they upgrade or move on. We will not be able to maintain their server at this level for much longer.

MEANWHILE.... Back at the problems with the 1.3.9h to 1.5.5 upgrade...
When doing:

  1. complete new install of 1.5.5 zip using download from last night.
  2. new database populated by 1.5.5 install
  3. delete tables on new install
  4. import tables from old site
  5. run database upgrade using zc_install
  6. upgrade stops saying we are not at 1.5.3 and cannot upgrade to 1.5.4
  7. backing up to the zc_install directory and selecting database upgrade once again.
  8. Get Attachment 15947
  9. Go to admin and get Attachment 15948
  10. Look at database with Navicat and get Attachment 15949
    Nothing we do can get us past this point.
13 Jan 2016, 12:05 AM
#293
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: [Closed] FEEDBACK ON BETA of v1.5.5

mani:

Whats new in 1.5.5? Just a new responsive classic template or anything else as well? when is 1.6 coming, its been ages I am waiting for it!

For "What's New" see https://www.zen-cart.com/docs/whatsnew_1.5.5.html

ZC 1.6 will be coming when it's ready. The devs are working to release 1.5.5 in a week or 2.
ZC 1.5.5 is a stepping stone to ZC 1.6

13 Jan 2016, 4:28 PM
#294
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Closed] FEEDBACK ON BETA of v1.5.5

dbltoe:

  1. .
  1. .
  1. .
  1. .
  1. run database upgrade using zc_install
  1. upgrade stops saying we are not at 1.5.3 and cannot upgrade to 1.5.4
  1. backing up to the zc_install directory and selecting database upgrade once again.
  1. Get Attachment 15947
  1. Go to admin and get Attachment 15948
  1. Look at database with Navicat and get Attachment 15949

Nothing we do can get us past this point.
There are 2 things at play here:

  • the actual SQL changes in the 152-to-153 upgrade .sql file .... vs what's actually/already in your database
  • the "inspection" criteria in the zc_install/includes/systemChecks.yml file

For some reason the checks in the yml file are failing to confirm that the changes normally made in the db upgrade to 153 are actually in your db.
That could be because there's a SQL error happening when it tried to install them (your admin suggests that the 153 steps were done at least once, so we know that it at least ran that 153 sql file). Maybe there's something in the upgrade-exceptions table, or in your /logs/ folder?
Perhaps you had some of the v153 db changes already in your database but they've been altered slightly such that the inspection is failing? If this is the case, I'd be interested in knowing which those were, in case others are likely to have done those changes too for some reason, such as a plugin or otherwise ... so we can change which inspections are done, or at least "how" they're done.

15 Jan 2016, 12:23 AM
#295
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: [Closed] FEEDBACK ON BETA of v1.5.5

The banner image size in the sidebox:

<img [B]width="140" height="220"[/B] title=" eStart Your Web Store with Zen Cart(R) " alt="eStart Your Web Store with Zen Cart(R)" src="images/banners/tall-book.gif">

makes a small h-scroll under 1024px.

I know it will be changed, but I guess it gets the width and height from the image, and outputs it in the code, in which case it's not ideal.

Anyhow I tried changing the banner image and when updating the banner I got:
WARNING: An Error occurred, please refresh the page and try again.

15 Jan 2016, 1:19 AM
#296
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: [Closed] FEEDBACK ON BETA of v1.5.5

keneso:

......
Anyhow I tried changing the banner image and when updating the banner I got:
WARNING: An Error occurred, please refresh the page and try again.

Did you check your /logs folder for relevant entries?

15 Jan 2016, 5:15 AM
#297
lucidlee avatar

lucidlee

Zen Follower

Join Date:
Aug 2005
Location:
Bondi, Australia
Posts:
101
Plugin Contributions:
0

Re: [Closed] FEEDBACK ON BETA of v1.5.5

This is only minor but still annoying and only really apparent if the breadcrumb panel is coloured other than white:

15 Jan 2016, 9:15 AM
#298
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: [Closed] FEEDBACK ON BETA of v1.5.5

frank18:

Did you check your /logs folder for relevant entries?

[15-Jan-2016 01:14:12 Europe/Rome] Request URI: /zen-155/aadmin/banner_manager.php?page=1&action=upd, IP address: ::1
#1 trigger_error() called at [C:...path-to...\zen-155\includes\classes\db\mysql\query_factory.php:167]
#2 queryFactory->show_error() called at [C:...path-to...\zen-155\includes\classes\db\mysql\query_factory.php:139]
#3 queryFactory->set_error() called at [C:...path-to...\zen-155\includes\classes\db\mysql\query_factory.php:266]
#4 queryFactory->Execute() called at [C:...path-to...\zen-155\aadmin\banner_manager.php:143]

[15-Jan-2016 01:14:12 Europe/Rome] PHP Fatal error: 1292:Incorrect datetime value: 'null' :: UPDATE banners

              SET

                date_scheduled = DATE_ADD('null', INTERVAL '00:00:00' HOUR_SECOND),

                expires_date = DATE_ADD('null', INTERVAL '23:59:59' HOUR_SECOND),

                expires_impressions = null

                WHERE banners_id = 8 ==> (as called by) C:\...path-to...\zen-155\aadmin\banner_manager.php on line 143 <== in C:\...path-to...\zen-155\includes\classes\db\mysql\query_factory.php on line 167
15 Jan 2016, 3:00 PM
#299
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: [Closed] FEEDBACK ON BETA of v1.5.5

lucidlee:

This is only minor but still annoying and only really apparent if the breadcrumb panel is coloured other than white:

Remove the margin-top from the .naNextPrevWrapper

Thanks,

Anne

15 Jan 2016, 7:18 PM
#300
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Closed] FEEDBACK ON BETA of v1.5.5

keneso:

[15-Jan-2016 01:14:12 Europe/Rome] Request URI: /zen-155/aadmin/banner_manager.php?page=1&action=upd, IP address: ::1
#1 trigger_error() called at [C:...path-to...\zen-155\includes\classes\db\mysql\query_factory.php:167]
#2 queryFactory->show_error() called at [C:...path-to...\zen-155\includes\classes\db\mysql\query_factory.php:139]
#3 queryFactory->set_error() called at [C:...path-to...\zen-155\includes\classes\db\mysql\query_factory.php:266]
#4 queryFactory->Execute() called at [C:...path-to...\zen-155\aadmin\banner_manager.php:143]

[15-Jan-2016 01:14:12 Europe/Rome] PHP Fatal error: 1292:Incorrect datetime value: 'null' :: UPDATE banners

              SET

                date_scheduled = DATE_ADD('null', INTERVAL '00:00:00' HOUR_SECOND),

                expires_date = DATE_ADD('null', INTERVAL '23:59:59' HOUR_SECOND),

                expires_impressions = null

                WHERE banners_id = 8 ==> (as called by) C:\...path-to...\zen-155\aadmin\banner_manager.php on line 143 <== in C:\...path-to...\zen-155\includes\classes\db\mysql\query_factory.php on line 167

What PHP and MySQL versions are you using on that Windows computer?