Search the Community
Showing results for tags '403'.
-
Hello, I'm new here, but I've been using PW for some time now, so far so good, but I have a problem with LoginRegister module. Some context : I have a website currently on Mamp's localhost : http://localhost:8888/sans-soleil/ I have a profile.php page and a connection.php page. When user is not logged in, he is redirected from profile.php to connection.php where Login/Register is used. The aimed setup : Not logged user are redirected to connection.php, after connection, they are redirected to profile.php The profile page contains everything to manage account The connection page is only there for registration and connection, not for account managing The Problem : The forms for login and the links to reset password & register are outputed, but when I try to login with a test user and click on the login btn or the register link I'm redirected to http://localhost:8888/sans-soleil/site/templates/?register=1, wich give me a 403, where I suppose I should have something like http://localhost:8888/sans-soleil/connection/?register=1. For the forgot password, the first link works, but after, when I submit the mail, I also get the 403. I tried the basic code provided in the documentation of the module, the more advanced version where you can give your own redirection target, and tried an other module (FrontEndUser). With everything I get the same 403 with the same url each time. I've bying searching the forum for some infos but gave me nothing that worked for me so far. I guess it as something to do with my install and not the module itself as two module have the same error, but I can't figure out what causes my problem. PS : The pro version of Login register will be better for my needs in the future, but I want to try out the regular, and make it work, obviously, before upgrading.
-
- loginregister
- 403 forbidden
-
(and 1 more)
Tagged with:
-
Hi all. Some days ago I migrated my website from local (xampp) to online. Everything works fine exept one thing. When i try to fill a field of the type "url" (with an external link) i get an 403 - forbidden message. Writting text in textfields , body etc. works. Now I don't know if the problem comes from processwire or the server itself... Did anybody have the same/similar troubles? Thanks for helping! cheers
-
Hi, I have an issue with a css file. In my templates folder is an »assets« folder with different subfolders like css, js and img. I uploaded the latest uikit3 css and js stuff to: assets --> uikit --> css and js. In my template I'm calling them like this: <link rel="stylesheet" type="text/css" href="<?php echo $config->urls->templates?>assets/uikit/css/uikit.min.css" /> This gives me an 403 error: GET http://mysite.com/site/templates/assets/uikit/css/uikit.min.css 403 (Forbidden) If I change the path to: <link rel="stylesheet" type="text/css" href="<?php echo $config->urls->templates?>assets/css/uikit.min.css" /> everything is fine. Is this a logic behavior from Processwire?
-
Hi folks! For a website Iam working on I need to (pre)load a huge amount of images (100-500) from a folder in assets (wich I upload via FTP). To preload them I want to add them to the DOM inside a container, that I hide with css. This images will be use for a frame by frame animation (that animates with scrolling) so they should be loaded parallel and if the user clicks a cancel button, the loading should be canceled. (My website is using ajax to load pages with different animations, and the loading of the second animation waits till the loading of the first animation is loaded completly, wich I want to prevent). I want to use ajax to do this, so I can cancel the loading with xhr.abort(); Here is my code: var folder = '{$config->urls->assets}sequenzen/test/'; xhr = $.ajax({ url : folder, success: function (data) { $(data).find("a").attr("href", function (i, val) { if( val.match(/\.(jpe?g|png|gif)$/) ) { $(".preloader").append( "<img src='"+ folder + val +"'>" ); } }); } }); this will give me a 403 forbidden error. After some research I found out that I have to put a .htaccess in my assets folder. I also tried putting it in the sub folder "test", where the files are, but Iam still getting the error. Is there anything else Iam missing? Is there a configuration in PW i have to change to do that?
-
Long time listener, first time caller... I have been working with ProcessWire for some time now and it has been amazing, my go to CMS. Previously my workflow had a local development setup through MAMP using an address like http://localhost:8888/websites/example.com. I have recently changed this in preference of http://dev.example.com, that way I do not need to disable the .htaccess forward from non-www to www to develop locally. My .htaccess forward is setup like: RewriteCond %{HTTP_HOST} !^dev\. [NC] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] This works on all sites that are still using ProcessWire 2.5, however on sites using 2.8 and 3.0 I am getting a 403 Forbidden error. After reading through the forum posts related to 403 errors I have not been successful in finding a solution for my issue. Has anyone experienced this or can assist? Thank you very much in advance, the forum community has been so helpful I have never needed to post until now.
-
Hello everyone! I’m starting my PW journey and I’m enjoying it so far However, I’m having the exactly same problem as posted here https://processwire.com/talk/topic/10073-image-not-showing-up-in-tutorial/?hl=%2Bimage+%2B403 I’m running MAMP 3.2.1 on OSX 10.10.3 The issue is that the image doesn’t load on the page. It just gives me a broken link. If I click on the broken link I get: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /site/assets/files/1015/ on this server.</p> </body></html> Here is my PHP code: <img src="<?php echo $page->promote->url; ?>" /> And my field to showed that I used the same name for it. More info: I changed the assets/file permissions to 777. It didn’t work. I changed MAMP user. It didn’t work. There is no error.txt under logs folder. There is no mod_security module. I hope I can get some help here. Regards, Daniel
-
Hello all, on a new project I want to use https://github.com/stevenrskelton/flag-icon which implements svg icons for country flags via webcomponents import. In the <head> I import the webcomponents polyfill js and the flag icons html with <script src="<?php echo $config->urls->templates; ?>bower_components/webcomponentsjs/webcomponents.min.js"></script> <link rel="import" href="<?php echo $config->urls->templates; ?>bower_components/flag-icon/flag-icon.html"> But I get a 403 error: NetworkError: 403 Forbidden - http://dev/pwtest/site/templates/bower_components/flag-icon/flag-icon.html For testing I did: 1. a clean install of html5-boilerplate (not in PW), added flag-icons through bower and linked the resources as above. Here I don't get the 403 error. 2. a clean install of processwire with the blank profile, added flag-icon through bower and linked the resources as above. And here I get the error again. I did this on 2 different servers. Same result. I also checked permission of the import file and they are fine (644). Then I tried to make a demo install on lightning.pw but the service exits with "We're sorry, but something went wrong." To me this seems to be a ProcessWire related problem. Maybe somebody can confirm this or has an idea what is happening? Thank you.
- 3 replies
-
- webcomponents
- polyfill
-
(and 3 more)
Tagged with: