Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
sook is on a distinguished road
 
Posts: 7
Join Date: Oct 2008
Default just error ? - 10-24-2008, 01:40 AM

hmm why do i get a error her:

http://silvergallery.net76.net/main.php
Reply With Quote
(#2 (permalink))
Old
sizzlefire's Avatar
Moderator
sizzlefire is an unknown quantity at this point
 
Posts: 1,253
Join Date: Apr 2008
Send a message via MSN to sizzlefire Send a message via Yahoo to sizzlefire
Default 10-24-2008, 07:42 PM

Are you using any script or anything?


My sites:
My Blog | My Forum | Flash Games | File Sharing | Downloads

http://000webchat.wiredtron.com
the 000webhost support live chat, talk with members, users, and other people related. come here for support about anything, that another member could help with.

<?require("sleep.php");?>
Reply With Quote
(#3 (permalink))
Old
Junior Member
sook is on a distinguished road
 
Posts: 7
Join Date: Oct 2008
Default 10-25-2008, 04:10 PM

Yea i using a gallery script: gallery2.org But that's not against the TOS her ?
Reply With Quote
(#4 (permalink))
Old
Senior Member
s.j.hebert is on a distinguished road
 
Posts: 247
Join Date: Aug 2008
Default 10-25-2008, 05:02 PM

Since an http 500 error is a returned, it's probably a problem with your script not running.


This signature is not part of the response. However it does contain important information worth reading
Search FAQ
How to ask a question
Please don't add a new, unrelated question to an existing thread! For new questions, start a new thread. But before you do, don't forget to search- your question has probably already been answered.
Reply With Quote
(#5 (permalink))
Old
Junior Member
sook is on a distinguished road
 
Posts: 7
Join Date: Oct 2008
Default 10-26-2008, 11:46 AM

no its not my scripts that's the problem. I have it uploaded for a few hours, and suddenly it give me that error I don't do anything :/
Reply With Quote
(#6 (permalink))
Old
Senior Member
s.j.hebert is on a distinguished road
 
Posts: 247
Join Date: Aug 2008
Default 10-26-2008, 02:20 PM

OK, if it's not your script, we'll just pretend that it's something else. Good Luck


This signature is not part of the response. However it does contain important information worth reading
Search FAQ
How to ask a question
Please don't add a new, unrelated question to an existing thread! For new questions, start a new thread. But before you do, don't forget to search- your question has probably already been answered.
Reply With Quote
(#7 (permalink))
Old
Junior Member
sook is on a distinguished road
 
Posts: 7
Join Date: Oct 2008
Default 10-26-2008, 03:07 PM

hmm any idea ? Its not against the TOS to have gallery script ?
Reply With Quote
(#8 (permalink))
Old
Senior Member
s.j.hebert is on a distinguished road
 
Posts: 247
Join Date: Aug 2008
Default 10-26-2008, 03:42 PM

No, it's not against the TOS to have a gallery script unless the gallery contains some pictures that are against the TOS. However, that isn't the problem either way - if it were a TOS related issue, your account would be blocked or banned. A 500 error is entirely something else and is related to the way the script is running (or trying to). Have you considered checking any of this information?


This signature is not part of the response. However it does contain important information worth reading
Search FAQ
How to ask a question
Please don't add a new, unrelated question to an existing thread! For new questions, start a new thread. But before you do, don't forget to search- your question has probably already been answered.
Reply With Quote
(#9 (permalink))
Old
Ikuto's Avatar
Member
Ikuto is on a distinguished road
 
Posts: 50
Join Date: Oct 2008
Location: 127.0.0.1 tbh
Send a message via ICQ to Ikuto Send a message via MSN to Ikuto Send a message via Yahoo to Ikuto
Default 10-26-2008, 03:53 PM

It's not a 500 error. It's a
die('<h2>Error</h2>');
command executed by script.

To be more excact it's
if ($failsafe) {
/* A catastrophic failure has occurred so just dump the error out to the browser */
print '<h2>Error</h2>';
list ($ret, $isAdmin) = GalleryCoreApi::isUserInSiteAdminGroup();
if ($gallery->getDebug() || (!$ret && $isAdmin)) {
print $error->getAsHtml();
}
if ($gallery->getDebug() == 'buffered') {
print '<h3>Debug Output</h3><pre>' . $gallery->getDebugBuffer() . '</pre>';
}
}

File: \gallery2\modules\core\ErrorPage.inc
Line 251 : print '<h2>Error</h2>';

Keep digging.

Last edited by Ikuto : 10-26-2008 at 04:05 PM.
Reply With Quote
(#10 (permalink))
Old
Senior Member
s.j.hebert is on a distinguished road
 
Posts: 247
Join Date: Aug 2008
Default 10-26-2008, 04:10 PM

Quote:
Originally Posted by Ikuto View Post
It's not a 500 error. It's a
die('<h2>Error</h2>');
command executed by script.
Yes, an error in the server script that causes the script to stop processing (or die) is a 500 error. If you could see the server logs, you would see that the server is returning a 500 code to the browser. It may or may not include some really informative text like Error. That is exactly the definition of a http 500 error.

If this is the die command when trying to connect to a MySQL database, you could change that die command to something more informative like:
Code:
 or die(mysql_error());
or just take out the text string etirely to get the real error message:
Code:
or die();
----------------------------------------------------------------------

UPDATE: OK, now that you've edited with the actual code, it looks like this must be a function called from a 'die ()' command. The same concept still applies. No one is going to be able to help until you figure out what the function is trying to do that is resulting in the die (). That's where the problem is that's generating the error.


This signature is not part of the response. However it does contain important information worth reading
Search FAQ
How to ask a question
Please don't add a new, unrelated question to an existing thread! For new questions, start a new thread. But before you do, don't forget to search- your question has probably already been answered.

Last edited by s.j.hebert : 10-26-2008 at 04:22 PM. Reason: actual code posted
Reply With Quote
Reply


Thread Tools
Display Modes

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

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



Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com