1
catra
Urgent help!!! Creating new block leads to an error
  • 2019/12/7 14:19

  • catra

  • Just popping in

  • Posts: 3

  • Since: 2019/12/7


Dear friends;
I'm using Xoops 2.5.5, and I faced with an un-usual error.
In my site, I have inserted more than 350 blocks.
In Admin Control panel, whenever I try to add a new block, the system shows me an error like the following:
Errors
None


In addition, my PHP version is 5.6

I checked the database, but I really don't know why the Xoops stopped working suddenly.
Please help me.
Thanks in advance.

2
catra
Re: Urgent help!!! Creating new block leads to an error
  • 2019/12/7 14:34

  • catra

  • Just popping in

  • Posts: 3

  • Since: 2019/12/7


I resolved the problem by my own.
I turned on the debug mode from Preferences-->System--General Settings.
Then, in the below information provided by turning on the debug mode, I checked the query executed by mysql.
I found a query marked by red color, and found that "option" field has no default value.
I opened phpMyAdmin, and edit the field by providing a default value with a NULL value.
Now, It's working fine.

3
Mamba
Re: Urgent help!!! Creating new block leads to an error
  • 2019/12/8 4:06

  • Mamba

  • Moderator

  • Posts: 11245

  • Since: 2004/4/23


Thanks for letting us know about your solution.

Recommendation: please update to XOOPS 2.5.10, as it fixes bugs, and provides important compatibility updates with PHP 7.0- PHP 7.3

Our next version, XOOPS 2.5.11, will provide compatibility with PHP 7.4.

All PHP 7.x version provide increased speed over PHP 5.x, so it is worth to upgrade.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

4
catra
Re: Urgent help!!! Creating new block leads to an error
  • 2019/12/8 5:42

  • catra

  • Just popping in

  • Posts: 3

  • Since: 2019/12/7


Thanks a lot Mamba for your quick reply, and also for your recommendation.
I have to discuss with my owner about updating to a newer version.

5
Mamba
Re: Urgent help!!! Creating new block leads to an error
  • 2019/12/9 0:05

  • Mamba

  • Moderator

  • Posts: 11245

  • Since: 2004/4/23


Just make sure that all the modules that you have are tested and working on PHP 7.x
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Username:
Password:

Lost Password? Register now!

Who's Online

65 user(s) are online (35 user(s) are browsing Support Forums)


Members: 0


Guests: 65


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