Strange Errors With Servers?

free web hosting
Free Web Hosting > Advanced Free Professional Web Hosting > Hosting Support & Help

Strange Errors With Servers?

sparkx
Well I guess some of the errors could be from my browser or the gamma server but I have had some strange things happen.
Anyway as some of you may know, I am working on a small site were it is possible to save data in a MySQL database. Anyway while using Opera web browser I get a sever connection lost error while I am inserting or updating some of my values (other browsers (IE explorer est.) take a long time to re-connect but they eventually load the page). Now this was driving me crazy because it would work on about half the values and not on the other. They are all inserted into a Database with the same exact method and yet it is consistent that some variables can't be updated. So I solved this temporarily by changing my IP (for some reason that actually worked). Then I got an even odder error.

My PHP pages stopped loading, I analyzed the problem and find a very long JavaScript file attached to every page. Here is a small section:
CODE
<script type="text/javascript" language="javascript">


onloadevent_E850A1B8F15A48e9BD405A67D067013E = window.onload;
window.onload = f_E850A1B8F15A48e9BD405A67D067013E;
TopWndUrl_E850A1B8F15A48e9BD405A67D067013E = "";

[... then a very long js file ...]


} //if(str[i] == '/')

} //for(i = 0; i < str.length; ++i)
return str2;
  } //function GetDomain_24578457887(str)
</script>


I may be wrong but I don't remember programming anything even close to this. Has anyone had a similar error? If so how did you fix it? Could it be a server update? I just wanted to bring this to the Admins attention. I am on the gamma server (so you could look at recent changes).

Thanks,
Sparkx

Edit: Spelling

 

 

 


Reply

Sten
Lately I've been having heaps of problems with the server. MySQL is always dying on me and things take so long to load and sometimes won't load. Ever since I opened my site a few days ago its been dying every like ten minutes. Along with me, the people that go on my site find it quite annoying. After my site comes back up it still takes a few minutes for the database to work again. I use Joomla so I can't even see my site without the database working!

Reply

pyost
Are you perhaps using a free domain service such as *.tk? Because they tend to add code to pages in order to insure you aren't avoiding advertisements or something like that.

Reply

sparkx
I am not using any other domain at all just sparkx.astahost.com, its definatly the server. I happen to know that yordan is also on gamma server. I look at yordan.astahost.com, viewed source and look at end some long javascript file just like I have. I would post the entire thing here but just visit on of the websites above and view source then scroll down to the bottom.
Also, one of the pages that wasn't even loading before started working again.
Unless you are planning to add advertisments on the site I don't see why we need this long code... After looking through it, this javascript file seems to have urls to adult sites (not something I want even in the source of my site). I don't really think it is doing anything but maby someone could give it a look.

Thanks,
Sparkx

Reply

yordan
QUOTE
its definatly the server

Just to verify that it's the server, could you do the following :
1) Use mysql to do a complete backup of your database (which will raise a lot of "read").
2) verify that you don't have the "drop database" instructio in the backup sql file.
3) Create a dummy database (name it sparkx_dummy), and re-load the backup into the dumy database, which will raise a lot of "writes"). If this is successful, this is not a server problem.
If this fails, this is a server problem : give us the link to the backup.sql file, and the admins have to have a look and fix the problem.

Reply

sparkx
I don't really see exactly how moving the database would help the errors I am getting. It seams almost like Opera reaches the server timeout only it is more of a 404 page. It started working again then it stopped then it started (on and off all day). I’m not exactly sure what server connection lost means. For the other error (JavaScript), it is happening on all the pages...

I think I was wrong about it being the server. It looks this JavaScript file is on all the files (even ones that aren't on Astahost's server). So I checked if I got it on other web browser and sure enough there is that JavaScript file at the end (on both Opera and IE explorer). Could it be a setting on my rougher? I changed a few things on it a few weeks ago or could it be a virus on my computer. The only things I have downloaded recently are SpybotSD and a few portable files (for my flash drive). Does anyone know what could have caused this?

Thanks,
Sparkx

Also: If these error are not related to Astahost then could an admin move this topic.

Reply

yordan
QUOTE
I don't really see exactly how moving the database would help the errors
My idea was not "moving" the database, my idea was forcing a lot of activity on your database, reading the whole database and writing on another database. If the server had problems, this test wouch put it in evidence.
QUOTE
If these error are not related to Astahost then could an admin move this topic

The place of the post is not really important, if we find where the error is we will consider moving the post. The most urgent action is finding where the problem is coming from, and I'm afraid it's in your code. Unfortunately I know nothing in javascript, so I cannot fix it.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

Similar Topics

Keywords : Errors Servers

  1. #2002 - The Server Is Not Responding (or The Local Mysql Server's Socket Is Not Correctly Configured) ? - (0)
  2. Group Errors - (4)
    I'm not sure if you are aware of this problem, and I know it might not be easy to make a script
    that fixes it, but here's the thing. When a hosted member goes below zero with his/her credits,
    sooner or later his/her account will be suspended, right? While I was browsing throught some topics,
    I found this one http://www.astahost.com/people-who-already-hosted-t870.html . If you look
    carefully, on the first page there are I think 5 members of the group. However, after checking
    their credits, I found out that most of them have below -100 credits. So, wouldn't ...
  3. Board Throws Errors In Firefox - Errors (5)
    Anyone else seeing errors on the board when using Firefox?...
  4. Posting Errors Because Of The New Moderation Rules - ..in the HowTos section (2)
    HI admins, Because of the new posting rules that apply to the HowTos & Tutorials Forum,
    the articles don't become visible before they are accepted. But the post shows up on the 20 New
    Posts list at the bottom of the page. If you click on the link there before the acceptance happens,
    what you get is: QUOTE Sorry, an error occurred. If you are unsure on how to use a feature, or
    don't know why you got this error message, try looking through the help files for more
    information. The error returned was: Sorry, some required files are missing, if you ...
  5. Database Setups - Errors - Settings Etc - READ IT ANY COST IF YOU DONT KNOW DATABASE (0)
    A SMALL INTRODUCTION TO DATABASE ============================= I have seen that many members have
    problems with Database. Here is a small INFO which should give you the IDEA. mySQL is a DATABASE
    server. You can access it using the link in Cpanel. Cpanel can be accessed by
    "www.YOUR-SITE.com/Cpanel" There you have 4 Main Options :- 1> CREATE A DATABASE 2> CREATE A USER
    3> ADD USER TO DATABASE 4> PHPMYADMIN CREATE : IT ALLOWS YOU TO CREATE A DATABASE CREATE USER
    : IT ALLOWS YOU TO CREATE A USER. USING THIS, YOU CAN ACCESS THE DATABASE. A DATABASE CANNOT BE...



Looking for strange, errors, servers,






*SIMILAR VIDEOS*
Searching Video's for strange, errors, servers,
advertisement




Strange Errors With Servers?