v1.0.8.1 Questions / Comments / Concerns

Ask the community for help and support.
gsmiley007
Posts: 82
Joined: Sun Mar 14, 2021 9:28 pm
Has thanked: 9 times
Been thanked: 2 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by gsmiley007 »

Thanks, i looked at See viewtopic.php?p=3853#p3853

However, for a fresh install, it does not create all the tables, so i can't alter the tables.

The only tables it created were:

action_recorder
address_book
address_format

Tags:
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by ecartz »

gsmiley007 wrote: Sat Jun 19, 2021 12:28 am However, for a fresh install, it does not create all the tables, so i can't alter the tables.
You have to edit the install/phoenix.sql file before running the install.

Or just change the MySQL configuration. See https://stackoverflow.com/a/52749571/6660678

Or just use a supported version of MySQL. Since every version of MySQL that gives that message is past end-of-life and no longer gets security updates. So simply upgrading MySQL to a supported version will get rid of the message and allow the install to complete.
gsmiley007
Posts: 82
Joined: Sun Mar 14, 2021 9:28 pm
Has thanked: 9 times
Been thanked: 2 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by gsmiley007 »

ecartz wrote: Sat Jun 19, 2021 12:54 am
gsmiley007 wrote: Sat Jun 19, 2021 12:28 am However, for a fresh install, it does not create all the tables, so i can't alter the tables.
You have to edit the install/phoenix.sql file before running the install.

Or just change the MySQL configuration. See https://stackoverflow.com/a/52749571/6660678

Or just use a supported version of MySQL. Since every version of MySQL that gives that message is past end-of-life and no longer gets security updates. So simply upgrading MySQL to a supported version will get rid of the message and allow the install to complete.
Thanks, I edited the install/phoenix.sql.

I wish I could upgrade the mysql version, but i'm hosted. I asked if it can be upgrade, but i'm not holding my breath.
User avatar
edfaught
Posts: 49
Joined: Mon Oct 26, 2020 3:22 pm
Has thanked: 4 times
Been thanked: 2 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by edfaught »

Having trouble finding this one:

Uncaught ArgumentCountError: Too few arguments to function Href::redirect(), 0 passed in /includes/system/segments/application/parse_actions.php on line 17 and exactly 1 expected in /includes/system/versioned/1.0.8.1/href.php:129

v1.0.8.1
php v7.4.30
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by ecartz »

edfaught wrote: Mon Sep 05, 2022 12:48 am Having trouble finding this one:

Uncaught ArgumentCountError: Too few arguments to function Href::redirect(), 0 passed in /includes/system/segments/application/parse_actions.php on line 17 and exactly 1 expected in /includes/system/versioned/1.0.8.1/href.php:129

v1.0.8.1
php v7.4.30
https://github.com/CE-PhoenixCart/Phoen ... 9574348046
User avatar
edfaught
Posts: 49
Joined: Mon Oct 26, 2020 3:22 pm
Has thanked: 4 times
Been thanked: 2 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by edfaught »

At site https://nationalvnwarmuseumfriends.org/ ... /index.php

For only two out of ten categories the site has some kind of hiccup and stops rendering short of completion.
No errors reported that I can find, php or otherwise. I can only guess that the database may have gotten messed up while converting to InnoDB from MyISAM or something. Alas, I cannot find it :(

Failed page source:

Code: Select all

<div class="body-sans-header">


    <div class="row">
      <div id="bodyContent" class="col order-1 order-md-6">

        
  <div class="row">
    <div class="col-sm-12 cm-ip-product-listing">
  
  <div class="contentText">

    <div class="card mb-2 card-body alert-filters">
      <ul class="nav">
        <li class="nav-item dropdown">
          <a href="#" class="nav-link text-dark dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Sort By <span class="caret"></span></a>

          <div class="dropdown-menu">
            <a href="https://nationalvnwarmuseumfriends.org/giftshop/index.php?cPath=27&amp;sort=1d" title="Sort products descendingly by Product Name" class="dropdown-item">Product Name<i class="fas fa-level-down-alt text-primary"></i></a><a href="https://nationalvnwarmuseumfriends.org/giftshop/index.php?cPath=27&amp;sort=2a" title="Sort products ascendingly by Price" class="dropdown-item">Price<i class="fas fa-level-up-alt text-black-50"></i></a><a href="https://nationalvnwarmuseumfriends.org/giftshop/index.php?cPath=27&amp;sort=3a" title="Sort products ascendingly by Date Added" class="dropdown-item">Date Added<i class="fas fa-level-up-alt text-black-50"></i></a><a href="https://nationalvnwarmuseumfriends.org/giftshop/index.php?cPath=27&amp;sort=4a" title="Sort products ascendingly by Most Popular" class="dropdown-item">Most Popular<i class="fas fa-level-up-alt text-black-50"></i></a>          </div>

        </li>
      </ul>
    </div>
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by ecartz »

edfaught wrote: Thu Sep 15, 2022 4:06 pm For only two out of ten categories the site has some kind of hiccup and stops rendering short of completion.
Maybe move one of those categories (e.g. Clothing & Accessorie) into the other (e.g. Miscellaneous), then recreate the category (same name; old location), and finally move the products one-by-one from the old category into the new, checking the page after each move. If the new category works after all your products are in it, then just delete the old category. If a specific product breaks it, move that one back and resume with the next product. After that, you can look at the products that didn't work and see if there's something special about them.
User avatar
edfaught
Posts: 49
Joined: Mon Oct 26, 2020 3:22 pm
Has thanked: 4 times
Been thanked: 2 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by edfaught »

Maybe move one of those categories (e.g. Clothing & Accessorie) into the other (e.g. Miscellaneous), then recreate the category (same name; old location), and finally move the products one-by-one from the old category into the new, checking the page after each move.
This works fine for isolating the problem products except I found that simply deactivating them also allowed the page to render completly. I still can't figure out the exact issue with those 3 products but I'll probably simply delete them and re-add them to see how that works.

Thanks again for the excellent suggestion!

Update: deleting and re-adding does not work. There is something wrong with the product images.
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

Re: v1.0.8.1 Questions / Comments / Concerns

Post by ecartz »

edfaught wrote: Fri Sep 16, 2022 5:08 pm There is something wrong with the product images.
Do you have URLs for just the images? Ideally just the ones that are actually broken if you have a gallery of images for each of the products.

The two things that core might care about in regards to images would be the image name or something about calculating the size of the image. Perhaps your version of PHP does not support calling getimagesize on that type of image. Note that you can turn off size calculations in admin > Configuration > Images > Calculate Image Size. Other than that, core doesn't care about images except as URLs.

There's also a slight possibility that something was broken in 1.0.8.1 that was fixed later. The list of changes to the image class: https://github.com/CE-PhoenixCart/Phoen ... /image.php
HawaiiFarmer
Posts: 7
Joined: Wed Jan 04, 2023 3:51 am

Re: v1.0.8.1 Questions / Comments / Concerns

Post by HawaiiFarmer »

ecartz wrote: Thu Sep 15, 2022 6:55 pm .... and finally move the products one-by-one from the old category into the new, checking the page after each move.
Please forgive my ignorance. I have scanned the Forum and the read the User's Guide, but I cannot find how one moves an existing (old) Product into a newly created Category. Would you please instruct me or point me to a resource? Thank you for your time and attention. In gratitude, HawaiiFarmer
Post Reply