Magento Stops Outputting HTML When Encountering Images - php

This is for a Magento 1.8.0.0 shop. I purchased a bulk image plugin which required the Magento Connect Manager to install. For the install, I temporarily gave 777 permissions to the entire shop. The plugin installed successfully, however at this point the HTML output just stops when images are encountered.
For example, here are the bottom lines of three separate category pages:
<div class="grid-inner"> <a href="http://www.myshop.com/shop/index.php/accessories/buddy-club-racing-spec-bucket-seat-wide-black.html?___SID=U" title="Buddy Club Racing Spec Bucket Seat (Wide) Black" class="product-image"><img class="pr-img" src="
<div class="grid-inner"> <a href="http://www.myshop.com/shop/index.php/aero/buddy-club-body-kit-rsx-02-04.html?___SID=U" title="Buddy Club Body Kit RSX 02-04" class="product-image"><img class="pr-img" src="
<a href="http://www.myshop.com/shop/index.php/braking/dynalite-big-brake-kit-civic-90-03-240mm-oe-disc-11-rotors-drilled.html?___SID=U" title="DYNALITE BIG BRAKE KIT: CIVIC 90-03 (240mm OE DISC) - 11" ROTORS - DRILLED" class="product-image"><img class="pr-img" src="
All of the pages end this way and I can't even browse products.
I have tried re-doing the permissions to a number of different values, removed the plugin, contacted both my template vendor and the plugin vendor, turned on error logging in PHP and switching back to the default theme.
None of these actions have produced a difference. I would appreciate any help in troubleshooting.
h.ubk

Related

Wordpress widget custom html not working with HTML code

I am facing an issue with my WordPress website when I try to add a logo in the website footer it's not working. I am adding this with the help of custom HTML code and that exact code is working on all other WordPress sites but not with this WordPress site. The loading circle at the bottom of the widget kept loading and I couldn't see the logo in the footer.
Hosting on: Namecheap
CDN: Cloudflare
Plugins: WP-Optimize, Loginizer, Smush, Hotjar, SVG Support, Elementor
Below is the code
<div id="custom_html-11" class="widget_text p-footer-section widget_custom_html">
<div class="textwidget custom-html-widget">
<img class="alignnone wp-image-17" src="https://example.com/wp-content/uploads/2023/01/cropped-logo-1.png" alt="" width="205px">
</div></div>```

images aren't displayed locally

I'm doing the maintenance on a project developed with the symfony framework version 2.7. The problem I'm encountering is that the images aren't displayed locally but they are displayed in the online version.
The images are stored in web/uploads/Images. Following code is the one used to display the site's logo: <img src="{{ asset(setting.logo) }}?{{"now"|date("d/m/Y H:i:s")}}" data-bs-hover-animate="swing" class="logo">.
When I inspect local version with my browser, it displays: <img src="/uploads/logo.png?30/12/2019 13:37:21" data-bs-hover-animate="swing" class="logo"> and the logo is not displayed.
But when I modify the source code in local : <img src="{{ asset('uploads/Images/LogoALEX.png') }}?{{"now"|date("d/m/Y H:i:s")}}" data-bs-hover-animate="swing" class="logo"> the image is displayed.
Now I don't want to modify the source code since it works already online.please I'd like to have an explanation for this issue and know how to fix it.

How to save edits in wordpress after debugging a styling issue with devtool?

Last 5 submenu icons are not showing http://newlayouthomepage1.bluebirdpackaging.com/ . In mega menu wordpress is unable to save the settings for the icons. So I just tried to add them up through dev tool. Now the problem is how do I save these edits.
I added this <i class="im-icon-arrow-right-2"></i> and changed class="item_link disable_icon" tabindex="44"> to class="item_link with_icon" tabindex="44"> to show the submenu icon
<a href="http://newlayouthomepage1.bluebirdpackaging.com/product-category/custom-printed-apparel-packaging-boxes-wholesale/" class="item_link disable_icon" tabindex="44">
<span class="link_content">
<span class="link_text">
Apparel Boxes
</span>
</span>
</a>
The result I am looking for is to save the html edits I do from dev tool to make them permanent.

How to add class name to a block in prestashop 1.7

I'm currently using prestashop 1.7.4.3, I need to edit the header.tpl file in the _partials. I barely know about this framework.
My problem is:
What I attempted: Tried to add a custom class name for the header logo
<div class="col-md-2 hidden-sm-down hlogo" id="_desktop_logo">
{if $page.page_name == 'index'}
<h1>
<a href="{$urls.base_url}">
<img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}">
</a>
</h1>
{else}
<a href="{$urls.base_url}">
<img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}">
</a>
{/if}
</div>
As you can see I have added hlogo a custom class to the header logo and I tried display:none in my custom.css
My problem is: The newly added class name is not updated in the front office.
Guide me if I made anything wrong!
As I said before, try clear your cache
To clear cache: Go to Back office Configure/Advanced Parameters/Performance/Clear Cache
You can find the clear cache button in the top right corner in the back office.
Also you can clear cache manually from root_folder/var/cache/dev/smarty/cache
If the problem persists to continue re-check the file you are editing make sure you are editing the correct theme's files
As Viira said, you need to clear your cache. You can do this within your admin panel by going to Configure -> Advanced Parameters -> Performance and press button Clear cache(right top corner) or you can delete it forcibly by clearing folders root_folder/var/cache/dev/smarty/cache and root_folder/var/cache/dev/smarty/compile.
And also it's better to turn off Cache and turn on Template compilation until you will not finish all your customizations. You can do this in Configure -> Advanced Parameters -> Performance as well.

prestashop changing page icon doesn't work

I am using Prestashop for the first time. I try to change icons in the default theme but the change doesn't reflect on the UI
E.g: in block contact info, I have originally
<li>
<i class="icon-phone"></i>{l s='Call us now:' mod='blockcontactinfos'}
<span>{$blockcontactinfos_phone|escape:'html':'UTF-8'}</span>
</li>
I want to remove
<i class="icon-phone"></i>
and add my own icon <img src="\img\icons\call.png" />
But the UI still look the same after I changed the code to
<li>
<!--<i class="icon-phone"></i>-->
<img src="\img\icons\call.png" />{l s='Call us now:' mod='blockcontactinfos'}
<span>{$blockcontactinfos_phone|escape:'html':'UTF-8'}</span>
</li>
I use chrome inspector and see that the source code doesn't change at all. How can I add my own icons in prestashop?
It's because Prestashop uses 1) Module overrides and 2) Template cache system. You should disable cache memory in BO in Settings -> Performance and then clean the cache with the button on the top right. Next You need to edit:
not: root/modules/blockcontactinfos/blockcontactinfos.tpl
but root/themes/yourthemename/modules/blockcontactinfos/blockcontactinfos.tpl file.
This should help fix Your problems :)

Categories