Magento - Checkout page not loading https URL for catalogsearch - magento

I have just set up a Magento store and eveything is working fine, except for a problem in the catalog search URL.
When I go to the checkout page, everything is loaded in HTTPS, except for the catalog search URL, which makes chrome give a warning saying that there's mixed content in the page. When I check the source code, it says:
<form id="search_mini_form" action="http://XXXX/catalogsearch/result/" method="get">
But that only happens when the user is not logged in (or a first time customer). Once the user is logged in, the URL is loaded properly:
<form id="search_mini_form" action="https://XXXX/catalogsearch/result/" method="get">
Any idea on why this could be happening?
Thanks!

I know it's not the complete solution, and I have no idea why this is happening also on my store - but a temporary "patch" would be to open:
app/design/frontend/fogento/default/template/catalogsearch/form.mini.phtml
and manually modify the first line of the form element to use the secure url including https.
For example:
<form id="search_mini_form" action="https://www.yoursite.com/catalogsearch/result/" method="get">
This will give you the green address bar in chrome.

Related

Joomla 2.5 url shows two url with index.php and without

my url is http://www.clippingpathoutsource.com and it works fine but when I click to the logo of the page then the url shows http://www.clippingpathoutsource.com/index.php
Could anyone please help me?
it is difficult to identify the problem without looking at the code in the template file...
check the following:
1) In Template check index.php for below block of code
<div class="logoArea">
<a href="/index.php">
2) Instead of "/index.php" in the href attribute of the a tag put your domain name.

joomla backend nothing shown on any task

Can somebody give me a clue on what's happening here. It is strange that PHP gives me no error, nor warning, anything at all.. but it does not work..
here is my last set of changes https://bitbucket.org/brankito/making-chat-app-in-joomla/commits/71281244694631463b45853563ad1d2913ca74e4#Ladministrator/components/com_explore/views/activities/tmpl/default.phpT10
, when i load url which loads my list view in backend, [view=activities], it's all ok, i see my toolbar, and published [green checkmark] buttons, but when i click unpublish on any item, or select more of them and click unpublish in toolbar area, instead of doing that action and returning me back on same view, my browser shows url correctly but i get nothing in my view, no list, and no toolbar icons, no errors from php at all, so i dont have a clue where to begin.
Looks like you're loosing your view after submitting form, try to replace this:
<form action="<?php echo JRoute::_('index.php?option=com_explore'); ?>" method="post" name="adminForm" id="adminForm">
with:
<form action="index.php?option=com_explore&view=activities" method="post" name="adminForm" id="adminForm">

Private Joomla 2.5 K2 items redirects back to homepage instead of origin link after login

I am gonna try my best to describe our problem. Hopefully someone way smarter than us can figure this out. One of our Joomla sites has some content that requires login, simple enough right? The normal login functionality works great. Once logged in we could see the locked down content. But lets say we have a direct link to a "locked" page, once logged in, the page redirects to the homepage (index.php).
Natively Joomla 2.5 should retain the origin link, and redirects to that link, not back to index.php. So if my link was homepage.com/k2item1, after login it should go to k2item1 not index.php. I have tried turning off all modules and plugins just in case something is overriding the native login functionality from links. I have checked the .htaccess file for redirects. I have tried both settings in SEO settings "Use URL rewriting", Yes/NO doesn't matter. I have tried renaming the override folder (html) in our template folder, so no overrides should happen. Nothing. The link still redirects back to index.php. I have even tried printing out the form/user object to see if the origin link was there, aka "return", and the link is in there, but after login, still index.php instead of the string "return". Any ideas will be greatly appreciated. Maybe there are plugins out there that would help ensure links do not redirect to home page?
Override the component: mod_k2_user/login.php and edit the hidden input name "return".
<input type="hidden" name="return" value="<?php echo base64_encode(JURI::current()) ?>" />

form with enctype="multipart/form-data" hangs on some machines

I am having a form on which I upload pictures, thus it is set with the attribute enctype="multipart/form-data". The problem is on just a few machines and on any browser, after submitting the form, it keeps searching forever and finally get a 404 error.
As soon as I remove the "enctype="multipart/form-data" the form processes fine (except of course that pictures cannot be uploaded).
It works absolutely fine on my PC, anyone would have an idea what can cause this problem?
The full form tag is written this way:
<form method="post" id="add-property" action="<?=BASE_URL;?>admin/cms-add-property-action.php" enctype="multipart/form-data">
Thanks a lot.

AJAX Wordpress Site with Difficult URL settings

On this WordPress theme utilizing AJAX, proves to be difficult. The developer of the theme cannot seem to find the issue or solution to it.
This site runs beautifully, if, and only IF, you type is this complete URL "http://www.geigerandwood.com/#!//" if you type in the .com site alone, it will appear but will be disfunctional.
I have made attempts in 301 redirects, even creating a static page with a redirect but still no luck. Is there something that I can add or change in the code to make this work properly?
FYI - it has been tested on the common web browsers on both OSX & Windows.
Here is a video of my presented issue. http://www.screenr.com/D1G8
What theme do you use?
My quick examination of your page source code is that I only can find something related to the #!// is in here
<div id="contentBoxScroll">
<a id="closeButton" href="#!//"></a>
<div class="dragcontainer">
<div id="contentBoxScrollDragger" class="dragger">
<div class="scroll_up"></div>
<div class="scroll_down"></div>
</div>
</div>
</div>
I assume it must be something inside the script from which that HTML is generated. I can say more since I can't see the full source.

Resources