I have a problem. And I am working on it now, for 4 days. I can't get imagecache to work on my site where phpbb3 is integrated. I did everything I found on the drupal site to get it working.
I found that with the integration of phpbb in drupal stops imagecache from working ( or viceversa )
The .htaccess file that needs to be placed in the forum directory blocks the creation of the imagecache directories and thumbnails.
RewriteEngine on
# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
#RewriteBase /
RewriteRule ^inbox$ ucp.php?i=pm&folder=inbox [L]
RewriteCond %{QUERY_STRING} ^mode=login(.)$
RewriteCond %{QUERY_STRING} !^bypass=true(.)$
RewriteRule ^ucp.php(.)$ ../phpbb/login [L]
RewriteCond %{QUERY_STRING} ^mode=register(.)$
RewriteRule ^ucp.php(.)$ ../user/register [L]
RewriteCond %{QUERY_STRING} ^mode=logout(.)$
RewriteRule ^ucp.php(.)$ ../phpbb/logout [L]
RewriteCond %{QUERY_STRING} ^mode=sendpassword(.)$
RewriteCond %{QUERY_STRING} ^mode=resend_act(.)$ [OR]
RewriteRule ^ucp.php(.)$ ../user/password [L]Above you see the .htaccess that needs to be copied in the phpbb forum directory.
When I change the .htaccess to the origenal phpbb3 .htaccess file in the forum directory imagecache has no problem. The problem here is that the shared directory is placed in the forum directory so that it can share avatars and files with the forum. The directory is :
'forum/shares' ( the .thaccess is placed in forum )
If I was running linux I probably could fix this problem by linking the shared directory to the root of the drupal home page, but I am running windows XP on my developers system :-).
I tried some stuff by changing the .htaccess yesterday but everything makes it worse. The thing is that when the thumbnails are there it works. But the creation of the thumbnails by imagecache fails. It seems that every Rewriterule that is done in the forum .htaccess file stops imagecache from creating thumbnails.
Anybody any idea how to fix this ?
AmigoB
- Windows XP
- apache 2.2.4
- msql 5.0
- php 5.2.3
- drupal 5.2
- phpbb module for phpbb3
- imagecache 1.3