[solved] ImageFrame Module / Carbon: Error (ERROR_BAD_PARAMETER)
|
Freelancealot
Joined: 2009-08-18
Posts: 36 |
Posted: Thu, 2009-08-27 02:30
|
|
Hi I've posted on the mediaBlock site forum about an issue with links from the mediaBlock on the root album page having GALLERYSID=TMP_SESSION_ID_DI_NOISSES_PMT at the end of the url. I want to know how to get rid of this and have a 'prettier' url. I'm using the url rewrite module with Gallery 2.3 (Carbon), but this doesn't seem to be having any effect. The site is also quite slow to load and I wonder if this could be causing the problem, or at least contributing to it. When I looked in the Event Log details in Gallery2 I found the following 'Gallery Error''. Quote:
Event Details The call to the mediaBlock includes some parameters and I wonder if this is causing some problem with the imageFrame module? {php} @readfile('http://www.mysite.com/gallery2/mediaBlock.php?g2_itemId=7&mode=dynamic&g2_view=dynamicalbum.RandomAlbum&limit=24&useThumb=1&column=6&useMicro=40');{/php} Any pointers gratefully received. Cheers, Tracy
|
|
| Login or register to post comments |

Posts: 3170
Is the imageframe module installed/active in your gallery?
if you look through mediaBlock.php you will see several forceSessionId => true
replace them with forceSessionId => false
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 36
Hi,
Okay, thanks for pointing that out. (blush!)
I've now activated the plugin, and made the changes to forceSessionId instances in mediaBlock.php, but I'm still getting http://www.mysite.com/gallery2/main.php?g2_itemId=140&g2_GALLERYSID=TMP_SESSION_ID_DI_NOISSES_PMT
It seems there's a problem with the permissions on the images for imageFrame module, as I'm getting 'forbidden' when I look at the browser activity log for files such as:
I've changed (CHMOD) permissions of the modules/ImageFrame/frames and images folders to 744 (it was on 700). But I'm still getting a Forbidden in the activity list. Also, when I go to imageFrame sample page none of the images are showing.
Any ideas?
I would like the mediaBlock links be the same as the normal Gallery2 links - for example, the above picture link is usually http://www.mysite.com/gallery2/v/self-portraits/chinese-dragon.jpg.html - will that be possible?
Thanks for your help.
Cheers,
Tracy
Posts: 36
Okay. Probably a cache issue, but the url is now cleaned up and showing http://www.mysite.com/gallery2/main.php?g2_itemId=61, so thanks, you've sorted that issue out for me.
I'm still getting forbidden in the browser activity list when I visit the page with mediaBlock on, and the imageFrame sample page is still not showing the frame images?
Any ideas?
Cheers,
Tracy
Posts: 3170
try 755 recursively
chmod -R 0755 /system/path/to/modules/ImageFrame/
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 36
Thanks, that seems to have done the job.
Cheers,
Tracy