PDA

View Full Version : Vbulletin Attachment shows a blank page


moustafa
12-04-2012, 11:02 AM
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
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
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
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

define('DISABLE_HOOKS', true);

moustafa
12-06-2012, 06:26 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

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 :)