[SOLVED] White Page when hitting submit on a post

Support for IntegraMOD 140

Moderator: Integra Moderator

[SOLVED] White Page when hitting submit on a post

PostAuthor: joey_4ers » Mon Jan 29, 2007 4:20 pm

Your phpBB Version: 2.0.22
phpBB Type: Integramod 140
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://guildconclave.com

PHP Version:
MySQL Version:


What was done before the problem appeared?
Bbbox was the last mod installed


What was done to try to solve the problem?




De.scription and Message

Hi All ..

Im having a strange issue with my site..

When i or others hit submit when posting a message it goes to a white page - page not found.

When returning back to the site by clicking back and forum area.. The message has actualy been posted.

Some people have been clicking back submit again many times causing multipul posts.

I installed advanced BBcode box v5.00 about a month ago but i dont think its that causing the problems.

I tried emptying the session table and increassing it to 100 but that hasent helped

Any ideas what could be causing this..?


Thanks

[hr:srxu6fbl]

ACP > general admin > Configuration .. Under Email Settings .. Added SMTP Settings. Use SMTP Server for email = on, added SMTP Server Address, user name and password. I created a new email on cpannel for our site.

Doing this fixed out white posting issue.
Last edited by joey_4ers on Sun Feb 04, 2007 11:04 pm, edited 1 time in total.

joey_4ers
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Thu Jan 11, 2007 10:58 pm
Cash on hand: 0.00

PostAuthor: joey_4ers » Mon Jan 29, 2007 5:21 pm

I think i might have solved this issue..

I went to cookies manager and deleted my sites cookies.

loged out closed ie .. loged back in and i have not had a problem .. (posted 20 test posts) ..

Crosses fingers.
Last edited by joey_4ers on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

joey_4ers
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Thu Jan 11, 2007 10:58 pm
Cash on hand: 0.00

PostAuthor: joey_4ers » Mon Jan 29, 2007 7:18 pm

It lasted about 3 hours now its back again. Tried to delete my cookies again no luck..

Maybe it could be my host ?
Last edited by joey_4ers on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

joey_4ers
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Thu Jan 11, 2007 10:58 pm
Cash on hand: 0.00

Re: White Page when hitting submit on a post

PostAuthor: Teelk » Mon Jan 29, 2007 7:21 pm

It's possible that this is a MySQL5 issue and that your server isn't set up to display errors. Try the fixes found in [url=http]this thread.[/url]
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: joey_4ers » Mon Jan 29, 2007 10:30 pm

I wish it was as easy as that

MySQL version 4.1.21-standard

Thats what it is..

Its been working like a dream for 4 monts ! .. Just only the past few weeks we have been having intermitant issues. Now its happning all the time.. ok.. you might get 2 hours in a day were it works ok.. I dunno whats up..
Last edited by joey_4ers on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

joey_4ers
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Thu Jan 11, 2007 10:58 pm
Cash on hand: 0.00

Re: White Page when hitting submit on a post

PostAuthor: Teelk » Tue Jan 30, 2007 4:06 am

It's possibly a memory issue then. Do you know how much memory you have for php?

If it's less then 16M then you'll need to increase it to that.

If you have shell access you can open your php.ini file and find memory_limit, change it to 16M.

If you don't have shell access you can try adding ini_set('memory_limit','16M') to you common.php file after...
Code: Select all
if ( !defined('IN_PHPBB') ){     die("Hacking attempt");}  
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: joey_4ers » Tue Jan 30, 2007 6:54 pm

Hi Teelk ..

Thanks for you help so far! <img> Its much appreciated.

I have spoken with our host .. this was there reply

"unfortunately we do not modify the core components of shared servers unless there is a justified reason for doing so as making modifications to the core components on shared servers can have dramatic effects on other clients accounts, that said you can however make a number of modifications to your htaccess file which can be used to enable / disable / define a vast amount settings with php modules. Alternative If you can provide more information in regards to the specific issue (such as a link to the support article that details the memory issue) we can further review your request."

I tried what you said about adding the ini_set('memory_limit','16M') however it came up with an error and wouldnt load the page.

How do i know if i have shell access? Our host uses Cpannel is there anyway to check what the ram is set at.. ?
Last edited by joey_4ers on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

joey_4ers
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Thu Jan 11, 2007 10:58 pm
Cash on hand: 0.00

Re: White Page when hitting submit on a post

PostAuthor: Teelk » Tue Jan 30, 2007 7:04 pm

I'm guessing that you don't have shell access if you're on a shared server. Your host probably has AllowOverride turned off and that's probably why you can't add that code to common.php.

But, just to make sure you can try this...

Create a file called .htaccess

Make sure you have that . in front.

Place this code in the file...
Code: Select all
php_value memory_limit 16M

Upload the file to your forum root.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: joey_4ers » Tue Jan 30, 2007 7:12 pm

Zomg ..

I edited the existing one.. Hope thats ok .. added it in there..

and no white page !! ..

I'll keep testing it let you know ..

Thank you soo much ...
Last edited by joey_4ers on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

joey_4ers
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Thu Jan 11, 2007 10:58 pm
Cash on hand: 0.00

PostAuthor: joey_4ers » Tue Jan 30, 2007 7:18 pm

I spoke to soon.. after 5 posts its doing it again..
Last edited by joey_4ers on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

joey_4ers
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Thu Jan 11, 2007 10:58 pm
Cash on hand: 0.00

PostAuthor: joey_4ers » Tue Jan 30, 2007 7:35 pm

I'm going to created a new subdomain and install integra 1.40 and see if it does the same thing..

If it doesnt

I'm going to install do an upgrade i think to our site .. make it 1.41..

yesterday i made a dummy site copyed it over created a new sub-domain copyed the sql database and put it in a new databse got it all working .. its white pageing when posting too.. So i'll do the 1.41 update on it. it will replace most of the files see if it fixes it ..

I dunno what else to try ..
Last edited by joey_4ers on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

joey_4ers
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Thu Jan 11, 2007 10:58 pm
Cash on hand: 0.00

Re: White Page when hitting submit on a post

PostAuthor: Teelk » Tue Jan 30, 2007 11:07 pm

Well, you can try increasing the memory_limit to 32M, it may just fix it. If not then we'll have to rethink it.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: joey_4ers » Tue Jan 30, 2007 11:26 pm

32m didnt work either..

i upgradedfrom 1.40 to 1.41 on our dummy site .. normal posting replying is no problem. since i last posted that message

pm's on the other hand..
when hitting Submit on a PM it just sits there and eventualy goes to a white page.

if it makes it easy for you i can send you our admin details.. and host details.. i just at a loss as to whats happning.. i have done so much reading and checking over the past few days it like spaggetti to me now..
Last edited by joey_4ers on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

joey_4ers
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Thu Jan 11, 2007 10:58 pm
Cash on hand: 0.00

PostAuthor: sanji » Tue Jan 30, 2007 11:33 pm

I had this error on the 1.40 board, too...

If you delete the includes/def_tree.php file, the forum should be restored.

I really would like to understand why this problem is occuring. If you follow the instructions here, you can solve the problem permanently : http://www.integramod.com/forum/viewtop ... highlight=

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

PostAuthor: joey_4ers » Wed Jan 31, 2007 12:43 am

Hi Sanji

The link the you provided has no instructions just Someone who is having a simular problem and displayed what they have tried.

Unless u mean this ..

then try the files from the phpbb_to_IM140 update

Anyhow..

I did rename includes/def_tree.php to something else .. So far i have not had any white pages.. I will try it on my dummy site as well and see if it fixes it there.

I did notice that the website has slowed down when posting since renameing it.. that i can live with just as long as it works.. <img>

Thank you .. I'll post let you know what happens !
Last edited by joey_4ers on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

joey_4ers
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Joined: Thu Jan 11, 2007 10:58 pm
Cash on hand: 0.00

Next

Return to IntegraMOD 140

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]