Forum Index > FlashYourWeb OS Support > MediaBlock New Topic Post Reply
 MediaBlock is working, but not in Joomla
 |  Printable Version
Anonymous: bgrande
 March 04 2010 06:09 AM (Read 1545 times)  


This works correctly in my IE:
http://gallery2.madagaskarhunden.dk/mediaBlock.php?g2_itemId=972&mode=dynamic&g2_view=dynamicalbum.RandomAlbum&limit=10&useThumb=1&column=5&useMicro=100

...but it doesn't work in Joomla index.php:
<?php @readfile('http://gallery2.madagaskarhunden.dk/mediaBlock.php?g2_itemId=972&mode=dynamic&g2_view=dynamicalbum.RandomAlbum&limit=10&useThumb=1&column=5&useMicro=100'Wink;?>

This one from the deom page works in my joomla index.php:
<?php @readfile('http://www.flashyourweb.com/gallery2/mediaBlock.php?g2_itemId=32&mode=dynamic&g2_view=dynamicalbum.RandomAlbum&limit=11&useThumb=1&column=4&useMicro=40'Wink;?>

MediaBlock has been altered to this:
$ret = GalleryEmbed::init(array('fullInit'=>true, 'embedUri'=>'/main.php', 'g2Uri'=>'/'Wink);

Any hint is appreciated.


 
Quote
Anonymous: bgrande
 March 04 2010 06:14 AM  


I tried without any luck two different gallery2 installations:
- version 2.2 and
- version 2.3.1


 
Quote
suprsidr
 March 04 2010 06:21 AM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

Several possibilities.
this user had extreme server security(which makes no sense to any of us)
http://gallery.menalto.com/node/94460
he tried cURL
http://www.flashyourweb.com/forum/viewtopic.php?showtopic=2296
and ultimately ended up using my last chance solution.
http://www.flashyourweb.com/filemgmt/index.php?id=38

You can check your php.ini and allow fopen wrappers if they are disabled, or ask your host.
try cURL and/or mediaBlockIncludes.

-s


There will always be...
 
Profile Email Website
Quote
Content generated in: 0.10 seconds
New Topic Post Reply



 All times are PDT. The time is now 08:37 PM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
HTML Allowed 
Censored Content