icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old July 27th, 2008, 11:53 AM   #1 (permalink)
the cool one
Seasoned Poster
 
inthestars's Avatar
 
Joined in Dec 2007
80 posts
Gave thanks: 10
Thanked 1 Time in 1 Post
Angry Wordpress not working

Grr Wordpress hasn't been working for a while now.

Tell Him

The pages don't work, comments don't work only the index page works.
Anyone know why?
inthestars is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 27th, 2008, 1:24 PM   #2 (permalink)
Surpassing Dutch
Super #1
 
Edwin's Avatar
 
Joined in Sep 2004
Hosted on SH98
2,557 posts
Gave thanks: 190
Thanked 45 times
Did you ask on the Wordpress forums? To me it looks like a problem with a template or Wordpress it self.
__________________
sh98
Edwin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 27th, 2008, 1:28 PM   #3 (permalink)
the cool one
Seasoned Poster
 
inthestars's Avatar
 
Joined in Dec 2007
80 posts
Gave thanks: 10
Thanked 1 Time in 1 Post
Hmm I changed the theme and it still had the same problem. I think I'll ask on the Wordpress forum tomorrow (it's past midnight here) :P.
inthestars is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 27th, 2008, 2:22 PM   #4 (permalink)
ceo
Senior Member
Super #1
 
Joined in Jan 2005
1,546 posts
Gave thanks: 70
Thanked 33 times
Looks like you set up permalinks...did WordPress not create an htaccess for you?

If you already had an htaccess, it might not have plopped the code into it. It should have inserted the following:
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
ceo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 8th, 2008, 10:25 PM   #5 (permalink)
Registered User
Fresh Surpasser
 
Noho Rob's Avatar
 
Joined in Mar 2008
Hosted on sh138
11 posts
Gave thanks: 3
Thanked 0 times
ceo's on the ball.

For some reason, WordPress has a hard time detecting Apache on Surpass servers. I had the same problem over on sh138.

If you feel like getting your hands dirty, open wp-includes/vars.php in your editor of choice. Look for this bit of code around line 61:

Code:
$is_apache = ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) || (strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false)) ? true : false;
Comment it out (by putting two forward slashes in front of it), and underneath it, add this code:

Code:
$is_apache = true;
This keeps WordPress from having to figure out whether it's running on an Apache server.

Once you've done that, simply go into the Settings -> Permalinks section of your WordPress admin panel, select your preferred permalinks scheme, and hit Save Changes.

But yeah, ceo's solution is a fair bit easier.
__________________
PaperStSoapCo.com, sh138
Noho Rob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 9th, 2008, 9:46 AM   #6 (permalink)
d c
Custom User Title
Seasoned Poster
 
d c's Avatar
 
Joined in Jul 2008
Lives in Sydney, Australia
Hosted on sh144
55 posts
Gave thanks: 1
Thanked 1 Time in 1 Post
I think it has to do with phpSuExec

Basically there's some variables that now need to be specified in a php.ini instead of an htaccess because PHP is running as a service and not as a module of apache

I just submitted a ticket to helpdesk and it's all good
d c is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On