Advertisement:

Author Topic: signature info stats [no more updates and support]  (Read 171486 times)

Offline sebastian

  • Jr. Member
  • **
  • Posts: 204
  • Gender: Male
Re: signature info stats
« Reply #80 on: August 10, 2007, 12:17:58 AM »
Well brianjw, we need informations about what caused this error because the Internal Server Error - 500 is very generic message.

Your rest site work properly without Internal Server Error? There are several reports about this fault.
If yes the solution : Having problems with mod_security?

   ... or no ...

1. Check again signature_info.php file permitions.
2. Try to upload a new signature info stats.
3. Try to run a simple hello.php file.
     <?php echo 'hello'; ?>





« Last Edit: August 10, 2007, 12:31:15 AM by sebastian »

Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,157
  • Gender: Male
Re: signature info stats
« Reply #81 on: August 10, 2007, 09:22:50 AM »
The signature_info.php file permissions are set to 644.
Uploaded a new one, still internal server error.

Offline sebastian

  • Jr. Member
  • **
  • Posts: 204
  • Gender: Male
Re: signature info stats
« Reply #82 on: August 10, 2007, 12:27:30 PM »
I believe most servers will log a 500 error in the error_log file.

I recently installed Flashchat integration if that might do anything. Flashchat integration modifies SSI.php so...

What permition does SSI.php file have now?





Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,157
  • Gender: Male
Re: signature info stats
« Reply #83 on: August 10, 2007, 01:27:31 PM »
What permition does SSI.php file have now?
644

Offline sebastian

  • Jr. Member
  • **
  • Posts: 204
  • Gender: Male
Re: signature info stats
« Reply #84 on: August 10, 2007, 03:19:17 PM »
Make a backup of .htaccess file and try this : Having problems with mod_security?

Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,157
  • Gender: Male
Re: signature info stats
« Reply #85 on: August 10, 2007, 04:01:25 PM »
It didn't work either. :(

Maybe I should attach SSI.php... any other files I should maybe attach that signature_info.php needs?

Brianjw

Offline sebastian

  • Jr. Member
  • **
  • Posts: 204
  • Gender: Male
Re: signature info stats
« Reply #86 on: August 10, 2007, 07:16:42 PM »
I don't understand what going on here...

...we need informations about what caused this error because the Internal Server Error - 500 is very generic message.

Actually we need an error log file.

Please try to run two more things:
1 . a simple hello.php file.
     <?php echo 'hello'; ?>

2. no2.php
Code: [Select]
<?php

if (file_exists(dirname(__FILE__) . '/SSI.php')) {
require(dirname(__FILE__) . '/SSI.php');
}
else
die();

signature();

function 
signature()
{
global 
$context$settings$modSettings$db_prefix$boardurl;

$result db_query("
SELECT COUNT(session)
FROM 
{$db_prefix}log_online"__FILE____LINE__);
list ($context['users_online']) = mysql_fetch_row($result);
mysql_free_result($result);
}

?>

Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,157
  • Gender: Male
Re: signature info stats
« Reply #87 on: August 11, 2007, 11:54:02 AM »
I don't understand what going on here...

...we need informations about what caused this error because the Internal Server Error - 500 is very generic message.

Actually we need an error log file.

Please try to run two more things:
1 . a simple hello.php file.
     <?php echo 'hello'; ?>

2. no2.php
Code: [Select]
<?php

if (file_exists(dirname(__FILE__) . '/SSI.php')) {
require(dirname(__FILE__) . '/SSI.php');
}
else
die();

signature();

function 
signature()
{
global 
$context$settings$modSettings$db_prefix$boardurl;

$result db_query("
SELECT COUNT(session)
FROM 
{$db_prefix}log_online"__FILE____LINE__);
list ($context['users_online']) = mysql_fetch_row($result);
mysql_free_result($result);
}

?>

I am confused on what you want me to do with running php files.

Can you explain a little more in detail?

Offline sebastian

  • Jr. Member
  • **
  • Posts: 204
  • Gender: Male
Re: signature info stats
« Reply #88 on: August 11, 2007, 01:54:10 PM »
We try to locate the point of code that causes this problem.

Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,157
  • Gender: Male
Re: signature info stats
« Reply #89 on: August 11, 2007, 04:41:55 PM »
I know but what goes in the hello.php and more detail?

Sorry I am no coder :(

Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,157
  • Gender: Male
Re: signature info stats
« Reply #90 on: August 11, 2007, 05:58:42 PM »
Sorry to double post but since I think signature_info.php requires SSI.php this maybe what is causing it
http://www.simplemachines.org/community/index.php?topic=188328.0
I posted this. ;)

Offline sebastian

  • Jr. Member
  • **
  • Posts: 204
  • Gender: Male
Re: signature info stats
« Reply #91 on: August 11, 2007, 06:48:49 PM »
... I think signature_info.php requires SSI.php this maybe what is causing it

...Did you check this with the original SSI.php?

I can not simulate this server internal error, probably there is a problem between HTTP headers and your shared Web hosting. I am not sure. Goddady's linux hosting plans do not support non-parsed headers...

So forget hello.php, run only no2.php which is without any header, just for verification.


« Last Edit: August 11, 2007, 06:58:10 PM by sebastian »

Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,157
  • Gender: Male
Re: signature info stats
« Reply #92 on: August 11, 2007, 09:40:01 PM »
I will check the original ssi.php in the morning.

Ok. Well I have emailed godaddy for this help with this as well.

How do I run it. Like go to it directly on my website. And do I upload the code into a file called no2.php and upload it over and run it?

Thanks,

Offline sebastian

  • Jr. Member
  • **
  • Posts: 204
  • Gender: Male
Re: signature info stats
« Reply #93 on: August 12, 2007, 06:50:30 AM »
Yes, like this http://www.brianjwilson.com/no2.php

Don't forget webserver's error log.

Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,157
  • Gender: Male
Re: signature info stats
« Reply #94 on: August 12, 2007, 09:16:26 AM »
Yes, like this http://www.brianjwilson.com/no2.php

Don't forget webserver's error log.
Ok. I will do that now.

Also this is the email I received by godaddy about the webserver error log.
Quote
Dear Brian,

Thank you for contacting online support.

I do apologize for any inconvenience this may have caused, unfortunately with the current hosting plan you are on you are unable to access the error logs for your hosting account. If you would like to have access to the logs, you will need to upgrade your account to include CGI.

You can upgrade or downgrade your hosting plan(s) from within your customer account.

To upgrade or downgrade your hosting:

• Log in to your Account Manager.
• Select Web Hosting & Databases from the Hosting & Email menu at the top of the page.
• Click the hosting plan you wish to upgrade or downgrade.
• Click Upgrade/Downgrade Hosting Account.
• Select the new hosting account type you wish to have.
• Follow the on-screen prompts to complete the process.


NOTE: If you are upgrading to a hosting plan that has a higher monthly cost than the one you are currently using, you will be charged the difference in price between what you have already paid and the cost of the new type of hosting purchased for the same period of time. If you downgrade to a hosting plan that has a lower monthly cost, the hosting plan will be extended by the number of months that could be purchased using the difference in cost.


Please let us know if we can help you in any other way.

Regards,

Robbie P
Online Support

I will see what I can upgrade to some time today...

EDIT
no2.php gives an internal server error as well.
« Last Edit: August 12, 2007, 09:20:49 AM by brianjw »

Offline sebastian

  • Jr. Member
  • **
  • Posts: 204
  • Gender: Male
Re: signature info stats
« Reply #95 on: August 12, 2007, 10:38:31 AM »
So, CGI is a extra feature.

no2.php gives an internal server error as well.

You are right. SSI.php its the problem.

Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,157
  • Gender: Male
Re: signature info stats
« Reply #96 on: August 12, 2007, 06:17:03 PM »
I posted my SSI.php in the link below. Can you search it and maybe compare it to SMF's original?
Thanks.
http://www.simplemachines.org/community/index.php?topic=188328.0
(this link opens in the same window)

Offline sebastian

  • Jr. Member
  • **
  • Posts: 204
  • Gender: Male
Re: signature info stats
« Reply #97 on: August 12, 2007, 08:30:32 PM »
Another test. Disable some lines.

1. Open SSI.php
2. Go to line 59

Just and this //
from
Code: [Select]
require_once($sourcedir . '/Subs-Seo4SMF.php');to
Code: [Select]
// require_once($sourcedir . '/Subs-Seo4SMF.php');
3. Go to line 710-763

Before
Code: [Select]
// --- Begin FlashChat integration ---add this /*

After
Code: [Select]
// --- End     FlashChat integration ---add this */

Code: [Select]
/*
// --- Begin FlashChat integration ---
*
*
*
*
*
// --- End     FlashChat integration ---
*/
« Last Edit: August 12, 2007, 08:58:11 PM by sebastian »

Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,157
  • Gender: Male
Re: signature info stats
« Reply #98 on: August 13, 2007, 12:13:09 PM »
I did exactly as you said but it seems to still be giving an internal server error. I think we're getting somewhere though!

I guess we need to find all the mods that I don't have installed out of there.

Offline sebastian

  • Jr. Member
  • **
  • Posts: 204
  • Gender: Male
Re: signature info stats
« Reply #99 on: August 13, 2007, 03:46:35 PM »
I guess we need to find all the mods that I don't have installed out of there.

 First remove or disable SEO4SMF completely.

...we need an error log file.
« Last Edit: August 13, 2007, 04:03:19 PM by sebastian »