![]() |
Long thread titles won't load
Hi guys,
I've had to upgrade my board due to a hacker taking over the site (needed full restore, including the sql databaes!) Anyway, all is good, but I have one issue. It a thread has a long title (eg, 2004 Allroad - Relay clicking noise from glove box and flat battery :-( ), and you click on it, internet explorer comes up with an error that the page can not be displayed. The URL is: http://www.ozaudi.com/forums/showthr...flat-battery-( Any suggestions? I'm assuming it's a setting that I need to change, but don't know what to do. Any help REALLY appreciated. |
|
thanks for your help.
I tried adding in "ini_set('memory_limit', -1);" to the config.php file, but still the same result (not sure if I had to do anything else, or just wait for it to recognise the new setting). I'm looking for the php.ini file, but can't find it on the site... I'll keep on looking.. I did manage to find php config though... Directive Value asp_tags Off file_uploads On include_path .:/usr/lib/php:/usr/local/lib/php max_execution_time 30 max_input_time 30 memory_limit 96M register_globals Off safe_mode Off session.save_path /tmp upload_max_filesize 32M --------------- Added [DATE]1280313633[/DATE] at [TIME]1280313633[/TIME] --------------- More on the error I get when trying to open a 'long titled' thread: Internet Explorer cannot read this webpage format HTTP 406 What you can try: Go back to the previous page. More information This error (HTTP 406 Not Acceptable) means that Internet Explorer was able to receive information from the website you visited, but the information was not in a format that Internet Explorer can display. For more information about HTTP errors, see Help. --------------- Added [DATE]1280314734[/DATE] at [TIME]1280314734[/TIME] --------------- In the mean time unitl I resolve this, is there a way to set a maximum length (say 55) for threads? |
|
thanks for that. Just working with the guys to find the php.ini file as I can't find it, or I don't have access to it :-)
|
Try taking the -( off the end of the thread title.
|
Quote:
It's definately to do with the length of thread as I have many more with the issue (and some just have 'normal' text).. |
Did you try it?
|
no, but have with others.
The problem is that you can't modify the thread title once its been entered. Only way to do it is to go in to the sql database and remove from there... |
Quote:
--------------- Added [DATE]1280360196[/DATE] at [TIME]1280360196[/TIME] --------------- I just made a thread with the tile: 2004 Allroad - Relay clicking noise from glove box and flat battery :-( ) and clicking on it takes me straight to the thread. Is this happening on another page in the thread? |
ok, I'm getting closer in solving this one...
It seems that when you click on a thread or post, it includes the thread id AND the thread header in.... not sure why... If I remove the thread header and just have the post ID, it works... EG: http://www.ozaudi.com/forums/showthr...I-install-themcompared to me just typing in: http://www.ozaudi.com/forums/showthread.php?28609....which works fine..... Any ideas how to turn this off so it doesn't include the thread header ? |
Have you checked with your host to see if this is a mod_security issue on their end? Like I said, it works fine for me on my site.
|
no I haven't, not sure what to ask them :-)
The same content worked fine in vbuleltin 3.8..... had to upgrade the other day as we got hacked badly (actually removed the sql database!), so it was time to upgrade... --------------- Added [DATE]1280362724[/DATE] at [TIME]1280362724[/TIME] --------------- I've actually got 4 other boards with the same probelm. They were upgraded many months ago, some were new boards, but all with the same issue...... It's got to be a setting somewhere, just need to find it :-) --------------- Added [DATE]1280363078[/DATE] at [TIME]1280363078[/TIME] --------------- Quote:
|
Quote:
|
ok, thanks. I'll check with the hoster and see what they/I can come up with.
Many thanks for your help :-) |
Please let me know what you find out from them.
|
Can you post your ".htaccess"
|
respone from hosting site:
im afraid we dont permit adjustmnents of the php.ini file anymore on a site by site basis having said that the memory limit is 96Mb and Max Post size is 32Mb and there should be no need for any higher values They did give me the option to upgrade the plan to my own VM instance where I can change the details. .htaccess reads: <ifModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 seconds" ExpiresByType text/html "access plus 1 seconds" ExpiresByType image/gif "access plus 2592000 seconds" ExpiresByType image/jpeg "access plus 2592000 seconds" ExpiresByType image/png "access plus 2592000 seconds" ExpiresByType text/css "access plus 604800 seconds" ExpiresByType text/javascript "access plus 216000 seconds" ExpiresByType application/x-javascript "access plus 216000 seconds" </ifModule> <ifModule mod_headers.c> <filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$"> Header set Cache-Control "max-age=259200, public" </filesMatch> <filesMatch "\\.(css)$"> Header set Cache-Control "max-age=604800, public" </filesMatch> <filesMatch "\\.(js)$"> Header set Cache-Control "max-age=21600, private" </filesMatch> <filesMatch "\\.(xml|txt)$"> Header set Cache-Control "max-age=21600, public, must-revalidate" </filesMatch> <filesMatch "\\.(html|htm|php)$"> Header set Cache-Control "max-age=1, private, must-revalidate" </filesMatch> </ifModule> <ifModule mod_headers.c> Header unset ETag </ifModule> FileETag None <ifModule mod_headers.c> Header unset Last-Modified </ifModule> RewriteEngine on <Files 403.shtml> order allow,deny allow from all </Files> #SecFilterEngine Off #SecFilterScanPOST Off deny from 138.217.44.200 deny from 203.217.29.248 deny from 147.10.7.6 RewriteCond %{HTTP_HOST} ^ozaudi.com$ [OR] RewriteCond %{HTTP_HOST} ^www.ozaudi.com$ RewriteRule ^/?$ http://www.ozaudi.com/forums/index.php [R=301,L] RewriteCond %{HTTP_HOST} ^ozaudi.com$ [OR] RewriteCond %{HTTP_HOST} ^www.ozaudi.com$ RewriteRule ^nuke/?$ http://www.ozaudi.com/forums/index.php [R=301,L] Most of the top stuff added today to see if it would help. |
Try adding this to the bottom
Code:
# Forum |
i was just reading this over ...where it is showing the post name ..that looks like eithersetting in vbulletin 4. I have seen vbulletin 4 built is seo cause issues. I would shut that off first or change how it is behaving. I would do this before i would do any .htaccess rules.
it is in vbulletin options - server setting and optimization settings I would actually go there and set friendly urls to standard urls and see if that fixes your issue. I think it will.. If not it is one of those settings in friendly url or somewhere in that section. |
Quote:
MANY, MANY, MANY THANKS!! I ended up having to change the following to get it to work properly. URL Type Enabling friendly URLs can increase your site's ranking in search engines. = Advanced Friendly URLs Enforce Canonical URL This options defines how canonical URLs are enforced for guest users (including search engines). If Standard is selected then guest users will be redirected to the correct URL if they request a page using the wrong Friendly URL format. If Strict is selected then guest users will also be redirected to the correct URL if they request a page using the wrong text. This may also include requesting URLs in the wrong character set. = STRICT Vbulletin -> Settings -> Friendly URLs Would it also be handy to have the above stuff in the .htaccess file, or do you think that it is overkill (of a good policy to follow)? |
The .htaccess is for Mod Rewrite Friendly URLs
|
I personally do not use htaccess unless i am rewrite urls ...example ..changed locations or names ... or ban ip's ...
I try to have a nice clean htaccess. |
I left all the vBulletin -> Settings -> Friendly URLs settings at the default as I have no idea what a good set of group settings would be for that.
|
All times are GMT. The time now is 08:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|