pmwiki+ iis+ fastcgi Permissions partially dened - iis

Recently ,I meet a problem ,that deploy pmwiki on our iis server,all things goes well.However,the problem occured,that ,our pmwiki has six group ,as we all know that,wiki must allow people to edit it content,the directory is like this:
![enter image description here][1]
the problem is that,I can change the defualt page ,howerver,can not edit the Group1~Group6 folder.
the iis setting is like this:
IE browser :http://your.domain/Group2/?n=Main.HomePage?action=edit
then the browse occured error:HTTP ERROR 405 POST DID NOT ALLOWED
how can I solve this problem ?
![enter image description here][2]
when i want to change the content of everygroup ,for example:

After F12 chrome debug, I found that it did not support HTTP POST method!

Related

normalize.css:undefined:undefined: plugin is not a function error

I am trying to upload a website on netlify but I get this error
enter image description here
but I don't know how the undefined problem came because it never occurred before.
This same problem also occurs in Visual studio code.
enter image description here
This is my second time uploading a website as I am very new to web development and I am 15years old.
I tried visiting the link given after the error message but it would say site not found aster that
I haven't tried anything as whatever I have found is confusing since it always has new terminologies.

Image won't show up on NPM, but shows up on Github

Working on this repo for an NPM module
the image shows up on Github (scroll down)
https://github.com/ORESoftware/suman
but on NPM, despite an HTTP 200 to retrieve the image from Github, it doesn't show up
https://www.npmjs.com/package/suman
this is all Markdown, and the markdown for the image is:
![alt text](https://github.com/ORESoftware/suman/blob/master/images/suman.png "Suman Primary Logo")
Anyone know why this markdown image tag doesn't work on NPM?
use this url (https://raw.githubusercontent.com/ORESoftware/suman/master/images/suman.png)
Your url link to a page not a image
This is because the url
https://github.com/mvsowndapan/react-dnd-crop/blob/master/asset/icons/labelIcon.png
requesting to the github page that contains the image, not the image itself.
To get the image just add ?raw=true at the end of the url
https://github.com/mvsowndapan/react-dnd-crop/blob/master/asset/icons/labelIcon.png?raw=true
like this. It works fine

Codeigniter Controller class login form : 404 page not found

Im trying to combine several tutorials about Codeigniter and bootstrap and understand per codes so i can integrate it in my project. What i am trying to do right now is create a login form using the two framework.
And i setup my View according to the turotial included in Codeigniter 'user_guide/tutorial/static_pages.html' which my landing page is named as 'home.php' is inside the folder 'pages' and header.php, and footer.php is inside the 'templates' folder. I created also a controller: Page.php.
I also use .htaccess to hide 'index.php'. Now i follow this tutorial how to create a login page:
http://learnjquerybootstrap.blogspot.com/2015/01/login-session-using-codeigniter-and-bootstrap.html?m=1
-the only difference is this since i use htaccess:
<?php echo form_open(clogin/index); ?>
But when I try to submit the page i receive a: 404 page not found.
My navbar links are working fine. I understand that the codeigniter works like this:
http://localhost/myfolder/index.php/class/function/
so when i submit my form the url that show up is:
http://localhost/myfolder/clogin/index
and gives me: 404 page not found.
Question:
What is wrong with it?
is there something wrong with the tutorial that i am using? i check other tutorials and the controller structure is just the same, like on this link:
http://www.kodingmadesimple.com/2014/08/how-to-create-login-form-codeigniter-mysql-twitter-bootstrap.html
do i need to include clogin.php in route.php?
or is it about the htaccess? my
uri_protocol
is configured as
'REQUEST_URI'
in config.php. i tried other options but still the same.
Don't need include to route.
I recommented ready auth library.
If you use DevTools in your browser maybe "Network" tab of devtools can help you to why you get 404 error.
i already firgured it out.The mistake was in the route.php, since i tried to combine two examples.. i realized that the wildcard route that i included from the Codeigniter user guide will not work with the Clogin.php.
Since it was set as
$route['(:any)']='pages/view/$1';
So the url works as
http://localhost/myfolder/pages/view/clogin
instead of
http://localhost/myfolder/clogin.
I removed it and now it is working.

TYPO3 Scheduler: The page is not configured! [type= 0][]

I have a problem with my scheduler in TYPO3 4.5.5. Every time a task is executed it fails with the following error message:
[scheduler]: Task failed to execute successfully. Class: tx_jobportal_apply, UID: 5. The page is not configured! [type= 0][]
There are 3 domains in my page tree, each having an own root template. The TypoScript Object Browser shows a setup with page.typeNum = 0
I don't know how I can comment on this, so I'll post it as an answer..
I'm guessing you are initiating the TSFE in the scheduler task. Did you specify a page-id, and if so, have you checked this page is under a specific root-page with a typoscript template that has a 'PAGE' configured?
It looks like Your extension jobportal sends an error, check manually the action You are trying to do with scheduler.
The problem is solved.
I made a file reference in the root template in which the PAGE object was configured, like this
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/typoscript/template-setup_main.ts">
After configuring the object directly in the setup of the template no more error messages appeared and now I am a lucky guy ;)
#Koopa: Thanks for the hint!

Google docs viewer not working

Using this code:
<iframe height="780" src="http://docs.google.com/viewer?url=http://ruh.kz/sites/default/files/doc/ritorika.pdf&embedded=true" style="border: none;" width="600"></iframe>
But all the time im getting this annoying message:
Sorry, we are unable to retrieve the document for viewing or you don't have permission to view the document.
By the way, i have read about ISP might block google docs. But i've checked another sites with google docs viewer and they seemed to work perfectly.
to embed your pdf without putting it in your server , just login to your gmail and upload it in google docs then copy the link and put it in your iframe's src
first you try with online version to view your file if it shows your file,you gave wrong url to iframe,if viewer does not show your file at embedded version and online version check your file size,file url and file permissions to viewer can reach your document.You can try your url, for example http://www.foo.com/bar.pdf paste in your browser,if url is right browser shows the file...

Resources