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 421 to 440 of 461
This thread is locked. New replies are disabled.
14 Mar 2016, 1:32 PM
#421
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

[Closed] FEEDBACK ON BETA of v1.5.5

Admin Edit Product->Preview screen strips slashes.
This is simply opening the edit product page, then continuing to Preview. At this point the image will be missing as the slashes have been removed from the path, saving the changes will save the now-incorrect paths as shown.

Before:
Attachment 16102

After
Attachment 16103

  **Server OS:**  Windows NT E5540 6.2 build 9200 (Windows 8 Business Edition) i586
  **HTTP Server:** Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8
  **PHP Version:** 5.6.8 (Zend: 2.6.0)
  **Database:** MySQL 5.6.24
14 Mar 2016, 1:39 PM
#422
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

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

Some observations while doing the spanish language pack.

ADMIN
english.php
define('WARNING_SESSION_AUTO_START', 'Warning: session.auto_start is enabled - please disable this PHP feature in php.ini and restart the web server.');
Misleading. True I must restart my local server to apply php changes, but it's not necessary to restart my hosting's web server, nor can I do that.
Suggest
define('WARNING_SESSION_AUTO_START', 'Warning: session.auto_start is enabled - please disable this PHP feature in php.ini. It may be necessary to restart the web server to apply this change.');

admin_activity.php

  1. the "Interpretation of the log data" section is one paragraph with a child ul which is not valid html:
    https://developers.whatwg.org/grouping-content.html#the-p-element

2)Nested ul missing closing li

<li><strong>WARNING</strong> is assigned to CRITICAL things such as removal of payment modules or deletion of admin users. These are activities which might suggest pending trouble if not caught quickly. These should be reviewed very frequently; recommended daily.</li> </ul></li><!-- steve added /li-->

suggest
define('TEXT_INTERPRETING_LOG_DATA', '<p><strong>Interpretation of the log data</strong></p><ul>

<li><strong>Severity</strong> - The standards for logging generally describe severities as follows:<ul> <li><strong>INFO</strong> refers to general activity. This may or may not contain remarkable details.</li> <li><strong>NOTICE</strong> refers to activity which indicates higher privilege was used, and may include things like creating new admin users or adding new payment modules. It also highlights when any data submitted on the web page includes potentially risky content such as script tags or embedded iframes, where malicious content is being added to your products/categories/pages by unhappy employees or an intruder on your site. These should be reviewed regularly for any anomalies such as unauthorized activity.</li> <li><strong>WARNING</strong> is assigned to CRITICAL things such as removal of payment modules or deletion of admin users. These are activities which might suggest pending trouble if not caught quickly. These should be reviewed very frequently; recommended daily.</li> </ul></li> <li><strong>admin_user</strong> - This will show the admin user ID number followed by their admin username. If not logged in, it will show 0.</li> <li><strong>page_accessed</strong> - This will indicate the name of the page visited, thus giving hints to the kind of activity taking place.</li> <li><strong>parameters</strong> - This is the rest of the URI of the page visited, and gives further indication of the kind of activity being attempted by the visitor.</li> <li><strong>flagged</strong> - If this is set to 1, that indicates that you should inspect the content recorded in the "postdata" field for unauthorized entry of script or iframe or other potentially dangerous content. An explanation of suspicious content will be listed in the "attention" field.</li> <li><strong>attention</strong> - This will contain suggestions related to the kind of suspicious activity which should be reviewed in the "postdata" field if flagged. </li> <li><strong>logmessage</strong> - This contains any messages recorded by the system about the activity taking place, such as installation of a certain module.</li> <li><strong>postdata</strong> - This contains the raw POST data (with some sensitive information scrubbed) for easy review in case malicious activity is suspected.</li> </ul>');

attributes_controller.php
define('TABLE_TEXT_MAX_DAYS', 'Expiry days: (0 = unlimited)');
colon should be at end of text
define('TABLE_TEXT_MAX_DAYS', 'Expiry days (0 = unlimited):');

coupon_restrict.php
are these extra spaces necessary?
define('TEXT_INFO_ADD_DENY_ALL', '<strong>For Add all Category Products, only Products not already set for restrictions will be added.<br />
For Delete all Category Products, only Products that are specified Deny or Allow will be removed.</strong>');

modules.php
define('WARNING_MODULES_MISSING_KEYS', '<span class="alert">Missing keys - Save, Remove, Install and Reconfigure</span>');
I assume this means database entries are missing. "Save" would be pointless/misleading as "Remove" will remove whatever has been saved.
Suggest "Note down any configuration values and Remove, Install and reconfigure the module.".

email
email_template_coupon.html
email_template_direct_email.html
email_template_gv_mail.html
email_template_gv_queue.html
email_template_newsletters.html
email_template_order_status.html
email_template_product_notification.html

have hard-coded "Dear" in the templates

CATALOG
includes\languages\english\responsive_classic\button_names.php
missing new constant
define('BUTTON_VIEW_ALL_ALT', 'View All');

\includes\languages\english\shopping_cart.php
define('TEXT_INFORMATION', 'You may proceed with your purchase by clicking the Checkout button below. Shipping and Taxes and Discounts will be handled on subsequent pages.');
Suggest
define('TEXT_INFORMATION', 'You may proceed with your purchase by clicking the "' . BUTTON_CHECKOUT_ALT . '" button below. Shipping and Taxes and Discounts will be handled on subsequent pages.');

14 Mar 2016, 1:39 PM
#423
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

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

And this also happens with the url, according to your images.

torvista:

Admin Edit Product->Preview screen strips slashes.
This is simply opening the edit product page, then continuing to Preview. At this point the image will be missing as the slashes have been removed from the path, saving the changes will save the now-incorrect paths as shown.

Before:
Attachment 16102

After
Attachment 16103

  **Server OS:**  Windows NT E5540 6.2 build 9200 (Windows 8 Business Edition) i586
  **HTTP Server:** Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8
  **PHP Version:** 5.6.8 (Zend: 2.6.0)
  **Database:** MySQL 5.6.24
14 Mar 2016, 4:20 PM
#424
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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

May have problems with slashes in other places as well then, product's name, product's description, product's uri, and product's image. They either have stripslashes( or htmlspecialchars(stripslashes( wouldn't/shouldn't be an issue if something in advance added slashes, or it was processed in some other way, but as is, looks like slashes that are purposefully entered as a single slash are removed in the processing.

14 Mar 2016, 11:28 PM
#425
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

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

More minor stuff:

ADMIN
Initial Setup Wizard
Suggest postcode is also asked for to avoid shipping module message stack error, but not as a compulsory field.

menu.css
main menu items font size was far too big (on my laptop) and overflowed to the next line.
Ok, when commented out:
.navbar-nav li>a.dropdown-toggle {
/font-size: 1.3em; steve/
color: #333;
}

The padding around the menu items was already too much, and far too much with the smaller font size.
I changed to:
@media (min-width: 768px) {
.navbar-nav>li>a {
padding-top: 3px;
padding-bottom: 0;
}

ADMIN
english.php
define('HEADING_TITLE_SEARCH_DETAIL_REPORTS', 'Search for Product(s) - Delimited by commas');
this is used only in stats_products_purchased.php

It is not clear that this refers to product ids, so suggest:
define('HEADING_TITLE_SEARCH_DETAIL_REPORTS', 'Search for Product IDs (delimited by commas)');
and maybe this constant should not be in english.php

banner_manager.php
The legend has titles over each of the icons. The status icons are is titled "Status off" as it uses TEXT_LEGEND_STATUS_OFF.
<td class="smallText" align="center" width="100"><?php echo TEXT_LEGEND_STATUS_OFF . '<br />' . zen_image(DIR_WS_IMAGES . 'icon_red_on.gif', IMAGE_ICON_STATUS_OFF) . ' ' . zen_image(DIR_WS_IMAGES . 'icon_green_on.gif', IMAGE_ICON_STATUS_ON); ?></td>

They should be titled "Status" and so could use the same constant from that page: TABLE_HEADING_STATUS.
Additionally it would be logical to change the icon order to green-red/enabled-disabled, as the other two icons are in yes-no/enabled-disabled order.
<td class="smallText" align="center" width="100"><?php echo TABLE_HEADING_STATUS . '<br />' . zen_image(DIR_WS_IMAGES . 'icon_green_on.gif', IMAGE_ICON_STATUS_ON) . ' ' . zen_image(DIR_WS_IMAGES . 'icon_red_on.gif', IMAGE_ICON_STATUS_OFF); ?></td>

whos_online.php
Still has hard-coded text:
<td class="smallText" colspan="8"><?php echo sprintf(TEXT_NUMBER_OF_CUSTOMERS, $total_sess); print "<br />Duplicate IP Addresses: $total_dupes<br />Total Unique Users: $total_cust.";?></td>

And I note that in the graph produced by banner_statistics (phplot) multi-byte/utf-8 Titles have corrupted characters. But I read somewhere this is slated for replacement anyway.

15 Mar 2016, 3:00 AM
#426
drbyte avatar

drbyte

Sensei

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

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

mc12345678:

I did notice one thing that still looked a little off, the button to accept related to gift certificate queue, overlaps the ZenCart logo slightly. There isn't much room to move. To the right, because the button for the activity log is adjacent. That second button does have some room to move right, but I find it difficult to provide clear coding direction.

With regards to the overlap of the first button, the lower left part of the button itself begins half way up from the a n the logo. The text description beneath it is somewhat lost at the beginning within the logo. The C in Certificate is position over the lower part of the t in ZenCart. Two fixes come to mind, either move over the Gift Certificate Queue button and hopefully the second button also would move or reduce the size of the logo in this setup...
I think maybe you're looking at it without all the latest changes ... cuz I have no clue what you're talking about, without a visual. :)

15 Mar 2016, 4:04 AM
#427
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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

DrByte:

I think maybe you're looking at it without all the latest changes ... cuz I have no clue what you're talking about, without a visual. :)

Attachment 16105

Probably way too small, but the above is what I was seeing on my cell phone but has been collected by desktop. Looks the same (using the updates of up to the commit I referenced before.

15 Mar 2016, 3:25 PM
#428
drbyte avatar

drbyte

Sensei

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

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

mc12345678:

DrByte:

I think maybe you're looking at it without all the latest changes ... cuz I have no clue what you're talking about, without a visual. :)
Attachment 16105

Probably way too small, but the above is what I was seeing on my cell phone but has been collected by desktop. Looks the same (using the updates of up to the commit I referenced before.
Okay, yes, that's prior to the merging of code fixes yesterday.

15 Mar 2016, 4:11 PM
#429
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,867
Plugin Contributions:
3

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

torvista:

Admin Edit Product->Preview screen strips slashes.
This is simply opening the edit product page, then continuing to Preview. At this point the image will be missing as the slashes have been removed from the path, saving the changes will save the now-incorrect paths as shown.

Before:
Attachment 16102

After
Attachment 16103

  **Server OS:**  Windows NT E5540 6.2 build 9200 (Windows 8 Business Edition) i586
  **HTTP Server:** Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8
  **PHP Version:** 5.6.8 (Zend: 2.6.0)
  **Database:** MySQL 5.6.24

Design75:

And this also happens with the url, according to your images.

mc12345678:

May have problems with slashes in other places as well then, product's name, product's description, product's uri, and product's image. They either have stripslashes( or htmlspecialchars(stripslashes( wouldn't/shouldn't be an issue if something in advance added slashes, or it was processed in some other way, but as is, looks like slashes that are purposefully entered as a single slash are removed in the processing.

Hi

Have done a PR https://github.com/zencart/zencart/pull/870/files
which should fix this.

15 Mar 2016, 6:26 PM
#430
drbyte avatar

drbyte

Sensei

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

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

torvista:

And I note that in the graph produced by banner_statistics (phplot) multi-byte/utf-8 Titles have corrupted characters. But I read somewhere this is slated for replacement anyway.Yes, the banner-stats tool has been fully-rewritten with a more modern tool, for v160, but has dependencies on other changes that aren't present in v155.

As for your other suggestions, we've incorporated most of them. Some will be deferred until later, mostly due to dependencies.

16 Mar 2016, 1:11 AM
#431
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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

DrByte:

Okay, yes, that's prior to the merging of code fixes yesterday.

Downloaded updated files about an hour ago. That issue has been rectified, though I kinda liked the look above better... For those that didn't go through the beta testing won't know any different. :)

A few of the screens though open with the ability/need to scroll slightly right in order to see all of the presented content or to zoom out (zooming out is only possible to a certain/small extent)

Pages on which this has been seen:
admin_activity.php
orders.php (basically a full screen/typical viewing of the orders with the small/mobile menu option button). The buttons for order management are located on the right side of the list.
configuration.php edit buttons located at the bottom instead of on the right side like "historical" or in the orders.php area. On this screen the only thing that is really off to the right causing the "need"/"ability" to scroll slightly right is the Gift Certificate Queue button is now slightly off the right side of the screen after initial opening and "resizing".
Okay, I somewhat resign, looks like there are various arrangements/setups of the menus in the mobile view depending on some sort of design consideration... The odd thing in my opinion is that after every change of screen the "size" remains the same but on some can "scroll" or slide, on others no such movement needed.

Something hadn't noticed before, but now if a sub-category exists in a category, the dropdown to even possibly add a product whether the category is active or not is not possible... Further, in the bottom left corner in such a condition there is a listing showing the number of categories and the number of products. Is this second part intended to be a sort of "second/cross" check if a product does happen to become associated with such a category? The other thing is that this seems backwards to how some have been requesting/using ZC. Now it is very obvious that products can not be colocated with sub-categories at least on the admin side... Seems like there will be more plugins/modifications suggested to address this or threads in the forum about how some aspects of ZC are working backwards. I do have a feeling though that there is an existing thought about how one could relatively easily implement such a result and not potentially foul the database, but it does not yet seem apparent... :)

16 Mar 2016, 2:18 AM
#432
drbyte avatar

drbyte

Sensei

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

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

mc12345678:

Something hadn't noticed before, but now if a sub-category exists in a category, the dropdown to even possibly add a product whether the category is active or not is not possible.
That's not new

16 Mar 2016, 2:37 AM
#433
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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

DrByte:

That's not new

Ohh, right, I forgot the method to approach and obtain a mix of product and sub-category.

First create a product in a category, disable the product, add the category/sub-category (disables the ability to add additional product but can add additional sub-categories), then re-enable the product(s) (category can no longer be added) and would have both a product and sub-category in the category and the ability to further add product..

Sort of a "bypass" in operation, but is a "built-in" method that permits the condition of a product and sub-category existing at least on the admin side.

16 Mar 2016, 3:23 AM
#434
drbyte avatar

drbyte

Sensei

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

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

mc12345678:

Ohh, right, I forgot the method to approach and obtain a mix of product and sub-category.

First create a product in a category, disable the product, add the category/sub-category (disables the ability to add additional product but can add additional sub-categories), then re-enable the product(s) (category can no longer be added) and would have both a product and sub-category in the category and the ability to further add product..

Sort of a "bypass" in operation, but is a "built-in" method that permits the condition of a product and sub-category existing at least on the admin side.
Sigh.

Mixing products and categories at the same level can result in miscalculations of pricing and sale calculations, and other anomalies with product and category handling. (Most of those are inherited from the osC architecture, and can't be fully resolved without changing a lot of code, and breaking plugins. Planned for a future version.)
That's why those protections are there to make it difficult to break it. But, if you're really bent on breaking the site, you can still do it, as you just showed. Naturally we don't recommend doing that.

16 Mar 2016, 9:22 PM
#435
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

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

DrByte:

That's to be expected. You still need to run zc_install and choose "Upgrade Database".

Fixed corrupted table and upgraded to v155 successfully. Thanks for your help Doc and Kobra!

Few bugs:

Desktop: Main page categories set to 3 categories per row, every other row shows as less than 3. Tried 1 per row and cleared cache. Didn't fix 3 across issue.

Desktop: Unable to add certain products to cart.

Desktop: Unable to delete products from cart at times. (Maybe delayed response?)

Mobile: categories show as 1 per row.

Mobile: unable to add to cart.

I do not want to customer to have to log in to buy, can just use PP Express.

Thanks in advance.

16 Mar 2016, 9:32 PM
#436
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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

Is there someplace that we can see these issues? :lookaroun

16 Mar 2016, 9:44 PM
#437
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

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

That will help :blush: The site is RC101.com

Is there an admin control for mobile cart?

Also, will using a background image slow/ruin a responsive design or is that the point, don't use one for speed and fitment?

16 Mar 2016, 9:55 PM
#438
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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

On the Admin, why are you asking? What are you trying to control?

Is there a difference if you turn off Image Handler?

16 Mar 2016, 10:19 PM
#439
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

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

Ajeh:

On the Admin, why are you asking? What are you trying to control?

Is there a difference if you turn off Image Handler?

Just wanting to fix it myself. I cleared the Image Handler4 Image Cache. Didn't fix anything this time.

I cannot add anything to cart on desktop or mobile. I'll take a break and go to happy hour :cheers:

16 Mar 2016, 10:24 PM
#440
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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

I cannot add anything either ... but once I got something to go in the cart and now I cannot delete it ...:cry: