0
Hi forum, i've done many Joomla installations with a lot of apps, but installing 'music solution' makes me weird.
Normally PHP is set to run as an apache module, but this often causes the known 'wwwrun' problem (user wwwrun becomes owner of all dirs/files it creates and often crashes with ftp-created items), so i switched my PHP to run as FastCGI / fcgi.
Joomla runs fine, everything can be installed without having to change any directory permissions etc.
Music Collection indeed makes many problems:
I tried to install the component (PHP as fastCGI) and it didn't create any of the necessary directories under /images. It didn't claim - just displayed about ten empty lines and some text, what directories should be there.
Wondering about that i created the dirs on my own.
Next step: I tried to start the Component in the Backend and got a lot of code:
$points) $grey="_grey"; $java = "id='star".$i."_".$album_id."' onclick='".$funcio."($i,$album_id);' onmouseover='stars($i,$album_id);' "; $add_java = ""; if($album_id) $add_java = $java; $return .= ""; } return $return; } function time_to_string($total_time){ $segons = $total_time % 60; if($segons = 60){ $minuts_60 = $minuts % 60; $hores = ($minuts - $minuts_60)/60; if($minuts_60 0){ $total_time = $hores.":".$minuts_60.":".$segons; } else $total_time = and so on...
I know this effect from another app and switched back to PHP/Apache module. It works better now but now it crashes due to wrong ownerships...
Any ideas to get it running with PHP/fastCGI?
Normally PHP is set to run as an apache module, but this often causes the known 'wwwrun' problem (user wwwrun becomes owner of all dirs/files it creates and often crashes with ftp-created items), so i switched my PHP to run as FastCGI / fcgi.
Joomla runs fine, everything can be installed without having to change any directory permissions etc.
Music Collection indeed makes many problems:
I tried to install the component (PHP as fastCGI) and it didn't create any of the necessary directories under /images. It didn't claim - just displayed about ten empty lines and some text, what directories should be there.
Wondering about that i created the dirs on my own.
Next step: I tried to start the Component in the Backend and got a lot of code:
$points) $grey="_grey"; $java = "id='star".$i."_".$album_id."' onclick='".$funcio."($i,$album_id);' onmouseover='stars($i,$album_id);' "; $add_java = ""; if($album_id) $add_java = $java; $return .= ""; } return $return; } function time_to_string($total_time){ $segons = $total_time % 60; if($segons = 60){ $minuts_60 = $minuts % 60; $hores = ($minuts - $minuts_60)/60; if($minuts_60 0){ $total_time = $hores.":".$minuts_60.":".$segons; } else $total_time = and so on...
I know this effect from another app and switched back to PHP/Apache module. It works better now but now it crashes due to wrong ownerships...
Any ideas to get it running with PHP/fastCGI?
Responses (2)
-
Accepted Answer
0it has nothing do to with fastCGI.. you didnt read the INSTALLATION INSTRUCTIONS!!!
http://www.joomlamusicsolutions.com/en/support/installation.html
please read point 3 on "Some important thoughs":
If you see some strange code on your music collection backend, that looks ugly... your short_open_tags PHP variable is OFF. You should turn it to ON, also on your php.ini file.
-
Accepted Answer
0Hey Germi,
thanks a lot for your quick reply.
short_open_tag is the key! Another user seemed to have a similar problem.
In my case the setting was different for 'PHP as Apache Module' (on) and
'PHP as fastCGI' (off).
Even i could not override it with .htaccess or php.ini i managed my admin to do so and it helped immediately.
By the way: I understood short_open_tag to be more like a cheap trick for coders to save a few signs.
Not many progs have problems with short_open_tag=off.
Why not consider this for the next version and fix that?
Would prevent a lot of users to search for hours.
Though - thanks a lot - i'll be back ;-)
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »