Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2016, 09:40 AM
ndoktoruser ndoktoruser is offline
 
Join Date: Aug 2015
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default URL settings on 5.2.3

Hello all,

I have vbulletin 5.2.0 installed and running.
I am trying to upgrade it to 5.2.3.

Before someone asks me "why not 5.2.5?", I will upgrade it to 5.2.3 first, because of my php version. In a later moment, I will upgrade it to 5.2.5.

So, back to the problem...
Whenever I switch the source code to the version 5.2.3, I receive some 404 errors. For example, the CSS is not found nor login.php. (image attached number 1)

State of forum after upgrade:
- start page is shown, but CSS is broken (error 404 to css.php) and login is not shown (error 404 to login.php);
- subforums and threads are not shown (!);
- admincp (image attached number 2) login page has a new link (from admincp to core/admincp), but it doesn't login after I submit username and password (404 to login).


Interesting facts

1)
When I upgraded from 4.2.2 to 5.2.0, my upgrade link was http://my.forum/install/upgrade.php.
To upgrade from 5.2.0 to 5.2.3, my upgrade link is http://my.forum/core/install/upgrade.php.

2)
Even though I had a different upgrade link, I successfully upgraded the forum to 5.2.3.
By successfully, I mean that no errors were displayed during the upgrade process.

3)
Admincp was http://my.forum/admincp, now it is http://my.forum/core/admincp.

4)
Once the forum was upgraded, the start page (http://my.forum) is loaded, but with a lot 404s, which can be seen in the picture 1 attached:
- http://my.forum/css.php
- http://my.forum/auth/login-form
- http://my.forum/ajax/api/options/fetchValues
- http://my.forum/ajax/api/phrase/fetch



What have I tried to do

I tried to change the values:
- v1: table datastore, column title like "options" and "publicoptions", value like "frontendurl" => "my.forum" to "my.forum/core"
- v2: table datastore, column title like "options" and "publicoptions", value like "frontendurl_login" => "my.forum" to "my.forum/core"
- v3: table setting, with column varname like "frontendurl", value from "http://my.forum" to "http://my.forum/core"
- v4: table setting, with column varname like "frontendurl_login", value from "http://my.forum" to "http://my.forum/core"
- v5: file core/includes/config.php, variable $config['Misc']['baseurl'] (line 122), I set 'http://my.forum/core'

The change in the values v1 and v3 made some CSS in the start page to work (status 304), but broke the images (404).
This same change in the values v1 and v3 broke CSS in admincp, but I successfully login. All the CSS in the admincp is broken (404).

The other changes made no effect.
Attached Images
File Type: png vbulletin2.png (49.7 KB, 0 views)
Reply With Quote
  #2  
Old 12-13-2016, 09:49 AM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

AdminCP links stays the same like before http://site.com/admincp/ it gets redirected internally automatically.

Have you renamed htaccess.txt file to .htaccess in the forums root ???
Reply With Quote
3 благодарности(ей) от:
Lynne, MarkFL, ndoktoruser
  #3  
Old 12-13-2016, 10:58 AM
ndoktoruser ndoktoruser is offline
 
Join Date: Aug 2015
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow!

You were really fast.

And this was my problem, I just renamed the file and it worked.

Thank you very much!
Reply With Quote
Благодарность от:
MarkFL
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 07:24 PM.


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.03430 seconds
  • Memory Usage 2,209KB
  • Queries Executed 14 (?)
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
  • (3)post_thanks_box
  • (4)post_thanks_box_bit
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (1)postbit_attachment
  • (3)postbit_onlinestatus
  • (3)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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete