Page 1 of 1

going down hill fast; now posting.php white page (SOLVED)

PostPosted: Wed Sep 29, 2010 10:14 am
Author: viragotech
site worked great for a few min, now posting.php just show a white page, does not go back to the message, though message is still posted.

Re: going down hill fast; now posting.php white page

PostPosted: Wed Sep 29, 2010 11:36 am
Author: Helter
what host are you using now?
If you can view your php.ini, how much memory is available for scripts?
If you can, set this at 16meg

Re: going down hill fast; now posting.php white page

PostPosted: Wed Sep 29, 2010 2:42 pm
Author: viragotech
Ok I got that done, set like it was on shared to 64M but still posting.php just stops at a blank page, the site did work fine for a bit. then all of a sudden.

though the post still shows up, if folks hit refresh you get dups.

ok I got master control, I set it to 128M

but it sitll happens.

why would it work ok for a bit, then stop?

Re: going down hill fast; now posting.php white page

PostPosted: Wed Sep 29, 2010 6:35 pm
Author: viragotech
Ok strange side effect found.

posting.php doesn't hang when I make a new thread.

just made a new thread and it works normal.

other threads, no.

and they did work for a while first today.

Re: going down hill fast; now posting.php white page

PostPosted: Thu Sep 30, 2010 2:50 am
Author: viragotech
I can toss ya some coin Helter but this is the last full day I got to work on this, been in front of the computer 24/7 for over 2 weeks now and must get back to work.

If i have to I can open the site as is, post still show but something odd is out of place still and Im at aloss. have spent all night searching with no real answer.

Again, the site worked fine for a good 20 mins yeaterday am, then suddenly that happened.

have memory settings doubled now to 128megs.


Yahoo IM
[url=mailto:ms8238@att.net]ms8238@att.net[/url] [also main email account, checked often]

AOL
<a>notsure007@aol.com</a>

Re: going down hill fast; now posting.php white page

PostPosted: Thu Sep 30, 2010 10:51 am
Author: viragotech
more info, when you edit a post, it re-directs just fine back to the thread.

Re: going down hill fast; now posting.php white page

PostPosted: Thu Sep 30, 2010 12:51 pm
Author: viragotech
I also wonder if this was a side effect of no memory at first, cause it did happen before I got that fixed.

something timed out and didn't write or..............

Re: going down hill fast; now posting.php white page

PostPosted: Thu Sep 30, 2010 1:31 pm
Author: viragotech
Tried raising refresh time, maybe its not getting the post id in time.
no change. Edits must not need said data.



$db->sql_freeresult($result);

$template->assign_vars(array(
'META' => '<meta>')
);
$message .= '<br><br>' . sprintf($lang['Click_view_message'], '<a>', '</a>');
message_die(GENERAL_MESSAGE, $message);
}
else
{
redirect(append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id", true));
}
}

Re: going down hill fast; now posting.php white page

PostPosted: Thu Sep 30, 2010 6:25 pm
Author: DjPorkchop
If I may be so bold as to ask, but are you still trying to get a copy to work that a new host has transfered? Or are you trying one that you personally moved?

Reason I ask and I may be way off here, but I had a host move my site once and everything that could go wrong did go wrong. Luckily, I had a backup of the site right before it got moved as well as a copy of my database. I uploaded it, dumped my database using big dump and set permissions and I was good to go after that.

My apologies for jumping in on this but I see you having so many issues, I feel compelled to ask.


Ray

Re: going down hill fast; now posting.php white page

PostPosted: Thu Sep 30, 2010 7:02 pm
Author: viragotech
No we moved everything, 3 times now.

first try was with cable internet, took to long even then.
Then a guy showed up with T1 and we still had problems.

Then did it again with T1 but used SFTP to deal with the large file folder, with the album n file uploads.

still have good copies on the old server. I kept both account, just moved the forum.

Re: going down hill fast; now posting.php white page

PostPosted: Thu Sep 30, 2010 10:22 pm
Author: DjPorkchop
Ahh ok well there goes my theory then. Back to the drawing board.

Re: going down hill fast; now posting.php white page

PostPosted: Fri Oct 01, 2010 9:24 am
Author: viragotech
Ok let face it, I don't know jack.

turns out, memory still ins't right.

Though php.ini and master setting for memory give php 128M to work with.

not until I turned the active user block back on today did I realize it.
[I hade thought it was the who's online block, which has been working fine since adjusting.]

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3289403 bytes) in /home/vtfvpsx3/public_html/blocks/blocks_imp_users_visited.php on line 98

Re: going down hill fast; now posting.php white page

PostPosted: Fri Oct 01, 2010 9:36 am
Author: viragotech
Helter i put in that config.php line you had suggested.


ini_set('memory_limit','32M');

?>

no help, still get that error when recent visitors block is on, and blank page on post.

Re: going down hill fast; now posting.php white page

PostPosted: Fri Oct 01, 2010 12:09 pm
Author: viragotech
ok memory problems all fixed, it was not using the php.ini even though it was set up, they have corrected the error.

now when the active user block is on, no more memory errors.

but still blank pages when you post, just stop at posting.php and does not forward back to the thread.

Re: going down hill fast; now posting.php white page

PostPosted: Fri Oct 01, 2010 12:38 pm
Author: viragotech
more info, it looks as if threads that I started and only I post in, refresh right back to the thread.

this thread will work, and forwards back, but other don't.
Looks as if the refresh only works for me, when I make the only post.
thread is locked]
http://viragotechforum.com/viewtopic.php?t=24245

But this brand new thread, worked fine for me twice, till someone else posted in it. And it worked for them also. but my 3rd post in the thread after his, I then get the same blank page as it stops at posting.php yet the post still goes through.
http://viragotechforum.com/viewtopic.php?t=24252

Re: going down hill fast; now posting.php white page (SOLVED

PostPosted: Fri Oct 01, 2010 3:59 pm
Author: viragotech
Ok php5 was the fix for the problem.

I was trying to set the board up like it was on shared, worked good on shared [cept for blowing up the CPU] should work as it was set up on VPS.

Naaay says the horse.

Support changed the add handler to php5 and walla, no more white pages.

[note on shared it only worked with said add handler set to php4, though that was before the 141 upgrade, though 141 worked on shared with the php4, 141 don't like php4 on VPS.]


# Use PHP4 as default
AddHandler application/x-httpd-php5 .php

<IfModule>
# suPHP_ConfigPath /home/xvnetwor
suPHP_ConfigPath /home/vtfvpsx3
</IfModule>

Re: going down hill fast; now posting.php white page (SOLVED

PostPosted: Fri Oct 01, 2010 5:55 pm
Author: DjPorkchop
Nice catch.

It is odd that it ran that way though. Not sure why it did. I had my WAMP on php 5 and then got rid of it and ran one with a php4 install and 1.4.1 still ran ok.

At any rate, I am glad to hear that you got it all sorted out. I know things like this can get to be a headache real fast and it is hard on the members list as well.