500 Errors - please help! quick!

Status
Not open for further replies.

infinity_media

New Member
Messages
7
Reaction score
0
Points
0
Hi there,

I have noticed that whenever i upload a file the server gives an error:


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, no-reply@x10hosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I know its not the development servre or jackmunch thing because that uses the ngix server and this is a typical apache server error. I have done nothing to the htaccess file, the log files folder is empty. There is no dodgy php script or anything. Its an addon domain that im getting the error on but even if a access it via the main domain it still gives the 500 error.

sshotv.png (i suggest you enlarge)


I cant think of anything else. The main domain root is empty. Please help: if your out of ideas maybe help me set up the apache logs. Oh yeah and im on stoli.

Im counting on you guys, i need it for tomorrow. but i'd prefer it asap.


Thanks in advance
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
500 errors are caused by a lot of things.

1. Any .php file should have permissions set at 0644. Global/group writable (0777 or 0666 for example) will cause a security based 500 error.

2. Any .htaccess in the directory or its parent can be a cause of 500 errors if there are errors.

3. Just a friendly reminder, x10hosting's TOS do not allow accounts to be used as file warehouses. Anything you upload must be used on the site. This is not photobucket or a remote file repository for your PC.
 

infinity_media

New Member
Messages
7
Reaction score
0
Points
0
Ok.

1) all my php files are set to 0644, folders are set to 0755.

2) Ive got no htaccess files but one which is empty and that i cant delete (just reappears).

3) Yeah, ill remove those files. It was for todays IT lesson. (the school has disabled flash drives).

I still have no solution!!!

do you know how to set the log files properly.

Err. another totaly unrelated question: is there a way that i can set an a record for a parked domain on x10. is it the nameservers ip or stolis ip or not allowed?

Thanks

---------- Post added at 06:50 PM ---------- Previous post was at 06:13 PM ----------

Anyone?!

---------- Post added at 06:59 PM ---------- Previous post was at 06:50 PM ----------

Hmm... Whenever i delete the index.php the error goes. When i put it back it comes back, there is nothing wrong with the file the permissions are below. The code is below incase you need it:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
body {
background-color: #000;
}
body,td,th {
font-family: Leelawadee, "Segoe UI", Calibri, Cambria, Georgia;
font-size: 18px;
color: #06F;
}
h1 {
text-align:center;
font-family:Aller;
color: #0CF;
font-size:52px;
}
</style>
<script type="text/javascript" src="http://cufon.shoqolate.com/js/cufon-yui.js"></script>
<script type="text/javascript" src="img/Aller_400-Aller_700-Aller_italic_400-Aller_italic_700.font.js"></script>
<script type="text/javascript">
Cufon.replace('h1');
</script>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>

<body onload="MM_preloadImages('img/start_hov.png')">
<center>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table width="356" border="0">
<tr>
<td width="350" valign="middle"><center><h1>Navigator 2.1</h1>
<p align="center"><img src="img/map-compass-icon.png" width="247" height="159" /></p>
<p align="center"><a href="index1.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Button','','img/start_hov.png',1)"><img src="img/start.png" name="Button" width="276" height="88" border="0" id="Button" /></a></p></center>
</td>
</tr>
</table>
</center>
<script type="text/javascript"> Cufon.now(); </script>
</body>
</html>

text-x-generic.png

index.php
2.47 KB
text/x-generic
0644

---------- Post added at 07:21 PM ---------- Previous post was at 06:59 PM ----------

Anyone!?

please, the days nearly over in the UK.

---------- Post added at 07:41 PM ---------- Previous post was at 07:21 PM ----------

The problem basically is (im guessing) any php file. I uploaded a blank php file and the 500 erro. Deleted it, everythings normal. Uploaded html it works. change to php back to 500. Wierd... I guess redoing my whole account will have to be done.
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
The file contents you posted doesn't do any PHP.

Again, double check for .htaccess in public_html and in public_html/rfd
 

infinity_media

New Member
Messages
7
Reaction score
0
Points
0
Im 500% sure that there is no htaccess. theres only one in public_html which is empty. you can login to my account if you wish i cant say password but username is imedia. on stoli.

---------- Post added at 07:58 PM ---------- Previous post was at 07:49 PM ----------

Err anyone?!
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
1. You can try looking at :

cPanel --> Error Log

to see if it is recording anything.

2. Try putting a blank/minimal index.php in your public_html and see if you get the errors there
 

infinity_media

New Member
Messages
7
Reaction score
0
Points
0
That comes up blank! (it works but nothings in the log)

nothing in raw access log either.

---------- Post added at 08:04 PM ---------- Previous post was at 08:01 PM ----------

It works in public html but the addon domain does not work.

and log still empty

---------- Post added at 08:13 PM ---------- Previous post was at 08:04 PM ----------

?!?!?!?

I guess youve given up then?!
 
Last edited:

infinity_media

New Member
Messages
7
Reaction score
0
Points
0
Still No One, please im desperate. I dont mind re-starting my whole account even!, just let me remove the addon domain before.

---------- Post added at 01:38 PM ---------- Previous post was at 11:59 AM ----------

Still No One, oh come on!

---------- Post added at 05:33 PM ---------- Previous post was at 01:38 PM ----------

come on, this is just bad service.
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
Remember, free hosting support is provided by volunteers. I understand you're frustrated and on a deadline, but we don't owe you anything on two counts.

Furthermore, if we can't reproduce the problem, we can't diagnose it. There's something unique to your site that's causing problems. Keep digging into anything you've customized. Also try a non-directory-index file (i.e. a PHP file named something other than "index.php"), in case something is up with the configuration of mod_dir.
 
Last edited:
Status
Not open for further replies.
Top