Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2016, 12:34 PM
EvilArcana EvilArcana is offline
 
Join Date: Jul 2007
Location: Pensacola, FL
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default nginx rewrite to fix broken links left by uninstalling vbseo?

I had vbseo installed, and uninstalled it because it quit working a while back and then I discovered they abandoned the project. I'm not up to date on all the issues with that, but I'm running 4.2.3 and have a LOT of php errors that seem to be related to links to attachments that were handled by vbseo rewrites.

for example...I have a link that looks like this: http://www.cartographersguild.com/at...-maps-gimp.pdf which generates a 404. obviously, because the attachments folder is not based on the sub-forum url rewrites.

Has anyone created an nginx .conf that fixes the attachments links broken by vbseo uninstall? Is there a comprehensive vbseo link fixer nginx conf? Help!!!

Thanks

--------------- Added [DATE]1458135566[/DATE] at [TIME]1458135566[/TIME] ---------------

I wanted to mention, I'm seeing a lot of errors in my error.log and php eventually crashes from what I can tell...I keep getting 502 errors because of all the errors.

here's an example...also based on the attachments rewrite from vbseo.

2016/03/16 06:37:17 [error] 12933#0: *5931 open() "/home/cartographers/cartographersguild.com/attachments/general-miscellaneous-mapping/56561d1375393066-[wip-]-grass-forest-maps-forest-wip-1.png" failed (2: No such file or directory), client: 194.199.63.239, server: cartographersguild.com, request: "GET /attachments/general-miscellaneous-mapping/56561d1375393066-%5Bwip-%5D-grass-forest-maps-forest-wip-1.png HTTP/1.1", host: "www.cartographersguild.com"
Reply With Quote
Благодарность от:
Inked_Mono
  #2  
Old 03-18-2016, 12:04 AM
EvilArcana EvilArcana is offline
 
Join Date: Jul 2007
Location: Pensacola, FL
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anybody have any thoughts?
Reply With Quote
  #3  
Old 03-18-2016, 02:24 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are a number of threads that give rewrites for removing vbseo for forums using apache. Find one of those and adapt the rewrite rules to the syntax that nginx requires.
Reply With Quote
  #4  
Old 03-20-2016, 12:44 AM
EvilArcana EvilArcana is offline
 
Join Date: Jul 2007
Location: Pensacola, FL
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't think to omit nginx from my search keywords...thanks...looking around I can only find rewrites for threads...not for attachments. My threads are working for the most part, I just need to fix the broken attachment links now.

--------------- Added [DATE]1458438305[/DATE] at [TIME]1458438305[/TIME] ---------------

As a matter of fact...was vbseo responsible for adding the forum name in the attachment path or could that have been from something else?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:40 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
  • Page Generation 0.08630 seconds
  • Memory Usage 2,194KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (1)post_thanks_box_bit
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete