Upgraded Magento from 1.9.3.4 to 1.9.3.6 - magento-1.9

I upgraded Magento from 1.9.3.4 to 1.9.3.6 and now store is working well but products showing only in categories but not on the home page in "new/featured" sections.
Also when I'm trying to add new product and trying to upload image progress bar going to 100% and gives message "Image was not uploaded"...
Everything worked fine on 1.9.3.4.

I found solution for one problem.
Featured and new products was not showing at homepage.
I just add static blocks names used on my homepage for featured and new products in to Permissions->Blocks and allowed them.
But product image uploading still not working :(
After press browse and pick picture, pressing upload - progress bar goes to 100% and returns error message "file was not uploaded"

We had the same issue on one of our stores. For us it was the .htaccess file in the media folder. Please check your server logs for any errors in the htaccess.
For us the following settings were blocked on server level:
Options All -Indexes
Options -ExecCGI

Related

Problem with internal linking after website migration to GCP

So, I have migrated my websites to Google Cloud Platform, and that works fine, most of it. But, some links have some issues with the permalink format. For example, I have an internal link to my other page and the link is something like mywebsite.com/some-page, but for some reason after migrating some links turned to mywebsite.com/some-page/some-page/. I check the HTML code, and it looks fine. Here's an example page:
https://sewingmachinelife.com/learn-how-to-sew-different-clothing-materials/
Near the bottom you have these 2 internal links:
If you click them you'll see that one of them is fine, and one of them is not. I have this issue with 3 more websites migrated to GCP. Any ideas why this happened?
Here's the HTML code:
<h3>Silk and Satin</h3>
Silk and satin are materials made for perfect elegant dresses, skirts, blouses, or exclusive bed sheets.
I think I see the problem now:
Both links contain a category name (/beginner-info/) in the link target URL:
https://sewingmachinelife.com/beginner-info/10-tips-for-sewing-with-silk
and
https://sewingmachinelife.com/beginner-info/10-tips-for-sewing-with-satin-fabric
This is not a valid url, because your permalink structure is currently set to Post Name and not to:
/%category%/%postname%/
So what happens is that WordPress tries to find the correct item via the slug and redirects to it:
Satin gets correctly redirected to the right place (same url without the category) because it has a unique slug.
Silk on the other hand share a slug with an attachment (image) and gets redirected there (that's why you see the slug twice - note the attachment name)
To solve all this you will either need to change the Permalink structure one last time to Custom Structure -> /%category%/%postname%/
OR
You can remove the category from all the links in your content (e.g. replace every sewingmachinelife.com/beginner-info/ to sewingmachinelife.com/ (You'll need to do that for all categories)
Did you try to refresh the WordPress permalinks after the migration?
Go to Dashboard >> Settings >> Permalinks and under 'Common Settings' - note the current selection and then select 'Plain' and save changes.
You then revert back to your original permalink structure of choice - this usually resolves such problems (don't forget to also clear the cache if your using a cache plugin)

Browser treating link as download, should be page hyperlink

This is driving me crazy. I can't see the logic in to why this is happening and not even really sure how to search for the issue.
I have a menu with links to pages. Suddenly for no reason, my browsers is downloading some menu links as if it was a file link. I've tried reordering the pages in the CMS and changing the page url but it still happens. Its fine on my local machine dev site.
I get this error: "Failed to load resource: Frame load interrupted"
Which others have had but refers to file links, which mine is not.
Website here
Just hit Menu at the top > Collections > Automotive
If this loads for you try using the Menu again to choose a different catalogue and it should re create the error above.
In the end I talked to the hosting company who said:
"I’ve adjusted the openbasedir settings so that you can open files outside of the directories which domains are restricted to as standard."
This has revolved the issue.

DokuWiki clicking on link displays FORBIDDEN page

I have searched the Forums and elsewhere for an answer... I'll keep researching but hoping that someone has run into this before...
I am using the latest download version of the “Closed” DokuWiki. I am building a Knowledgebase of forms and processes. I created a Start page and Menu page for all users to view, anything beyond that requires a login.
As admin, I can see all images and have access to all links. Click the link, the forms displays perfectly. (So no issue with capital letters or spaces).
However, when I login as a User, I can access all of the pages and see all of the text, but when I click on a link, the same Form as admin, instead of the form displaying in a new page, a new page is displayed with the word “Forbidden”.
So, I'm fairly sure it's an ACL issue. For example, I have the page “Office Administration” available to all Users. Do I need to somehow create a namespace or new page for all of the links, then give permission again? I was hoping that by making the page accessible to all users, this would also allow them the click on all of the links on that page as well??
How do I make the links accessible to all users? Image links are displayed to admin only. Not even registered users can view the images... text is fine... images show as broken links.
Appreciate any help you can offer! I have only been using DokuWiki for a couple of weeks but I am very happy with the results for far!
It was definitely an ACL (Access Control List) issue... so many settings...
I changed the Root* access to Upload and set the Start and Menu pages to Read only. From here on out it's setting permissions per user. whoo-hoo!

Images Not Displaying on HTML Index Page, but Show up on All Other Pages

I have quite the conundrum. Background- I have a webpage I made for fun as an easter egg for an internal site on my company's network. The index page isn't rendering the images and it's giving off a 404 not found error, even though I've triple checked and they're in the appropriate directory and I can open them up and view up without issue.
Pages that are linked to the index page DO get their pictures rendered. The webpages and the pictures are both in their own directories so I'm really not sure what could be going on. The tag is correct as well as the file name.
For example-
On my index page I have <img src="pics/opslogo.jpg"> which should point to http://[internal site]/html/Old_Ops_Website/pics/opslogo.jpg, which it does according to the page source, but it doesn't render even though I know the picture is in there.
On a separate page I have <img src="pics/connection.jpg"> which should point to http://[internal site]/html/Old_Ops_Website/pics/connection.jpg, which it does, and it DOES render correctly.
Interestingly enough the pictures that won't render when hitting the site from the network DO render correctly on the host machine itself.
Here are the paths, taken from "copy-shortcut", to the images from the non-working page and a working one, respectively-
http://[internal site]/html/Old_Ops_Website/pics/ops-logo.jpg
http://[internal site]/html/Old_Ops_Website/pics/connection.jpg
Given those pieces of information, I'm absolutely bewildered as to why this isn't working.
Not sure if it makes any difference but the actual root of the website is located in "C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ROOT" while the page I'm working on is located in "C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ROOT\html\Old_Ops_Website". Both directories have index files.
I tried changing the index file to "test.html" and hitting it via "http://[internal site]/html/Old_Ops_Website/test.html" with the same results.
Also tried "<img src="./pics/opslogo.jpg"/>", just in case, but no-go still.
Next steps taken-
Ok so I tried it with the images that I know for sure to be working on other pages and they show up on the index page as well. I still don't understand why the others won't show up since all the images are located in the exact same directory and when viewing the website from the host server all images render correctly. Next I tried to link the images that aren't working to one of the other pages and they don't work there either. I've triple checked and the images are definitely in the right directory and in the correct format and I can open them up and view them.
What could be causing these specific images to not render on any of my pages, yet they render perfectly from the host machine itself?
Edit, more details-
I went ahead and set the site up on my public dev server- here. As you can see here- pics the photos are in the correct directory, the HTML page is referencing the correct images, but nothing is coming up. FYI - I didn't create this site. This is about 10-15 years old which is why I'm hiding it on our current site as an easter egg for people to get a laugh at.
don't you realize your file name is wrong.
try:
<img src="pics/opslogo.JPG"/>

Error When Loading Images on Local Host Test Server

I have a peculiar problem that I just can't seem to find an explanation.
I'm working on an AngularJS site for our family and am integrating data from various web services. Currently I am working on the photos section which will integrate in photos from our Flickr account.
I have a main page which lists the various photo sets and displays the set's primary photo along with the title. (Note: I'm using the Flickr 'extras' parameter to return the primary photo's URL in the API calls.)
<div data-ng-repeat="p in vm.photoSets">
<a ng-href="#/photos/{{p.id}}">
<img ng-src="{{p.primary_photo_extras.url_s}}"></img>
</a>
<h4>{{p.title._content}}</h4>
</div>
When clicking on the photo, the routing will display a page with a list of all the photos from that set, showing the image and the title.
<div data-ng-repeat="p in vm.photoSetData.photo">
<a ng-href="#/photos/{{vm.photoSetId}}/{{p.id}}"
<img ng-src="{{p.url_s}}"></img>
</a>
<h4>{{p.title}}</h4>
</div>
Now, here's where the problem is occuring. When I upload the code to my public website on my hosting provider, everything works just fine. Both pages display their respective photos. However, when I attempt to run the site on my local system, either in MAMP or NodeJS (using http-server), the second page gives me an error for each image:
Error: [$interpolate:interr] Can't interpolate: {{p.url_s}}
Error: [$sce:insecurl] Blocked loading resource from url not allowed by $sceDelegate policy. URL: https://farm1.staticflickr.com/37/82749767_e82ff60ce3_m.jpg
http://errors.angularjs.org/1.2.9/$sce/insecurl?p0=https%3A%2F%2Ffarm1.staticflickr.com%2F37%2F82749767_e82ff60ce3_m.jpg
http://errors.angularjs.org/1.2.9/$interpolate/interr?p0=%7B%7Bp.url_s%7D%7D&p1=Error%3A%20%5B%24sce%3Ainsecurl%5D%20Blocked%20loading%20resource%20from%20url%20not%20allowed%20by%20%24sceDelegate%20policy.%20%20URL%3A%20https%3A%2F%2Ffarm1.staticflickr.com%2F37%2F82749767_e82ff60ce3_m.jpg%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.2.9%2F%24sce%2Finsecurl%3Fp0%3Dhttps%253A%252F%252Ffarm1.staticflickr.com%252F37%252F82749767_e82ff60ce3_m.jpg
minErr/<#http://localhost/scripts/angular.js:78
$interpolate/fn#http://localhost/scripts/angular.js:8254
$RootScopeProvider/this.$get</Scope.prototype.$digest#http://localhost/scripts/angular.js:11800
$RootScopeProvider/this.$get</Scope.prototype.$apply#http://localhost/scripts/angular.js:12061
done#http://localhost/scripts/angular.js:7843
completeRequest#http://localhost/scripts/angular.js:8026
createHttpBackend/</jsonpDone<#http://localhost/scripts/angular.js:7942
jsonpReq/doneWrapper#http://localhost/scripts/angular.js:8039
jsonpReq/script.onerror#http://localhost/scripts/angular.js:8053
The API call to Flickr is successful and returns the correct data. In fact, the image title does display! I've tested it with Firefox, Safari and Chrome...all three browsers fail.
I cannot find any explanation as to why it would work remotely but fail locally. Also, the images show up on the first page, but not on the second, even though one of the images on the second page is the same image URL as on the first page. Even going directly to the second page, bypassing the first page, still fails.
Any ideas on how to fix this? It would be nice to test locally without having to upload to the server each time I make a change.
Update:
I have shut off the $sce security to see if that was causing the issue. Although it resulted in turning the error off, the files still don't load on the local test server. I have used the developer tools' network monitor and it doesn't even show an attempt to retrieve the files. AngularJS appears to shut down the retrieval, although the correct path shows up in the DOM.
Based on the symptoms, it just seemed that something was wrong with the second page. After looking through the DOM, I noticed something strange about the a and img tags. It seemed that the entire img tag was embedded into the a tag.
So, I went back to the html markup and noticed the missing closing bracket. The entire issue was caused by the a tag not being properly closed.
I'm still trying to understand the error that AngularJS was throwing and how it would relate to the incorrect markup.