PDA

View Full Version : AWS site error



nufaman
11-15-2005, 01:46 PM
This is driving me crazy.
I have a site www.dragonsdungeon.com

Whenever you click on an AWS link, the page just hangs and after a very long time it loads with a message saying We apologize, there is a server error. Please refresh this page.

Any idea of what could be happening? I took a look at another site that sems to be using a similar script, http://www.vampirestomb.com/, and that one works without problems

chrispian
11-15-2005, 01:58 PM
I'm the original owner of both sites, actually. They both use the same AWS script, which is based off the tutorial on this site (Website Publisher). It seems like you are having a server error. Several other sites I built are still using that same script with no problems.

Dragon's Dungeon has been through several owners since I sold it and I don't know what condition it's in now. It could be anything. Half the pages on the site give a 404. It's like the site isn't fully uploaded.

nufaman
11-15-2005, 02:02 PM
I am playing around with the site right now so it will be offline for a few minutes.

Site was working fine last time I checked it and I didn't change anything, so I have no idea why it just stopped working

Emancipator
11-15-2005, 02:13 PM
if you paste the code we can help alot more.

nufaman
11-15-2005, 02:18 PM
I can't really past the code because I have no idea of what part of it is wrong. If anyone would like to take a look I would be willing to pay to get this fixed. Just send me a PM with your quote

Thanks

Emancipator
11-15-2005, 03:36 PM
im offering to help you for free. I am assuming its php based, in which case your problem is in the aws parsing in the header.

Blue Cat Buxton
11-16-2005, 02:37 AM
OK, I have tried to move one of my AWS sites - based on the script on this site - and get the same problem - works fine on one server, not on the other, so I would say look to the server.

Now I haven't sorted it yet but am working through various potential problems, most liekly at the moment is that the XML is not being parsed by the aws-function script. Therefore it gets no data from Amazon, and the main script says there is a server error. Either that or caching is not working properly.

Can you say a little more about your hosting and php that you are running this on?

freekrai
11-17-2005, 08:37 AM
What version of PHP are your servers running?
There could be a chance that the script you are using might have some issues between php 4 and php 5.

Blue Cat Buxton
11-17-2005, 08:42 AM
I have tried it on both, without much (any) success on either!

Nintendo
11-17-2005, 03:03 PM
What does your .htaccess file look like?

Blue Cat Buxton
11-18-2005, 02:04 AM
Sorry, I seem to have hijacked this thread a bit, but as nufaman is not around, and as it might help him, here is my .htaccess file


ErrorDocument 404 /404.php

AddHandler application/x-httpd-php .htm .html

<Files directory>
ForceType application/x-httpd-php
</Files>

<Files store>
ForceType application/x-httpd-php
</Files>

<Files item>
ForceType application/x-httpd-php
</Files>


<Files toys>
ForceType application/x-httpd-php
</Files>

<Files toy2>
ForceType application/x-httpd-php
</Files>



<Files toy>
ForceType application/x-httpd-php
</Files>

<Files trampolines>
ForceType application/x-httpd-php
</Files>

Nothing in there that I can see that would cause a problem?

Another Question - Is there anything that could stop a directory being writeable , even if it is chmod 777?

Nintendo
11-18-2005, 02:25 AM
I don't see anything wrong there.

mod-rewrite can cause a page to slow to a snail when loading if it's wrong which might be the cause of...


Whenever you click on an AWS link, the page just hangs and after a very long time it loads with a message saying We apologize, there is a server error. Please refresh this page.

Blue Cat Buxton
11-18-2005, 04:11 AM
Thanks Nintendo. At this stage I am eliminating posibilile causes, so thats one less to worry about!