← Back to team overview

mahara-contributors team mailing list archive

[Bug 1933945] [NEW] Mahara: Invalid Parameter A required parameter is missing or malformed Missing parameter id

 

Public bug reported:

Mahara: Invalid Parameter

A required parameter is missing or malformed

Missing parameter id

---
when accessing /view/blocks from dashboard - "Latest Changes I can View" settings wheel


Probably a conflict with the CleanURL and .htaccess.

<IfModule mod_rewrite.c>
	RewriteEngine on
     
    # if redirected to url cleaner, redirect to actual lookup file and
	# these lines will keep the clean url visible in the browser
	RewriteRule ^u/([a-z0-9-]+)/?$ https://montessori.contact/user/view.php?profile=$1&%{QUERY_STRING} [L]
	RewriteRule ^u/([a-z0-9-]+)/([a-z0-9-]+)/?$ https://montessori.contact/view/view.php?profile=$1&page=$2&%{QUERY_STRING} [L]
	RewriteRule ^g/([a-z0-9-]+)/?$ https://montessori.contact/group/view.php?homepage=$1&%{QUERY_STRING} [L]
	RewriteRule ^g/([a-z0-9-]+)/([a-z0-9-]+)/?$ https://montessori.contact/view/view.php?homepage=$1&page=$2&%{QUERY_STRING} [L]
    
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
	RewriteRule ^ %1 [R,L]
           	
    # do not do anything if already existing file, symbolic link or directory   
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule ^(.*)$ $1.php [L] 

 </IfModule>

** Affects: mahara
     Importance: Undecided
         Status: New


** Tags: blocks view

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1933945

Title:
  Mahara: Invalid Parameter  A required parameter is missing or
  malformed  Missing parameter id

Status in Mahara:
  New

Bug description:
  Mahara: Invalid Parameter

  A required parameter is missing or malformed

  Missing parameter id

  ---
  when accessing /view/blocks from dashboard - "Latest Changes I can View" settings wheel

  
  Probably a conflict with the CleanURL and .htaccess.

  <IfModule mod_rewrite.c>
  	RewriteEngine on
       
      # if redirected to url cleaner, redirect to actual lookup file and
  	# these lines will keep the clean url visible in the browser
  	RewriteRule ^u/([a-z0-9-]+)/?$ https://montessori.contact/user/view.php?profile=$1&%{QUERY_STRING} [L]
  	RewriteRule ^u/([a-z0-9-]+)/([a-z0-9-]+)/?$ https://montessori.contact/view/view.php?profile=$1&page=$2&%{QUERY_STRING} [L]
  	RewriteRule ^g/([a-z0-9-]+)/?$ https://montessori.contact/group/view.php?homepage=$1&%{QUERY_STRING} [L]
  	RewriteRule ^g/([a-z0-9-]+)/([a-z0-9-]+)/?$ https://montessori.contact/view/view.php?homepage=$1&page=$2&%{QUERY_STRING} [L]
      
      RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
  	RewriteRule ^ %1 [R,L]
             	
      # do not do anything if already existing file, symbolic link or directory   
  	RewriteCond %{REQUEST_FILENAME} !-f
  	RewriteCond %{REQUEST_FILENAME} !-d
  	RewriteRule ^(.*)$ $1.php [L] 

   </IfModule>

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1933945/+subscriptions


Follow ups