Dynamic website not working

Status
Not open for further replies.

yahia

New Member
Messages
338
Reaction score
0
Points
0
Hello

I'm having my Wordpress-powered website down for like 6 hours now. When the URL is entered, the page doesn't load, leaving you with a blank screen.

The URL is http://yahia.ma/antiblog/

While static websites/webpages work fine.

Working: http://yahia.ma/fr/

Please help!
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
205
Points
63
Usually because a function is blocked that it is trying to use. The only thing we've changed is we blocked fsockopen. Do you know if your script is using this?
 

Kames

New Member
Messages
66
Reaction score
0
Points
0
Je pense que c'est une problème avec ton Wordpress traduction non disponibles.
 

yahia

New Member
Messages
338
Reaction score
0
Points
0
It's using the usual/standard Wordpress installation (v 2.1)

It never did this before!
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
205
Points
63
Okay, it is because it is using fsockopen. You need to find where it's using it and comment it out if it's possible.

-Corey
 

yahia

New Member
Messages
338
Reaction score
0
Points
0
I appreciate your help, but I really don't know what you're talking about!

Look, I just browsed it for five seconds and it was working fine just now. After that it started to do the same blank page.

What's going on here?
Edit:
I don't know how nor why it worked for a very short while. Can it work like that for the whole time, like before?
 
Last edited:

GG-Xtreme

New Member
Messages
430
Reaction score
0
Points
0
There is a function in the source of Wordpress that is being blocked, which is causing an error, but the error is not being shown because it is set to be hidden. You must look through the source code and comment out the function, which appears to be fsockopen. So look through the code for 'fsockopen' and comment out any lines/sections with by adding a // to the beginning of those lines.
 

yahia

New Member
Messages
338
Reaction score
0
Points
0
I have to look out for that in all of the .php files Wordpress works with?! Wow!

If Wordpress uses this fsockopen, then disabling it wouldn't cause Wordpress not to work correctly?!

Nevertheless, this doesn't explain why it worked for only a bunch of seconds after I started this thread. Someone did make a manipulation, and discarded it over again.

Please help out admins, I'm expecting visits at this moment...
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
205
Points
63
It worked for a few seconds because I turned fsockopen on to see if that was the cause of your script not working. It is indeed the cause.

-Corey
 

yahia

New Member
Messages
338
Reaction score
0
Points
0
OK, I understand now. But, is it causing problems to deactivate it like this? Is deactivating fsockopen reasonable for you?
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
People were abusing the fsockopen function, hence why it was disabled.
 

yahia

New Member
Messages
338
Reaction score
0
Points
0
:/

So, can I get some help here? I found this on functions.php:

$fp = @fsockopen($host, $parts['port'], $err_num, $err_msg, 3);
if ( !$fp )
return false;

I commented it but the website didn't work still.
Edit:
Can't you just activate it per account?
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
205
Points
63
It should work now.

-Corey
 
Last edited:

yahia

New Member
Messages
338
Reaction score
0
Points
0
Corey, can you please remove the long code you put here, I don't want those URLs of other websites revealed.

Now http://yahia.ma/antiblog/ is working, but a single-entry URL is not. (http://yahia.ma/antiblog/58/trois-histoires for example.) Here's the error thrown:

Fatal error: SUHOSIN - Use of eval is forbidden by configuration in /home/yahia/public_html/antiblog/wp-includes/classes.php(104) : eval()'d code on line 104
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
205
Points
63
Eval is a dangerous function I don't think I can turn that one on for you sorry.

-Corey
Edit:
Okay, I figured something out for your account. You should be set now.

-Corey
 
Last edited:

yahia

New Member
Messages
338
Reaction score
0
Points
0
Oh yes, I noticed. Thanks.

All these precautions make this thing really scary.
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Closed; If you have any more problems please re-open this thread.
 

yahia

New Member
Messages
338
Reaction score
0
Points
0
Hello? I'm having the same problem again on my Wordpress website.

Corey, I think it's these PHP updates that did it. Please fix it back! It's been like this for a while.

http://yahia.ma/antiblog/ is working, but a single-entry URL is not. (http://yahia.ma/antiblog/58/trois-histoires for example.) Here's the error thrown:

Fatal error: SUHOSIN - Use of eval is forbidden by configuration in /home/yahia/public_html/antiblog/wp-includes/classes.php(104) : eval()'d code on line 104
Edit:
OK wait, I think I can do that myself via the account panel.

The problem is that I was confused. I thought that by v2/v3, it was meant the PHP version.
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
205
Points
63
Yes you can and I approved your app.

-Corey
 

yahia

New Member
Messages
338
Reaction score
0
Points
0
I waited after both approval e-mails for 1hr30 or 2hr, but the problem remains even when I access my weblog from an online proxy.
Edit:
Everything's fine now. Good job. Closing the thread.
 
Last edited:
Status
Not open for further replies.
Top