1
dogueDB
Pedigree Module - "Sorry You dont have permission to access this area"
  • 1/19 1:47

  • dogueDB

  • Just popping in

  • Posts: 3

  • Since: 1/19 1:31


Xoops Version 2.5.10
PHP Version 7.4

Hi

I am getting a "Sorry You dont have permission to access this area" when editing a pedigree and changing the father from unknown to a male dog.

Initially one of my customers has a hosted site that was not updated with newer versions of Xoops or the Pedigree Module.
The data had to be recovered and imported manually into the pedigree application.
The customer has reported the "Sorry You dont have permission to access this area" on the live database.

I have installed Xoops 2.5.10 on a hosted site with PHP 7.4 and a fresh inatsllation of Module Pedigree 1.31 Alpha 6.

I have only added 3 animals to the database to test adding a pedigree and editing.

I am able to add a new animal but when editing it I receive the "Sorry You dont have permission to access this area"

Thanks in advance for any assistance.

Regards

Michael

2
Mamba
Re: Pedigree Module - "Sorry You dont have permission to access this area"

Zyspec did some work on this module last year, so you might check out his version and see if it works for you:

https://github.com/zyspec/pedigree
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
dogueDB
Re: Pedigree Module - "Sorry You dont have permission to access this area"
  • 1/19 8:11

  • dogueDB

  • Just popping in

  • Posts: 3

  • Since: 1/19 1:31


Hi Mamba

Thanks for the link. I had downloaded the newer version but didnt want to upgrade to the latest version on the live server.

I upgraded to the version 1.32 but could not read existing data from the db .

I received errors trying to add to the DB i will uninstall the old version and try a fres install of Version 1.32 and see hor that goes.

Thanks

Michael

4
Mamba
Re: Pedigree Module - "Sorry You dont have permission to access this area"

Keep us posted about the progress, and any potential issues, and maybe we can help....
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

5
dogueDB
Re: Pedigree Module - "Sorry You dont have permission to access this area"
  • 1/19 11:35

  • dogueDB

  • Just popping in

  • Posts: 3

  • Since: 1/19 1:31


Hi

I have tracked it down to the updatepage.php lines 40 - 45 XoopsRequest::getString is returning the default value - blank

$table = XoopsRequest::getString('dbtable', '', 'post');
$field = XoopsRequest::getString('dbfield', '', 'post');
$field = $xoopsDB->escape('`' . $field . '`');
$dogname = XoopsRequest::getString('curname', '', 'post');
$name = XoopsRequest::getString('NAAM', '', 'post');
$gender = XoopsRequest::getString('roft', '', 'post');

if ('pedigree_' !== substr($table, 0, 9)) {
redirect_header(XOOPS_URL, 3, _NOPERM
}

I will look into it further tomorrow...

Thanks

Michael

Login

Username:
Password:

Lost Password? Register now!

Who's Online

57 user(s) are online (29 user(s) are browsing Support Forums)


Members: 0


Guests: 57


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits