61
audizioni
newBB 5.1.0 error admin

Good morning. I'm trying various modules on the updated site.
The newBB module gives me the following error on the administration side:
Error: Error: Call to undefined function exec() in file /modules/newbb/admin/index.php line 74
Can you help me?

www.audizioni.it
XOOPS Version XOOPS 2.5.11-Stable
PHP Version 8.1.23
MySQL Version 5.7.33-36-log
Server API fpm-fcgi
OS Linux
fsockopen On
post_max_size 25M
max_input_time 60
output_buffering 4096
max_execution_time 300
memory_limit 512M
file_uploads On
upload_max_filesize 25M



62
audizioni
Re: XOOPS 2.5.11 search user is not working

I have the same problem (www.audizioni.it) after upgrading to XOOPS 2.5.11:
Fatal error: Type of SmartyCompilerException::$line must be int (as in class Exception) in /web/htdocs/www.audizioni.it/home/site/class/libraries/vendor/smarty/smarty/libs/sysplugins/smartycompilerexception.php on line 8



63
Mamba
Re: XOOPS 2.5.11 search user is not working

Thanks for letting us know.

I was able to replicate it, and I'll be looking into it, hopefully soon. I'll keep you posted.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



64
ceca69
XOOPS 2.5.11 search user is not working
  • 1/5 16:11

  • ceca69

  • Just popping in

  • Posts: 8

  • Since: 2003/9/29


Hi,
in the same PC is running php 7.3.33 and mysql 5.7.33
in my old env xoops 2.5.10
url /modules/system/admin.php?fct=users
when I access the page you will see the list of the user registered
if I press SEARCH button I can still see the list of the users
if I type 'ceca' (for example) and press SEARCH I see in list just one user (as it should be)

in the 2 new site in 2.5.11
where one is upgraded and one is fresh installed
same page url /modules/system/admin.php?fct=users
the behavior is the same for both new site
when I access the page you will see the list of the user registered
when I press SEARCH button the list is empy
If I search for a username I always receive not found and what I typed in the field disappear

Let me know if you need more info to troubleshoot
Carlo



65
Mamba
Re: Assign Smarty variable to PHP with XOOPS 2.5.11-Stable

In Smarty 3, the tags are no longer supported. Instead, you need to use Smarty's built-in functions and modifiers to accomplish tasks that previously required PHP code.

If you need both $cid and $catid, then you can use Smarty's $smarty.template_vars variable to access the template variable value instead of get_template_vars():

{assign var="cid" value=$downloads.cid}
{
assign var="catid" value=$smarty.template_vars.cid}


The $smarty.template_vars variable contains all assigned template variables and their values. So you can access the value of $cid through $smarty.template_vars.cid in place of the PHP code.

This allows you to eliminate tags and leverage Smarty's features and syntax to access template variables and perform other logic in the template.

Let us know if this worked
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



66
liomj
Assign Smarty variable to PHP with XOOPS 2.5.11-Stable
  • 1/3 3:29

  • liomj

  • Just popping in

  • Posts: 80

  • Since: 2012/4/10


lasttime before the xoops upgrade to smarty 3 this is working
<{assign var="cid" value=$downloads.cid}>    
<{
php}>
$catid=$this->get_template_vars('cid'); 
<{/
php}>


now after using
XOOPS 2.5.11-Stable with smarty 3

i receive this error
Error ErrorUsing $this when not in object context


how to update this code ?



67
liomj
Mymenus Module with XOOPS 2.5.11-Stable
  • 1/2 2:46

  • liomj

  • Just popping in

  • Posts: 80

  • Since: 2012/4/10


Hi anyone have a working mymenus module with XOOPS 2.5.11-Stable

i have a site using the following environment and is working fine

myMenus version 1.3
XOOPS Version XOOPS 2.5.11-Beta2
PHP Version 7.4.29
MySQL Version 5.5.5-10.4.24-MariaDB


now i would like to try XOOPS 2.5.11-Stable and i have tried using the following environment
----------------
mymenu version 1.54 Beta 2 (https://github.com/xoopsmodules25x/mymenus)
XOOPS Version XOOPS 2.5.11-Stable
PHP Version 7.4.33
MySQL Version 5.5.5-10.4.27-MariaDB
Error : menu is not appearing
Only variables should be assigned by reference in file /modules/mymenus/blocks/mymenus_block.php line 28
Unknown: Non-static method MymenusRegistry::getInstance() should not be called statically in file /modules/mymenus/blocks/mymenus_block.php line 35
--------------------
Mymenu version: 1.54 Beta 5 (https://github.com/mambax7/mymenus)
XOOPS Version XOOPS 2.5.11-Stable
PHP Version 8.2.12
MySQL Version 10.4.32-MariaDB
Error : SmartyException: Unable to load template 'db:mymenus_block.html



68
alain01
Migration to 2.5.11 final
  • 1/1 19:19

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Hi,
in the process of migration,
I read: "copy /upgrade (...) then run /upgrade/preflight.php"

I think we should read : "copy /themes to the themes direxctory then" "copy /upgrade (...) then run /upgrade/preflight.php"

Why ?
Cause we run on a XOOPS 2.5.11 RCx version, We need to update the very last version of the files in the theme directory otherwise we get lot of error that they are already ok in the final version.

I used the automatic coorection:
"Click the "Yes" checkbox below and then click the Run Scan button to try to automatically fix any issues found."

it works fine in 2 steps !

Then the process for the module is fine but same think, we need to copy /modules directory in the module XOOPS directory

Then I copied others directories the the upgrade finish
Very very good work, dev team !

A least, I think the process is not clear.
- Either we copy the full directories in the root (for xoops_data + xoops_lib, copy in the special secure directory) then launch the whole process
- Either we copy /upgrade in the root directory + /themes in /themes, and /modules in the modules directory then launch the process, preflight, then copy other directories then launch the upgrade process.



69
againyear
Re: Error with the search in this forum
  • 12/29 7:07

  • againyear

  • Just popping in

  • Posts: 1

  • Since: 12/18 3:20


I confirm, thanks



70
Mamba
Re: Error with the search in this forum

Excellent news!

Thank you for the testing and for letting me know!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 29424 »



Login

Who's Online

153 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 153


more...

Donat-O-Meter

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

Latest GitHub Commits