-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no forum image in categories. virtual directory activate #76
Comments
This looks like a dup of #73 |
no virtual root but virtual directory |
You will need to provide more information. What's in your config.runtime.php? Have you pulled the latest code from github? Have you made any modifications? What does your .htaccess look like? |
# You may need to un-comment the following lines
# Options +FollowSymlinks
# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
# Options -MultiViews
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved frommodule mod_authz_host to a new module called mod_access_compat (which may bedisabled) and a new "Require" syntax has been introduced to mod_authz_host.We could just conditionally provide both versions, but unfortunately Apachedoes not explicitly tell us its version if the module mod_version is notavailable. In this case, we check for the availability of modulemod_authz_core (which should be on 2.4 or higher only) as a best guess.Order Allow,Deny Deny from All Order Allow,Deny Deny from All = 2.4> Require all denied Require all denied Order Allow,Deny Deny from All Order Allow,Deny Deny from All Require all denied Require all denied |
version: 2.0.0-b2 |
You don't have the latest code, you'll need to get it from github (not sure it's been merged yet into master). In the meantime, you could update .htaccess as shown below: FIND: /your-forum-root-here/ replace with yours. FIX RELATIVE PATHS : FILESRewriteRule ^.+/(style.php|ucp.php|mcp.php|faq.php|download/file.php)$ /your-forum-root-here/$1 [QSA,L,NC,R=301] FIX RELATIVE PATHS : IMAGESRewriteRule ^.+/(styles/.|images/.)/$ /your-forum-root-here/$1 [QSA,L,NC,R=301] |
config.runtime.php is in ext/phpbbseo/cache. |
I downloaded the package from here. |
true, 'modrtype' => 3, 'sql_rewrite' => false, 'profile_inj' => true, 'profile_vfolder' => true, 'profile_noids' => true, 'rewrite_usermsg' => false, 'rem_sid' => true, 'rem_hilit' => true, 'rem_small_words' => true, 'virtual_folder' => true, 'virtual_root' => false, 'cache_layer' => true, 'rem_ids' => true, 'redirect_404_forum' => true, 'redirect_404_topic' => true, 'copyrights' => array ( 'img' => false, 'txt' => '', 'title' => '', ), 'zero_dupe' => array ( 'on' => true, 'strict' => true, 'post_redir' => 'all', ), ); $forum_urls = array ( 1 => 'generale', 2 => 'presentazioni-saluti', 3 => 'discussioni', 4 => 'politica', 5 => 'religione', 6 => 'media', 7 => 'lavoro', 8 => 'istruzione', 9 => 'sanita', 10 => 'servizi', 13 => 'sociale', 14 => 'difesa', 15 => 'sport', 16 => 'ricerca', 17 => 'turismo', 18 => 'spettacolo', 19 => 'immigrazione', 20 => 'finanza', 21 => 'sicurezza-autorita', 22 => 'annunci', 23 => 'regolamento', ); |
Try updating your .htaccess as I suggested earlier. |
my root phpbb in /forum/ dont work my htaccess:
With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved frommodule mod_authz_host to a new module called mod_access_compat (which may bedisabled) and a new "Require" syntax has been introduced to mod_authz_host.We could just conditionally provide both versions, but unfortunately Apachedoes not explicitly tell us its version if the module mod_version is notavailable. In this case, we check for the availability of modulemod_authz_core (which should be on 2.4 or higher only) as a best guess.Order Allow,Deny Deny from All Order Allow,Deny Deny from All = 2.4> Require all denied Require all denied Order Allow,Deny Deny from All Order Allow,Deny Deny from All Require all denied Require all denied |
no images when view categories |
i have htaccess in the root phpbb. no domain |
Not sure what the problem is, you'll need to investigate. Start by using the actual URL of the "missing" category image (not sure what you mean by this... what's a "category image" anyway?) Try looking in the Chrome inspector (select where it should be and select "Inspect element"), then look at the HTML DOM. Of course, I'm assuming you have some basic programming skills above. If that's not the case, you will have to wait until one of the phpBB-SEO team members recreates it (I'm not available to investigate at this time). |
forum category in url |
I'm not following you. |
position forum image: http://revolutio.altervista.org/forum/images/forum_icons/ambiente.png work: http://revolutio.altervista.org/forum/ |
This looks like a template that isn't prosilver (I don't recognize "forum_icons"). The .htaccess RELATIVE PATHS "fix" only works for prosilver's subdirectories. If you have another template with other directories, you'll have to add .htaccess rules to map them. This is only necessary for the virtual folders options (dcz would have to explain why it's necessary; I don't know the specifics). |
Please note that :
and PLEASE do not post the whole source as this create a lot of unnecessary mess. The code is pretty close to stable now, but there are some bugs left at this stage. |
This is still an issue when you browse the category. Reason being, it uses the virtual folder, therefore it appends the virtual folder and then the relative path. This obviously results in a broken link www.myforum.com/my_category/images/read.png where it should actually be: www.myforum.com/images/read.png you can easily replicate it via ACP if you use an image in a forum in a category, then you browse the main category to see the broken images caused by the virtual folder. Main Cat -> forum 1 (image applied here) Now browse Main Cat and there you go the broken image on forum 1. |
hi, virtual directory activate. when view categories no forum image
The text was updated successfully, but these errors were encountered: