vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Vbulletin Attachment shows a blank page (https://vborg.vbsupport.ru/showthread.php?t=292601)

moustafa 12-04-2012 11:02 AM

Vbulletin Attachment shows a blank page
 
I can see a blank page when trying to add an attachment in a topic or post.

All configurations are set correct, tried another style and it worked well so where can i solve it in the current style to enable attachment?

Thanks alot in advance.

Lynne 12-04-2012 09:14 PM

Here is a page from the manual about troubleshooting blank or 'white' pages: https://www.vbulletin.com/docs/html/blank_pages

moustafa 12-04-2012 10:07 PM

Quote:

Originally Posted by Lynne (Post 2388490)
Here is a page from the manual about troubleshooting blank or 'white' pages: https://www.vbulletin.com/docs/html/blank_pages

I had already read this manual before creating this topic and i didn't find anywhere in it about how to detect this issue in the style and then enable it, because the attachment function works in other styles but not with the current style, so where in the style should it reflect so that i can fix it?

Lynne 12-05-2012 06:38 PM

Then it is a problem with your custom templates in that style. You will need to go through the ones on that page and upgrade them to work with the current version.

moustafa 12-05-2012 10:20 PM

Quote:

Originally Posted by Lynne (Post 2388730)
Then it is a problem with your custom templates in that style. You will need to go through the ones on that page and upgrade them to work with the current version.

You are correct, its a style problem but i am trying to find where in the style is the attachment function? is this in the xml file?

Lynne 12-06-2012 01:42 AM

They are all templates. Close the site, go into debug mode using a style where that page works, and then when you look at the page, you will see a list of all the templates on that page. Then go through all the edited templates in your custom style on that page and upgrade them.

To go into debug mode, add this to your config.php file as the second line:

$config['Misc']['debug'] = true;

moustafa 12-06-2012 03:39 PM

Quote:

Originally Posted by Lynne (Post 2388824)
They are all templates. Close the site, go into debug mode using a style where that page works, and then when you look at the page, you will see a list of all the templates on that page. Then go through all the edited templates in your custom style on that page and upgrade them.

To go into debug mode, add this to your config.php file as the second line:

$config['Misc']['debug'] = true;

Lynne, i entered in the debug mode, didn't update anything, tried to open the attachments in a topic but it showed still blank page then i tried the vb default style(which was working perfectly), it also showed a blank page, added a new parent style for VB default and also showed a blank page..

Looking forward for your help.

Lynne 12-06-2012 05:57 PM

If you are now getting blank pages for all styles, then I suggest disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


moustafa 12-06-2012 06:26 PM

Quote:

Originally Posted by Lynne (Post 2388942)
If you are now getting blank pages for all styles, then I suggest disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


Finally it worked Lynne, i found that there is a plugin stopping the attachments from working on all templates even with the default VB template hence i disabled it.

Thanks alot for you great replies :)


All times are GMT. The time now is 11:59 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.01023 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete