forum rendering blank

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
tariqh
Registered User
Posts: 5
Joined: Thu Dec 05, 2013 11:52 am
Location: Australia

forum rendering blank

Post by tariqh » Thu Dec 05, 2013 11:55 am

Support Request Template
What version of phpBB are you using? phpBB 3.0.5
What is your board's URL? No answer given
Who do you host your board with? No answer given
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Conversion from phpBB2
Is registration required to reproduce this issue? No
Do you have any MODs installed? Yes
What MODs do you have installed? file attachment mod
What styles do you currently have installed? none
What language(s) is your board currently using? english
Which database type/version are you using? MySQL 5
What is your level of experience? New to PHP and phpBB
When did your problem begin? users started complaining forum isnt loading
Please describe your problem. forum is rendering blank
i tried uncommenting debug statement in config with no extra info in log file
error happens at line $user->setup('viewforum'); because Print statements before that appear on page
dont know how to debug
Generated by SRT Generator

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: forum rendering blank

Post by Oyabun1 » Thu Dec 05, 2013 8:29 pm

Why are you using such an out of date version of phpBB?
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

tariqh
Registered User
Posts: 5
Joined: Thu Dec 05, 2013 11:52 am
Location: Australia

Re: forum rendering blank

Post by tariqh » Thu Dec 05, 2013 10:48 pm

If it aint broke dont fix it :)

The irony is it is now broke and to upgrade it might break it even more.

If i get it working I will upgrade it.

Any ideas on how to fix this or even debug to see where it is going wrong ?

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21659
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: forum rendering blank

Post by Mick » Thu Dec 05, 2013 11:23 pm

Generally, as seems to be the case here, if you have made no changes to your board that could have caused the problem then your host has probably done something. You should ask them.

Is the "file attachment mod" the only MOD you have?
"The more connected we get the more alone we become" - Kyle Broflovski

tariqh
Registered User
Posts: 5
Joined: Thu Dec 05, 2013 11:52 am
Location: Australia

Re: forum rendering blank

Post by tariqh » Fri Dec 06, 2013 4:24 am

yep its the only mod i have.

ill check with admin.

Is there some sort of logging i can enable to tell me whats happening ?

User avatar
COD3M4ST3R-X
Registered User
Posts: 2269
Joined: Sat Aug 02, 2008 5:47 am
Location: Lahore,Pakistan

Re: forum rendering blank

Post by COD3M4ST3R-X » Fri Dec 06, 2013 5:52 am

Possible the file permissions are wrong on your server. Which could cause blank pages.
“Need and struggle are what excite and inspire us.”

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69417
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: forum rendering blank

Post by KevC » Fri Dec 06, 2013 9:01 am

tariqh wrote:yep its the only mod i have.
Attachments are built in to phpBB3.
There is no MOD.

So do you have something in addition to the default installation? If not, then you can just replace the corrupted files with new ones.

I'm not really sure why you filled in the support template as you answered almost none of it. At least a link to the board is useful.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

tariqh
Registered User
Posts: 5
Joined: Thu Dec 05, 2013 11:52 am
Location: Australia

Re: forum rendering blank

Post by tariqh » Fri Dec 06, 2013 12:55 pm

hi Kevin /all,

Ive been putting print statements everywhere to find out where the problem lies.

It seems to be happening on the line below:

after the

$sql = 'SELECT *
FROM ' . STYLES_IMAGESET_DATA_TABLE . '
WHERE imageset_id = ' . $this->theme['imageset_id'] . "
AND image_filename <> ''
AND image_lang IN ('" . $db->sql_escape($this->img_lang) . "', '')";

its in the session.php -> setup function -> $result = $db->sql_query($sql, 3600);



i tested the db connection and password and sql query from a sequelpro mac client and it works successfully.


Hope this gives more context for you to assist.

Unfortunately the forum is not public so i am unable to share.

Let me know what other information you need to assist.

tariqh
Registered User
Posts: 5
Joined: Thu Dec 05, 2013 11:52 am
Location: Australia

Re: forum rendering blank

Post by tariqh » Sat Dec 07, 2013 9:02 am

turns out clearing the cache fixed it.

How it got corrupted is the mystery and why it mattered to the sql is something else.

Locked

Return to “[3.0.x] Support Forum”