MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: aphanciale on 2014-01-19, 07:14:46

Title: phpMyAdmin table sorting giving 403 error
Post by: aphanciale on 2014-01-19, 07:14:46
To duplicate just open phpmyadmin and go to a database table with more than 1 row. Click on a column header to sort values by that column. You will receive the Kloxo 403 error "Kloxo-MR: error 403 found!"

These are the things I have ruled out already.
File permissions and ownership OK.
Code: [Select]
-rw-r--r--  1 lxlabs lxlabs  59844 Dec  5 01:44 sql.phpTried adjusting haiwatha url length up with no success.
Code: [Select]
MaxUrlLength = 655360Tried adjusting php.ini per hiawatha's recommended settings.
Code: [Select]
cgi.fix_pathinfo = 0
cgi.rfc2616_headers = 1

After switching Kloxo-MR to use nginx it works fine. So it's not php settings or phpMyAdmin issue, but rather something in Hiawatha. Hoping you can help.
Title: Re: phpMyAdmin table sorting giving 403 error
Post by: MRatWork on 2014-01-19, 09:44:18
PHPMyAdmin in Kloxo-MR using hiawatha but PHPMyAdmin in cp.domain.com using certain webserver depend on what's we choose in 'Switch program'.
Title: Re: phpMyAdmin table sorting giving 403 error
Post by: MRatWork on 2014-01-19, 09:50:09
Hiawatha for Kloxo-MR only use 1 config file (see /usr/local/lxlabs/kloxo/init/hiawatha.conf
Title: Re: phpMyAdmin table sorting giving 403 error
Post by: quacos on 2014-07-23, 17:48:07
I had to disable SecureURL into /usr/local/lxlabs/kloxo/init/hiawatha.conf

Code: [Select]
SecureURL = no
Also a chattr +i is needed before restart because Kloxo MR keeps overwriting that file.

Code: [Select]
chattr +i /usr/local/lxlabs/kloxo/init/hiawatha.conf
service kloxo restart
Title: Re: phpMyAdmin table sorting giving 403 error
Post by: KloxoLittleFish on 2014-08-05, 17:37:29
solve it please  :)
Title: Re: phpMyAdmin table sorting giving 403 error
Post by: MRatWork on 2014-08-05, 23:41:47
Modified hiawatha.conf.base instead hiawatha.conf
Title: Re: phpMyAdmin table sorting giving 403 error
Post by: Spacedust on 2014-09-05, 19:24:47
This error is back again !!!
Title: Re: phpMyAdmin table sorting giving 403 error
Post by: jforsgren on 2014-09-10, 00:20:03
I am having the same sort error using apache with phpamyadmin, any ideas on how to fix this?

"Error in Processing Request
Error code: 403
Error text: Forbidden"
Title: Re: phpMyAdmin table sorting giving 403 error
Post by: MRatWork on 2014-09-10, 01:33:41
Report to phpmyadmin.net
Title: Re: phpMyAdmin table sorting giving 403 error
Post by: Spacedust on 2014-09-10, 21:03:46
I had to readd SecureURL = no to hiawatha.conf
Title: Re: i found solution for this error
Post by: hiteshpatel007 on 2017-07-09, 17:35:06
Open Kloxo Control panel > Servers > Localhost > File Manager > Usr > Local > Lxlabs > Kloxo > Httpdocs >  Thirdparty > PhpMyAdmin > Libraries > DisplayResults.class.php

open "DisplayResults.class.php" file in edit mode

find line in file (line number is 2189)

Quote
$draggable_html .= '" data-column="' . htmlspecialchars($fields_meta->name)
            . '">' . $order_link . $comments . '</th>';

and Replace with below line.

Quote
$draggable_html .= '" data-column="' . htmlspecialchars($fields_meta->name)
            . '">' . str_replace("%0A","+",$order_link) . $comments . '</th>';

now Save and login and check in PhpMyAdmin ..... ERROR Gone....