381
heyula
Re: myAlbum-P (3.07 RC 4) Install Error
  • 2022/10/9 16:58

  • heyula

  • Theme Designer

  • Posts: 594

  • Since: 2008/4/24


I recommend you to use wggallery module which is much nicer and more advanced.

Demo:
https://alfarabi.com.tr/modules/wggallery/

Download:
https://github.com/XoopsModules25x/wggallery



382
Eunydd
myAlbum-P (3.07 RC 4) Install Error
  • 2022/10/9 11:04

  • Eunydd

  • Just popping in

  • Posts: 4

  • Since: 2022/10/8


When following the normal System Admin > Modules install procedure I’m getting an Install error towards the end of the install log:

‘Failed to execute xoops_module_install_myalbum’
(curiously followed by ‘myAlbum installed successfully’ at the very end).

Subsequent attempts to access any of the myalbum menu functions results in ‘Page isn’t Working HTTP Error 500’

I think I’ve installed the downloaded module directories correctly? :
/xoops/modules/myalbum (code base)
/xoops/modules/sitemap
/xoops/modules/tag
/xoops/includes/ myalbum (containing /photos & /watermarks)

I’ve given everything the widest set of permissions (0777);
/xoops/includes owner:group is set to www-data:ww-data for everything
/xoops/modules owner:group is set to root:root for everything

Module access rights have been granted for Admin User under Groups.

I have also installed xLanguage, Publisher and QRcode which work fine.

I get the same error with myAlbum-P (3.07 RC 2).

What have I got wrong – has anyone else got this problem or is it just me ?!


XOOPS version is 2.5.10
PHP version is 7.4.30
MYSQL version is 5.5.5-10.5.15-MariaDB-0+deb11u1
ModuleAdmin version is 1.2
Running Turnkeylinux XOOPS appliance (17.1) - Debian/Linux 10 - inside VirtualBox VM.


DEBUG MESSAGES
Warningstrpos(): Empty needle in file /class/xoopssecurity.php line 173
Warning
fopen(/var/local/lib/xoops/data/protector/configcachea07794): failed to open streamPermission denied in file /var/local/lib/xoops/lib/modules/protector/class/protector.php line 184
Warning
fwrite() expects parameter 1 to be resourcebool given in file /var/local/lib/xoops/lib/modules/protector/class/protector.php line 185
Warning
fclose() expects parameter 1 to be resourcebool given in file /var/local/lib/xoops/lib/modules/protector/class/protector.php line 186
Unknown
filter_var(): FILTER_SANITIZE_MAGIC_QUOTES is deprecated, use FILTER_SANITIZE_ADD_SLASHES instead in file /modules/system/include/functions.php line 36
Unknown
filter_var(): FILTER_SANITIZE_MAGIC_QUOTES is deprecated, use FILTER_SANITIZE_ADD_SLASHES instead in file /modules/system/include/functions.php line 36
Unknown
filter_var(): FILTER_SANITIZE_MAGIC_QUOTES is deprecated, use FILTER_SANITIZE_ADD_SLASHES instead in file /modules/system/include/functions.php line 36
Unknown
: Function get_magic_quotes_gpc() is deprecated in file /class/module.textsanitizer.php line 538
Unknown
: Function get_magic_quotes_gpc() is deprecated in file /class/module.textsanitizer.php line 538
Unknown
: Function get_magic_quotes_gpc() is deprecated in file /class/module.textsanitizer.php line 538
Unknown
: Function get_magic_quotes_gpc() is deprecated in file /class/module.textsanitizer.php line 538
……
.



383
liomj
Re: How do i check a xoops smarty plugin exist ?
  • 2022/10/6 13:30

  • liomj

  • Just popping in

  • Posts: 80

  • Since: 2012/4/10


Yes thank you adding info in a readme file will be sufficient



384
Mamba
Re: How do i check a xoops smarty plugin exist ?
  • 2022/10/6 5:27

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


I don't think that you actually have to test it, if this is on a website that you manage. Just make sure that the plugin is uploaded there, and you're done, and there will be no error.

If you want to make it available for people to download, then just add info in the README file that they have to upload the plugin, similar to how it was done in the TdmStats module. If people don't do it and then complain, you can point to the Readme file and the info there.

Am I missing something?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



385
liomj
Re: How do i check a xoops smarty plugin exist ?
  • 2022/10/4 9:58

  • liomj

  • Just popping in

  • Posts: 80

  • Since: 2012/4/10


thank you Mamba. i think that should work but im not sure which php file should i put it if the <{xoStats}> is in the themes template



386
Mamba
Re: How do i check a xoops smarty plugin exist ?
  • 2022/10/3 20:41

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


You could also check in the PHP if the plugin exists and then assign a value to it. Maybe something like this:
$xoStatsExists file_exists(XOOPS_ROOT_PATH'/class/smarty/xoops_plugins/function.xoStats.php');
$xoopsTpl->assign('xoStatsExists'$xoStatsExists );
And then in the template:
<{if $xoStatsExists }>
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



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

  • Mamba

  • Moderator

  • Posts: 11373

  • 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



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

  • Mamba

  • Moderator

  • Posts: 11373

  • 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



389
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



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

  • Mamba

  • Moderator

  • Posts: 11373

  • 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




TopTop
« 1 ... 36 37 38 (39) 40 41 42 ... 29425 »



Login

Who's Online

314 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 314


more...

Donat-O-Meter

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

Latest GitHub Commits