1
Yurdal
Obituaries 2.4.1. Beta1 cant add new record
  • 2022/9/23 15:15

  • Yurdal

  • Friend of XOOPS

  • Posts: 386

  • Since: 2005/3/27


system : Xoops 2.5.11 Beta2, PHP 7.4.30, MariaDB 10.4

Cant add new record, adding new input show nothing on the screen
Normally there is an popup that shows the process but now it did not.

2
Mamba
Re: Obituaries 2.4.1. Beta1 cant add new record
  • 2022/9/24 22:14

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


I've uploaded some changes to my GitHub:https://github.com/mambax7/obituaries

Please check it out, and let me know if it works for you.

This is still work in progress, but at least on my PC I can add a new item. Right now I'm doing some cleanup for PHP 8.2
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
Yurdal
Re: Obituaries 2.4.1. Beta1 cant add new record
  • 2022/9/26 15:28

  • Yurdal

  • Friend of XOOPS

  • Posts: 386

  • Since: 2005/3/27


Hi Mamba, :)
Just tried to add an record and get this error now :
Error : TypeError: explode() expects parameter 2 to be string, array given

4
Mamba
Re: Obituaries 2.4.1. Beta1 cant add new record
  • 2022/9/29 9:24

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Did it say which line was it in the code?

I'll look into it this weekend.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

5
Mamba
Re: Obituaries 2.4.1. Beta1 cant add new record
  • 2022/10/3 10:02

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


I've made some updates. The latest files are on my GitHub:https://github.com/mambax7/obituaries

Please check it out, and let me know if it works for you.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

6
Yurdal
Re: Obituaries 2.4.1. Beta1 cant add new record
  • 2022/10/3 14:55

  • Yurdal

  • Friend of XOOPS

  • Posts: 386

  • Since: 2005/3/27


Hi Mamba, error is gone but still cant add new record.
Thanks for helping me

7
Mamba
Re: Obituaries 2.4.1. Beta1 cant add new record
  • 2022/10/3 19:22

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


I was testing here and it works fine.

I need more info about the errors. One thing that it might have impact is that I'm using MySQL, and you're using MariaDB.

Any chance you can send me a PM with access to your site, so I can see the errors there? This might help, because it has to be a reason why you can't add a record

Can you try a fresh install of the module? Maybe there is a conflict with your old installation?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

8
Mamba
Re: Obituaries 2.4.1. Beta1 cant add new record
  • 2022/10/3 20:06

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


OK, I tested it on MariaDB, and the problem was that it was looking for default value for the obituaries_comments field.

I have updated now the code on GitHub, so it should work for a fresh installation.

If you want to use your existing installation, go to PhpMyAdmin and change the default for the obituaries_comments field to:
"as defined" and set it to 0:

Resized Image


I'll try to add it later to the Update routine for the module.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

9
Yurdal
Re: Obituaries 2.4.1. Beta1 cant add new record
  • 2022/11/21 22:25

  • Yurdal

  • Friend of XOOPS

  • Posts: 386

  • Since: 2005/3/27


Thanks for sorting out Mamba, strange thing here is I dont have ant tabel regarding this module in phpmyadmin ?
Do I miss simply sql data here ?, what are the tables wich this module use can we regenerate it ?

regards

10
Mamba
Re: Obituaries 2.4.1. Beta1 cant add new record
  • 2022/11/23 3:43

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


You can always check the module's tables in the /sql/mysql.sql file.

For Obituaries, we have only one table:
users_obituaries

It will probably make sense to rename it in the future to just "obituary"
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

206 user(s) are online (72 user(s) are browsing Support Forums)


Members: 0


Guests: 206


more...

Donat-O-Meter

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

Latest GitHub Commits