Support

Admin Tools

#9943 Sound file player disappeared from site

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Tuesday, 12 July 2011 15:52 CDT

user40075
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the forum before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: (1.5.23)
PHP version: (5.3)
MySQL version: (unknown)
Host: (Rochen)
Admin Tools version: (2.1.2)


Description of my issue:

Hi Nicholas,

I was checking one of my site pages that contains playable audio files. The program is Pro Magic Audio Player. Here is the error message on the Public website page:

Warning: substr() expects parameter 2 to be long, string given in /home/mysite/public_html/modules/mod_nmap/mod_nmap.php on line 251

Here is the message on the module management screen:

Fatal error: Call to a member function children() on a non-object in /home/voegelin/public_html/modules/mod_nmap/elements/pjus.php on line 73

So I went to .htaccess maker and made exceptions in "allow direct access and php files for the files I am aware of:

modules/mod_nmap/
plugins/content/nmap/
plugins/sound_files

I also added these individual files:

plugins/content/nmap.xml
plugins/content/nmap.php

But all I got was the same error message with a non working image of the sound player. I note the type of player, etc:

type="application/x-shockwave-flash" id="nmap_32" data="http://www.mysitew.com/modules/mod_nmap/audio/nmaplayer.swf?id=32" width="360" height="260">

I checked the web page in Firebug and Google Chrome using the "Net" technique you previously recommended for a different problem, but there were no errors shown in either developer program.

I attached a screen shot of the public page appearance.

So there it is. And I am totally lost : )

Any suggestions appreciated.

Lowtech

nicholas
Akeeba Staff
Manager
Hi Lowtech,

The problem is not with Admin Tools. See the error message. You have a module (mod_nmap) which is not compatible with PHP 5.3 and causes this error message to appear. Please note that Rochen recently switched from PHP 5.2 to PHP 5.3. My guess is that by the time this change was applied, that module stopped working. You can try unpublishing the module and contact its developer for an update compatible with PHP 5.3.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user40075
Thanks, Nicholas!

I updated the ProJoom player to the pmap series from the nmap.

Then I deleted the exception folders I had put into .htaccess maker (because I like things tidy!). But the result was completely unexpected. NO AUDIO PLAYER visible at all!

Then I went back in and reinstalled the exception folders:

modules/mod_nmap/
plugins/content/nmap/
plugins/sound_files

And it works perfectly. (screen shot attached)

(Interesting, even though I installed the upgrade which calls the files "pmap," the file names on the server are still named "nmap" so I did not rename the three exception files.)

So, I think it was a player problem but also an access exception need, too. :)

Thanks for all you do!

Best,

Lowtech

nicholas
Akeeba Staff
Manager
OK, that earns an award of counter-intuitive component and directory naming :D Well, yes, exceptions are always required when (usually Flash-based) audio players are involved. I am glad you sorted that out!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!