I'm using Phoenix version 1.0.8.20 and I'm having an issue showing more than 7 images on the product page. It has been confirmed that more than 7 images can be uploaded when adding a product. Here's what I have in gallery: Thumbnail Width: col-4 col-sm-6 col-lg-4 col-xl-1.
Another note is I upload images into a subfolder and use the latest version of Kissit Thumbnailer.
Has anyone experienced this?
If so, what was the solution?
What should I check in settings and the database?
I'm not sure if it's a bug or a wrong setting. Hopefully, we'll discover either.
How to get more than 7 images to show in gallery?
- Kofod95
- Senior Contributor
- Posts: 749
- Joined: Sat Feb 06, 2021 7:38 pm
- Phoenix Version: 1.0.8.20
- Has thanked: 99 times
- Been thanked: 179 times
Re: How to get more than 7 images to show in gallery?
First, are there more than seven images in table.products_images with a products_id for which you have more than seven images?
If so, when you look at the source code for that product, do you have more than seven times <img ... in the thumbnail-section?
And just to be sure: do you have a space or any funky characters in the sub-folder name?
//Daniel
If so, when you look at the source code for that product, do you have more than seven times <img ... in the thumbnail-section?
And just to be sure: do you have a space or any funky characters in the sub-folder name?
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide
- burt
- Core Team
- Posts: 4561
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 422 times
Re: How to get more than 7 images to show in gallery?
this should not affect it. Here you are simply saying;
XS: 3 column layout
SM: 2 column layout
LG: 3 column layout
XL: 12 column layout
Whether you have 1 extra image or 100, the column layout doesn't matter - all image should show.
Here is image showing 12 extra images (for this layout I used col-sm-2, IE 6 columns of images), so I am pretty certain core code is OK;
You might like to link to your page showing only 7 images ?
You do not have the required permissions to view the files attached to this post.
-
lecarlb
- Contributor
- Posts: 316
- Joined: Mon Oct 26, 2020 5:26 pm
- Phoenix Version:
- Has thanked: 48 times
- Been thanked: 9 times
Re: How to get more than 7 images to show in gallery?
No there are not more than 7 images in that table. On the source code, there is no more than 7 images. And there's no special characters in the subfolder name.Kofod95 wrote: ↑Thu Oct 19, 2023 12:14 pm First, are there more than seven images in table.products_images with a products_id for which you have more than seven images?
If so, when you look at the source code for that product, do you have more than seven times <img ... in the thumbnail-section?
And just to be sure: do you have a space or any funky characters in the sub-folder name?
//Daniel
-
lecarlb
- Contributor
- Posts: 316
- Joined: Mon Oct 26, 2020 5:26 pm
- Phoenix Version:
- Has thanked: 48 times
- Been thanked: 9 times
Re: How to get more than 7 images to show in gallery?
https://btdogcollars.com/product_info.p ... s_id=99500burt wrote: ↑Thu Oct 19, 2023 2:02 pmthis should not affect it. Here you are simply saying;
XS: 3 column layout
SM: 2 column layout
LG: 3 column layout
XL: 12 column layout
Whether you have 1 extra image or 100, the column layout doesn't matter - all image should show.
Here is image showing 12 extra images (for this layout I used col-sm-2, IE 6 columns of images), so I am pretty certain core code is OK;
12.jpg
You might like to link to your page showing only 7 images ?
I know I uploaded more than 15 images for this product and the main image is in the products table and only 6 images appear in the products_images table.
- burt
- Core Team
- Posts: 4561
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 422 times
Re: How to get more than 7 images to show in gallery?
You might like to check your admin product adding/editing page for this product to see how many images are uploaded. If the DB says 6 (and the shopside page shows 6), it should be 6.
Add some more...as I wonder if your host maybe has some sort of "upload" throttle or timeout or something. So although you inserted 15 in the adding/editing, maybe some just didn't make it...
Add some more...as I wonder if your host maybe has some sort of "upload" throttle or timeout or something. So although you inserted 15 in the adding/editing, maybe some just didn't make it...
-
lecarlb
- Contributor
- Posts: 316
- Joined: Mon Oct 26, 2020 5:26 pm
- Phoenix Version:
- Has thanked: 48 times
- Been thanked: 9 times
Re: How to get more than 7 images to show in gallery?
I did as you instructed, no success. I attempted to add 3 more images and I attempted to add just 1 and they didn't upload. So I decided to see if anything in the error logs around the same time I made the attempted uploads would give a clueburt wrote: ↑Thu Oct 19, 2023 3:45 pm You might like to check your admin product adding/editing page for this product to see how many images are uploaded. If the DB says 6 (and the shopside page shows 6), it should be 6.
Add some more...as I wonder if your host maybe has some sort of "upload" throttle or timeout or something. So although you inserted 15 in the adding/editing, maybe some just didn't make it...
Code: Select all
[Thu Oct 19 16:24:46.672597 2023] [proxy_fcgi:error] [pid 2281416:tid 140203704448576] [client 71.28.224.173:0] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "manufacturers_name" in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/includes/classes/manufacturer.php on line 26', referer: https://xxxxxxxxxx.com/index.php?cPath=13_2442_2443
[Thu Oct 19 16:25:14.890539 2023] [proxy_fcgi:error] [pid 2281417:tid 140204593616448] [client 71.28.224.173:0] AH01071: Got error 'PHP message: PHP Deprecated: The tep_href_link function has been deprecated. in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/adminBTDC1/includes/functions/html_output.php on line 51', referer: https://xxxxxxxxxx.com/adminBTDC1/catalog.php?cPath=2443&pID=99500
[Thu Oct 19 16:26:20.321701 2023] [proxy_fcgi:error] [pid 2281417:tid 140203503121984] [client 71.28.224.173:0] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "manufacturers_name" in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/includes/classes/manufacturer.php on line 26', referer: https://xxxxxxxxxx.com/index.php?cPath=13_2442_2443
[Thu Oct 19 16:26:53.400233 2023] [proxy_fcgi:error] [pid 2281416:tid 140204593616448] [client 51.222.253.2:0] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "manufacturers_name" in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/includes/classes/manufacturer.php on line 26'
[Thu Oct 19 16:27:21.323848 2023] [proxy_fcgi:error] [pid 2281417:tid 140203494729280] [client 71.28.224.173:0] AH01071: Got error 'PHP message: PHP Warning: Unknown: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/vhosts/xxxxxxxxxx.com/:/tmp//var/log/www/tep/page_parse_time.log) in Unknown on line 0PHP message: PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0', referer: https://xxxxxxxxxx.com/adminBTDC1/catalog.php?cPath=2443&pID=99500&action=new_product
[Thu Oct 19 16:27:21.414213 2023] [proxy_fcgi:error] [pid 2281417:tid 140203620554304] [client 71.28.224.173:0] AH01071: Got error 'PHP message: PHP Deprecated: The tep_href_link function has been deprecated. in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/adminBTDC1/includes/functions/html_output.php on line 51', referer: https://xxxxxxxxxx.com/adminBTDC1/catalog.php?cPath=2443&pID=99500&action=new_product
[Thu Oct 19 16:27:21.608964 2023] [proxy_fcgi:error] [pid 2281417:tid 140203620554304] [client 71.28.224.173:0] AH01071: Got error 'PHP message: PHP Warning: Attempt to read property "sibling" on null in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/includes/hooks/admin/catalog/linkSibling.php on line 26', referer: https://xxxxxxxxxx.com/adminBTDC1/catalog.php?cPath=2443&pID=99500&action=new_product
[Thu Oct 19 16:27:27.619549 2023] [proxy_fcgi:error] [pid 2281417:tid 140203612161600] [client 71.28.224.173:0] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "manufacturers_name" in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/includes/classes/manufacturer.php on line 26', referer: https://xxxxxxxxxx.com/index.php?cPath=13_2442_2443- burt
- Core Team
- Posts: 4561
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 422 times
Re: How to get more than 7 images to show in gallery?
open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)
is the issue in uploading. Speak with the host, see what they say.
is the issue in uploading. Speak with the host, see what they say.
-
lecarlb
- Contributor
- Posts: 316
- Joined: Mon Oct 26, 2020 5:26 pm
- Phoenix Version:
- Has thanked: 48 times
- Been thanked: 9 times
Re: How to get more than 7 images to show in gallery?
I think that resolved the issue. I added an 8th image and it uploaded. The server has been set to allow all uploads.
I'll try adding more later when I get some free time and report back.
Thanks for your help