Danmant_DK Posted November 1, 2022 Share Posted November 1, 2022 Hello After csv importing categories (approx 1000 in total) the frontend continues with too much empty space below the webshop end. Please have a look: https://billigbyggemarked.dk/ What can be the problem? Thank you for your help Best regards, Kurt Link to comment Share on other sites More sharing options...
ZIKODK Posted November 2, 2022 Share Posted November 2, 2022 Hmm. My post and your reply have been removed. There is obviously censorship on this page, so you are not allowed to write in Danish in the English forum. I have now looked at your site on my PC, and there is also a large blank place. If I look at the source code (right click on the page and select show source code), there is a script at the bottom with some cache. Maybe that's it? But where it comes from, I can't quite see through. Link to comment Share on other sites More sharing options...
Danmant_DK Posted November 2, 2022 Author Share Posted November 2, 2022 5 hours ago, ZIKODK said: Hmm. My post and your reply have been removed. There is obviously censorship on this page, so you are not allowed to write in Danish in the English forum. I have now looked at your site on my PC, and there is also a large blank place. If I look at the source code (right click on the page and select show source code), there is a script at the bottom with some cache. Maybe that's it? But where it comes from, I can't quite see through. Are you refering to line 23340? Is it possible to delete it, to see if any change? Link to comment Share on other sites More sharing options...
ZIKODK Posted November 2, 2022 Share Posted November 2, 2022 Maybe. But I dont know how. But you have the full folder and filename. Try to rename it in the first place. Link to comment Share on other sites More sharing options...
Danmant_DK Posted November 2, 2022 Author Share Posted November 2, 2022 2 hours ago, ZIKODK said: Maybe. But I dont know how. But you have the full folder and filename. Try to rename it in the first place. I have renamed the .js file. No result until now, but I will wait some time to see the effect to take place. Link to comment Share on other sites More sharing options...
Danmant_DK Posted November 2, 2022 Author Share Posted November 2, 2022 11 minutes ago, Danmant_DK said: I have renamed the .js file. No result until now, but I will wait some time to see the effect to take place. When I rename or delete the file, the system just make a new file with the name. Link to comment Share on other sites More sharing options...
ZIKODK Posted November 2, 2022 Share Posted November 2, 2022 Ok. I have no idea. Sorry. Link to comment Share on other sites More sharing options...
ComGrafPL Posted November 2, 2022 Share Posted November 2, 2022 Have you checked the hooks? Also check .htaccess. Read this: https://stackoverflow.com/questions/28504270/white-space-below-footer-on-my-bootstrap-pages Either some module causing it. Link to comment Share on other sites More sharing options...
Danmant_DK Posted November 2, 2022 Author Share Posted November 2, 2022 25 minutes ago, ComGrafPL said: Have you checked the hooks? Also check .htaccess. Read this: https://stackoverflow.com/questions/28504270/white-space-below-footer-on-my-bootstrap-pages Either some module causing it. Do you see any issue in my .htaccess file: <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on #Domain: billigbyggemarked.dk RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteCond %{HTTP_HOST} ^billigbyggemarked.dk$ RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^billigbyggemarked.dk$ RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteCond %{HTTP_HOST} ^billigbyggemarked.dk$ RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteCond %{HTTP_HOST} ^billigbyggemarked.dk$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteCond %{HTTP_HOST} ^billigbyggemarked.dk$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteCond %{HTTP_HOST} ^billigbyggemarked.dk$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteCond %{HTTP_HOST} ^billigbyggemarked.dk$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteCond %{HTTP_HOST} ^billigbyggemarked.dk$ RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^billigbyggemarked.dk$ RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/font-woff .woff AddType font/woff2 .woff2 <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$"> Header set Access-Control-Allow-Origin "*" </FilesMatch> <FilesMatch "\.pdf$"> Header set Content-Disposition "Attachment" Header set X-Content-Type-Options "nosniff" </FilesMatch> </IfModule> <Files composer.lock> # Apache 2.2 <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> # Apache 2.4 <IfModule mod_authz_core.c> Require all denied </IfModule> </Files> <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/vnd.microsoft.icon "access plus 1 year" ExpiresByType application/font-woff "access plus 1 year" ExpiresByType application/x-font-woff "access plus 1 year" ExpiresByType font/woff2 "access plus 1 year" ExpiresByType application/vnd.ms-fontobject "access plus 1 year" ExpiresByType font/opentype "access plus 1 year" ExpiresByType font/ttf "access plus 1 year" ExpiresByType font/otf "access plus 1 year" ExpiresByType application/x-font-ttf "access plus 1 year" ExpiresByType application/x-font-otf "access plus 1 year" </IfModule> <IfModule mod_headers.c> Header unset Etag </IfModule> FileETag none <IfModule mod_deflate.c> <IfModule mod_filter.c> AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript font/ttf application/x-font-ttf font/otf application/x-font-otf font/opentype image/svg+xml </IfModule> </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404 I have deactivated all non-prestashop modules with no result. Can any prestashop module cause the error? In which files, other than .htaccess, can the error occur? The full path is needed Link to comment Share on other sites More sharing options...
ZIKODK Posted November 3, 2022 Share Posted November 3, 2022 Hello again, ComGrafPL has a point here. Can you try this: Go to Design>Positions. Take a screenshot of the contents of the following: displayHome, displayFooter, displayFooterAfter. They must be the most interesting ones. Link to comment Share on other sites More sharing options...
Muzammil Mac Posted November 3, 2022 Share Posted November 3, 2022 I think the categories are causing these large spaces. if you inspect the submenu of these three categories I have marked in image, You will see. Link to comment Share on other sites More sharing options...
ZIKODK Posted November 3, 2022 Share Posted November 3, 2022 (edited) 4 hours ago, Muzammil Mac said: I think the categories are causing these large spaces. if you inspect the submenu of these three categories I have marked in image, You will see. Good point!!! Supply. Kurt, try to disable"Hovedmenu". If your problem disappears, you have to restructure your category structure. Edited November 3, 2022 by ZIKODK Supply text. (see edit history) Link to comment Share on other sites More sharing options...
Danmant_DK Posted November 3, 2022 Author Share Posted November 3, 2022 10 hours ago, ZIKODK said: Hello again, ComGrafPL has a point here. Can you try this: Go to Design>Positions. Take a screenshot of the contents of the following: displayHome, displayFooter, displayFooterAfter. They must be the most interesting ones. Hello Attached are the screenshots Link to comment Share on other sites More sharing options...
Danmant_DK Posted November 3, 2022 Author Share Posted November 3, 2022 6 hours ago, ZIKODK said: Good point!!! Supply. Kurt, try to disable"Hovedmenu". If your problem disappears, you have to restructure your category structure. It solve the problem! How do i restructure the category structure? I have all the categories as a csv file and import them in BO Link to comment Share on other sites More sharing options...
Danmant_DK Posted November 3, 2022 Author Share Posted November 3, 2022 2 minutes ago, Danmant_DK said: It solve the problem! How do i restructure the category structure? I have all the categories as a csv file and import them in BO Quite by chance, I discovered that the empty space corresponds exactly to the space used by the drop-down menu for the front page. Could that be where the problem lies? Link to comment Share on other sites More sharing options...
Danmant_DK Posted November 3, 2022 Author Share Posted November 3, 2022 5 minutes ago, Danmant_DK said: Quite by chance, I discovered that the empty space corresponds exactly to the space used by the drop-down menu for the front page. Could that be where the problem lies? I remember from earlier versions, that the display of the drop-down menu could be changed. But i do not remember where? Link to comment Share on other sites More sharing options...
ZIKODK Posted November 3, 2022 Share Posted November 3, 2022 Hi Kurt. We have found the issue. How to solve it? Are you sure, that this issue did not start when you upgrated your shop without updating your theme. I dont think, I can give more input here. Sorry. Link to comment Share on other sites More sharing options...
Danmant_DK Posted November 3, 2022 Author Share Posted November 3, 2022 6 minutes ago, ZIKODK said: Hi Kurt. We have found the issue. How to solve it? Are you sure, that this issue did not start when you upgrated your shop without updating your theme. I dont think, I can give more input here. Sorry. Hi Ziko Yes we did. Thank you for your help. The question is exactly, how to solve it The problem did not occur when i updated. It has been there for a long time and with many different ps versions. Link to comment Share on other sites More sharing options...
ZIKODK Posted November 3, 2022 Share Posted November 3, 2022 I dont know from where you have the csv file. Your supplyer, I guess? I read it as the structure come from this file. Maybe you can start here? Link to comment Share on other sites More sharing options...
Danmant_DK Posted November 3, 2022 Author Share Posted November 3, 2022 1 hour ago, ZIKODK said: I dont know from where you have the csv file. Your supplyer, I guess? I read it as the structure come from this file. Maybe you can start here? I manually added a category for every product in the supplyer product file. After importing all the products with category, i exported all the categories in a csv file for backup and for future clean ps installations. Therefor i have disbelieve in how i, in this way, can change the structure Link to comment Share on other sites More sharing options...
Danmant_DK Posted November 6, 2022 Author Share Posted November 6, 2022 On 11/3/2022 at 9:21 PM, Danmant_DK said: I manually added a category for every product in the supplyer product file. After importing all the products with category, i exported all the categories in a csv file for backup and for future clean ps installations. Therefor i have disbelieve in how i, in this way, can change the structure I have deleted 2 of the categories from the top menu and it solves the problem. The empty space is created by the space needed in the drop-down menu. Why, I don't know Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now