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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-31-2014, 09:51 PM
asabet asabet is offline
 
Join Date: Dec 2008
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Weird bug with mobile and vBadvanced after moving to new domain

I hope someone here can help me. I'm really stuck.

I recently moved my forum from http://www.seriouscompacts.com to http://www.photographerslounge.org

Everything is fine when viewing from a desktop or laptop, but from any iPad, iPhone, or Android tablet/phone, members can only view the homepage (vBadvanced CMPS index) and get a white page when viewing any discussion thread.

Changing the user agent to "desktop" in the mobile browser will fix the problem, but most members won't know to do that.

Disabling vBadvanced CMPS also fixes the white screen problem in threads, but of course that would mean going without vBadvanced CMPS, which is essential to my sites.

I have similar sites like www.mu-43.com and www.talkemount.com that also use vBadvanced CMPS but have no issues like this. Everything was working great at www.seriouscompacts.com before the domain change.

I've asked this question in the vBadvanced forum, but no reply there from the developer as of yet. Hoping that someone here can help me to figure this out. Thanks!
Reply With Quote
  #2  
Old 08-31-2014, 10:40 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you change the path in the index file for Vbadvanced?

I did not think Vbadvanced did well on mobile devices though..
Reply With Quote
  #3  
Old 08-31-2014, 10:55 PM
asabet asabet is offline
 
Join Date: Dec 2008
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have vBadvanced disabled automatically when devices use the mobile site style, but even with the desktop style on a mobile device I get the white screens. The implementation I use works on many sites and worked on this one before the domain change.

Where to I change the path and in which index file? Thanks for your help!
Reply With Quote
  #4  
Old 08-31-2014, 10:57 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go into the root directory of your site.. It is most likely index.php but it depends on how your site is set up. yes, it is index.php.. Go inside and you will see the area for the path. I am not sure if that is the issue though. It could be your cookie cache as well if you have not changed anything else.

I am not sure though it is the path because Vbadvanced would not be showing at all if the path was wrong.

Your saying the issue is that it is not changing to the mobile theme? Right?

--------------- Added 31 Aug 2014 at 20:05 ---------------

It is working for me...

Try clearing your browser cache and maybe your dns cache as well using ipconfig /flushdns in your windows command prompt.
Reply With Quote
  #5  
Old 08-31-2014, 11:17 PM
asabet asabet is offline
 
Join Date: Dec 2008
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My site is working from desktop but not working from iPad (as an example). Not talking about the mobile theme. The home page loads, but clicking any thread gives a white blank page.

I have 5 sites that should work the same way:

http://www.photographerslounge.org (white pages on thread view from any browser that identifies user agent as mobile regardless of using regular style or mobile style)

http://www.mu-43.com (works fine)

http://www.talkemount.com (works fine)

http://www.leicaplace.com (works fine)

http://www.fujixspot.com (works fine)

Thanks again for taking a look!
Reply With Quote
  #6  
Old 08-31-2014, 11:29 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My bad..

Did you change your htaccess to suit the new domain?

--------------- Added 31 Aug 2014 at 20:38 ---------------

There is definitly something messed up with the mobile theme. Open the mobile theme on your desktop and look at the right side.

Try installing the default mobile theme and see if that works. Just add it under styles, give it a new name and then select it in your options..
Reply With Quote
  #7  
Old 08-31-2014, 11:53 PM
asabet asabet is offline
 
Join Date: Dec 2008
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're right, when the mobile theme loads, vBadvanced CMPS is supposed to be disabled, and it isn't.

For example, here is the mobile style on the problem site: http://www.photographerslounge.org/?styleid=57

Mobile theme on a non-problem site: http://www.leicaplace.com/?styleid=13

That gives me something to work at. Have to backtrack how I managed to disable vBadvanced for mobile in the past...
Reply With Quote
  #8  
Old 08-31-2014, 11:56 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use this: http://www.vbadvanced.com/forum/show...e-Mobile-Style
Reply With Quote
  #9  
Old 09-01-2014, 12:17 AM
asabet asabet is offline
 
Join Date: Dec 2008
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That got the right column to disappear in the mobile style, and now I'm back where I was before I uninstalled vBadvanced CMPS and reinstalled it. Still getting white pages from mobile devices, irrespective of style being used.
Reply With Quote
  #10  
Old 09-01-2014, 12:22 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want to give me admin access I will take a look in the morning for you free of charge. I am sure it is a simple fix but hard to do this way.
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 10:53 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06894 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
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
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete