Grynx community Forum Index
Return to Grynx
Grynx community
G-Community devoted to all people who consider themselfs makers, DIY'ers and how-to'ers.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Grynx is experiencing problems

 
Post new topic   Reply to topic    Grynx community Forum Index -> Site news
View previous topic :: View next topic  
Author Message
g-admin
Site Admin


Joined: 15 Dec 2005
Posts: 81

PostPosted: Mon Feb 20, 2006 5:13 am    Post subject: Grynx is experiencing problems Reply with quote

We’re currently having some problems, most probably over at our hosting provider, which prevents other pages then the first page to display.
They’re working on it and I sure hope that it’s up running before I wake up on Monday morning (CET)

I’m no expert on the inner workings of PHP but it seems that when we try to access a url like http://www.grynx.com/index.php/2005/07/ then I get a 404…
It ‘just happened’ and as far as I can see the logfiles at my provider starts at exactly the same time as the problems started so I something was done at that time.

BE PATIENT!!! (Even though I’m on my edge right now)

Cheers,
Chris
Back to top
View user's profile Send private message Send e-mail Visit poster's website
g-admin
Site Admin


Joined: 15 Dec 2005
Posts: 81

PostPosted: Mon Feb 20, 2006 5:26 am    Post subject: Fixed Reply with quote

Amazing!!! I called my hosting company (apollohosting.com) and and told them that on 04.12am 19 feb everything below /index.php/ didn't work.
I could see that all logfiles were created at 04.16am so I knew that something had been done to the server - and of course they deny it.

After a couple of emails back and forth with an engineer (6 hours later!) he mentioned that I didn't have an .htaccess file, which is correct. But then again it did work fine without it before.

So I started digging around and after looking at the information page from the php server I saw that the version that I was now running was built at 6pm on the 18th! Yeah right - 'they didn't do anything', my ass.

So assuming that with the new build my environment had changed I tried to change the permalink structure, and then everything worked. But as I have so many incoming links on the old structure I let wordpress create a new .htaccess file and added a rewrite rule to remove the index.php/ from any url's that had it. And on the first try - it worked.

So if you have the problem were you get a 404 (page not found) with an url looking like this:
http://www.grynx.com/index.php/projects/voip-for-free-with-the-sipura/
then change the permalink structure to /%year%/%monthnum%/%day%/%postname%/ and then make sure that you have this in your .htaccess file:
Code:
#Redirect to the new permalinks
RewriteRule ^index.php/(.*) $1[R]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
g-admin
Site Admin


Joined: 15 Dec 2005
Posts: 81

PostPosted: Wed Sep 13, 2006 12:20 pm    Post subject: ..and again... Reply with quote

It happened again. It was just that that this time it took me a loooong time before I realized that the problem was there again.
It probably happened when I updated wordpress in July, even though... well - I don't know.

The old problem that URI's that contained /index.php/ couldn't be resolved came back and I had a look at the .htaccess file.

Bad .htaccess file:
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</IfModule>
# END WordPress

It sure didn't look like that when I wrote the last post huh?
Maybe my friends over at ApolloHosting did it again and did some upgrades that changed data on my site without letting me know? It sure wouldn't surprise me.

So, what I did was to add my old code inside the new one:
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php/(.*) $1[R]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</IfModule>
# END WordPress

..and it seems to be back to normal again.

A big thanks for the heads up goes to Hans-Christian Rotmann.
HC - without your mail I wouldn't have known. Thanks!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cheapai1



Joined: 30 Nov 2006
Posts: 1

PostPosted: Thu Nov 30, 2006 7:15 am    Post subject: Reply with quote

g-admin wrote:
We’re currently having some problems, most probably over at our hosting provider, which prevents o...
As it is not present?

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Grynx community Forum Index -> Site news All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Read the disclaimer and copyright notice!