1
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
……
.

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

  • heyula

  • Theme Designer

  • Posts: 596

  • 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

3
Eunydd
Re: myAlbum-P (3.07 RC 4) Install Error
  • 2022/10/10 8:29

  • Eunydd

  • Just popping in

  • Posts: 4

  • Since: 2022/10/8


UPDATE

Even on a clean build with no other Modules added and no Updates to the core modules, the install still fails with:

Failed to execute xoops_module_install_myalbum

Debug:
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
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
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
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
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
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
Notice
Only variables should be assigned by reference in file /modules/myalbum/include/oninstall.inc.php(11) : eval()'d code line 19
Notice: Only variables should be assigned by reference in file /modules/myalbum/include/oninstall.inc.php(11) : eval()'
d code line 19
Notice
Only variables should be assigned by reference in file /modules/myalbum/include/oninstall.inc.php(11) : eval()'d code line 19
Notice: Only variables should be assigned by reference in file /modules/myalbum/include/oninstall.inc.php(11) : eval()'
d code line 19
Notice
Only variables should be assigned by reference in file /modules/myalbum/include/oninstall.inc.php(11) : eval()'d code line 19
Notice: Only variables should be assigned by reference in file /modules/myalbum/include/oninstall.inc.php(11) : eval()'
d code line 19

4
Eunydd
Re: myAlbum-P (3.07 RC 4) Install Error
  • 2022/10/10 12:48

  • Eunydd

  • Just popping in

  • Posts: 4

  • Since: 2022/10/8


Thanks for the tip - wggallery is very impressive.
However, I picked myAlbum-P because it allows any MIME type/file extension to be specified, such as .pdf .docx .wav. It is also cloneable.
As well as image files, I want to create a clone in order to upload audio files (.ogg .mp3).
Do you know of any other module that can do this ? (I think it is why myAlbum-P remains such a popular module).

5
liomj
Re: myAlbum-P (3.07 RC 4) Install Error
  • 2022/10/11 8:06

  • liomj

  • Just popping in

  • Posts: 94

  • Since: 2012/4/10


Hi

try the latest myalbum version from Github. I test in my local server and it install fine

Download
https://github.com/XoopsModules25x/myalbum/archive/refs/heads/master.zip

https://github.com/XoopsModules25x/myalbum/

6
Eunydd
Re: myAlbum-P (3.07 RC 4) Install Error
  • 2022/10/12 9:11

  • Eunydd

  • Just popping in

  • Posts: 4

  • Since: 2022/10/8


@liomj

Thanks, this worked for me, problem solved !

7
Mamba
Re: myAlbum-P (3.07 RC 4) Install Error
  • 2022/10/22 21:27

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


If you're interested, you can test the recent changes that I've made to MyAlbum:

https://github.com/mambax7/myalbum

Please note: this is "work in progress", i.e. bugs are expected, therefore don't use it on a production site. But if you could test it on your "test site", it could help us in fixing any other bugs
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

388 user(s) are online (277 user(s) are browsing Support Forums)


Members: 0


Guests: 388


more...

Donat-O-Meter

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

Latest GitHub Commits