Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: brianjw on August 11, 2007, 05:36:56 PM

Title: Internal Server Error On Any SSI [help]
Post by: brianjw on August 11, 2007, 05:36:56 PM
I am getting an Internal Server error when going to SSI.php and when trying to place votes. Also I have a signature info thing that I got from this topic http://www.simplemachines.org/community/index.php?topic=46408.0, it just recently stopped working because it requires functions from SSI.php... I now know why.

The mods I have installed are:

1. TinyPortal 0.983 [ Uninstall ]
2. Custom Action Mod 2.04 [ Uninstall ]
3. Custom Profile Field Mod 3.16 [ Uninstall ]
4. SMF Gallery Lite 1.7.1 [ Uninstall ]
5. Bear Tabs 1.0 [ Uninstall ]
6. BBCode Bar For Signature 1.3 [ Uninstall ]
7. SMF Links 1.6.3 [ Uninstall ]
8. Paid Subscriptions 0.18 [ Uninstall ]
9. AvatarSelect 1.1.2 [ Uninstall ]
10. FontandSizeDropdown1.1 1.1 [ Uninstall ]
11. Streaming 3 4.2.2b [ Uninstall ]
12. SMFShop 3.0 [ Uninstall ]
13. Country Flags 1.0.1 [ Uninstall ]
14. Welcome Topic Mod 1.0 [ Uninstall ]
15. SMF Arcade 2.0.8 [ Uninstall ]
16. SMF Arcade Trophies Mod 1.1.1 [ Uninstall ]
17. SMF Arcade PM Switch 1.0.1 [ Uninstall ]
18. Google Member Map 0.60 [ Uninstall ]
19. K-Detection 2.2 [ Uninstall ]
20. SMF 1.0.11 / 1.1.3 Update 1.1 [ Uninstall ]
21. SMF TV 0.3b [ Uninstall ]
22. SMF Radio 1.2 [ Uninstall ]
23. SMF Affiliates 0.1 [ Uninstall ]
24. Treasury 1.23 [ Uninstall ]
25. SMF Poll Mod 1.01 [ Uninstall ]
26. cbi, 1.0 1.0 [ Uninstall ]
27. nneonneo's AJAX ShoutBox 1.07 [ Uninstall ]
28. PM On Registration 1.0.2 [ Uninstall ]
29. Referral Module 1.1 [ Uninstall ]


I am attaching my SSI.php so that if you find what is causing the internal server error you can fix it and maybe there is a mods code that was previously installed causing this but who knows.

Brianjw
Title: Re: Internal Server Error On Any SSI [help]
Post by: metallica48423 on August 11, 2007, 08:21:51 PM
not sure whats causing it but you might try checking the webserver's error log (or asking your host to do so) to see what is causing the error in the first place.

if you use cPanel there is an option on the main screen to view this error log.
Title: Re: Internal Server Error On Any SSI [help]
Post by: brianjw on August 11, 2007, 09:31:15 PM
I am going to email them right now as I have no access from what I can see to get to an error log. :)

Thanks,
I will also point Godaddy to this topic.
Title: Re: Internal Server Error On Any SSI [help]
Post by: brianjw on August 12, 2007, 06:18:33 PM
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

Title: Re: Internal Server Error On Any SSI [help]
Post by: metallica48423 on August 12, 2007, 06:27:51 PM
without access to the error log you're pretty much shooting in the dark trying to find a problem.

Have you made any changes to SSI.php or installed any mods which do?
Have you tried it with a base unmodified SSI.php?
Title: Re: Internal Server Error On Any SSI [help]
Post by: brianjw on August 12, 2007, 07:52:32 PM
Yeah True.

Yes I have installed mods that do modify it. Mods listed in first post.
If you mean putting a fresh ssi.php in there I got the error
Fatal error: Call to undefined function: tp_loadtheme() in /home/content/b/j/w/bjwilson/html/Sources/Load.php on line 1150

I do have TinyPortal installed.
Title: Re: Internal Server Error On Any SSI [help]
Post by: redone on August 13, 2007, 11:27:20 AM
That error comes from your TP install because it modifies the /Sources/Load.php file.

Title: Re: Internal Server Error On Any SSI [help]
Post by: Dragooon on August 13, 2007, 11:29:53 AM
Put up your old SSI.php back to remove that error as tp_loadtheme() is in SSI.php
Title: Re: Internal Server Error On Any SSI [help]
Post by: brianjw on August 13, 2007, 12:02:17 PM
Yes, but the old ssi.php causes internal server error.
Maybe Ill have to use my new ssi.php and manually reinstall the mods that need to modify ssi.php.
Title: Re: Internal Server Error On Any SSI [help]
Post by: redone on August 13, 2007, 12:26:29 PM
Quote from: brianjw on August 13, 2007, 12:02:17 PM
Yes, but the old ssi.php causes internal server error.
Maybe Ill have to use my new ssi.php and manually reinstall the mods that need to modify ssi.php.
That in your case would probably be the quicker way of doing it.

Title: Re: Internal Server Error On Any SSI [help]
Post by: brianjw on August 13, 2007, 01:56:17 PM
I have someone helping me to look through ssi.php. He found a few mods codes that weren't installed but previously were. We are commenting out those lines and looking for more.
Title: Re: Internal Server Error On Any SSI [help]
Post by: brianjw on August 16, 2007, 12:02:24 PM
Quote from: redone on August 13, 2007, 11:27:20 AM
That error comes from your TP install because it modifies the /Sources/Load.php file.
How do I make the ssi.php work again? I am getting the error
Fatal error: Call to undefined function: tp_loadtheme() in /home/content/b/j/w/bjwilson/html/Sources/Load.php on line 115

What do I add or remove in SSI.php to remove the error and make mods like tinyportal work correctly? :)

Thanks,
Brianjw
Title: Re: Internal Server Error On Any SSI [help]
Post by: Dragooon on August 16, 2007, 12:08:23 PM
In SSI.php find
require_once($sourcedir . '/Security.php');
Add after
require_once($sourcedir . '/TPortal.php');
Title: Re: Internal Server Error On Any SSI [help]
Post by: brianjw on August 16, 2007, 12:59:43 PM
I did that and now there is another internal server error on ssi.php.

Any ideas? :(


EDIT: It's probably another mods code missing. The list is up there ^
Any other codes I need to add.
Title: Re: Internal Server Error On Any SSI [help]
Post by: brianjw on August 19, 2007, 04:55:22 PM
Since no one has any idea of this I am going with PLAN B.

If I upload all smf files except for a new settings and settings_bak.php over the old files and upload directories over old directories, will it take out any mod information from the database? :)

I know it won't remove posts... Right now this seems the only thing to do...

If you have any other ideas or can respond to the post above then please reply.

Brianjw :)
Title: Re: Internal Server Error On Any SSI [help]
Post by: metallica48423 on August 19, 2007, 07:08:27 PM

If I upload all smf files except for a new settings and settings_bak.php over the old files and upload directories over old directories, will it take out any mod information from the database


Most mods retain their information.  It won't touch the database at all, uploading the files.  Some mods (not many nowadays) retain their information (as is a requirement of mod development)
Title: Re: Internal Server Error On Any SSI [help]
Post by: brianjw on August 19, 2007, 07:12:48 PM
OK, I plan to do this tomorrow. But I have one more question.

Since it will uninstall the mods (in the files)...I will upload the mods again in the package manager. Will it overwrite information in the database? or if it sees its already got the database information-- Will it just ignore the adding database tables and modifying it?

Brianjw
Title: Re: Internal Server Error On Any SSI [help]
Post by: metallica48423 on August 19, 2007, 07:15:05 PM
Thats what they're supposed to do, but you should get a sql error otherwise, because you can't recreate an already existing table without dropping it first.

If all else fails, keep a backup on hand and then restore the data with that
Title: Re: Internal Server Error On Any SSI [help]
Post by: brianjw on August 19, 2007, 07:41:37 PM
Ok. Thanks for your helpful information :)

I will let you know how it goes. Should I keep a backup of the ftp files as well? Probably should just incase.

Brianjw
Title: Re: Internal Server Error On Any SSI [help]
Post by: brianjw on August 20, 2007, 08:15:32 AM
These are the mods I have installed before the upload over.

1. TinyPortal 0.983 [ Uninstall ]
2. Custom Action Mod 2.04 [ Uninstall ]
3. Custom Profile Field Mod 3.16 [ Uninstall ]
4. SMF Gallery Lite 1.7.1 [ Uninstall ]
5. Bear Tabs 1.0 [ Uninstall ]
6. BBCode Bar For Signature 1.3 [ Uninstall ]
7. SMF Links 1.6.3 [ Uninstall ]
8. Paid Subscriptions 0.18 [ Uninstall ]
9. AvatarSelect 1.1.2 [ Uninstall ]
10. FontandSizeDropdown1.1 1.1 [ Uninstall ]
11. Streaming 3 4.2.2b [ Uninstall ]
12. SMFShop 3.0 [ Uninstall ]
13. Country Flags 1.0.1 [ Uninstall ]
14. Welcome Topic Mod 1.0 [ Uninstall ]
15. SMF Arcade 2.0.8 [ Uninstall ]
16. SMF Arcade Trophies Mod 1.1.1 [ Uninstall ]
17. SMF Arcade PM Switch 1.0.1 [ Uninstall ]
18. Google Member Map 0.60 [ Uninstall ]
19. K-Detection 2.2 [ Uninstall ]
20. SMF 1.0.11 / 1.1.3 Update 1.1 [ Uninstall ]
21. SMF TV 0.3b [ Uninstall ]
22. SMF Radio 1.2 [ Uninstall ]
23. SMF Affiliates 0.1 [ Uninstall ]
24. Treasury 1.23 [ Uninstall ]
25. cbi, 1.0 1.0 [ Uninstall ]
26. nneonneo's AJAX ShoutBox 1.07 [ Uninstall ]
27. PM On Registration 1.0.2 [ Uninstall ]
28. Referral Module 1.1 [ Uninstall ]
29. SMF Poll Mod 1.01

This information is just for me to look here and know what to install again. ;)
Title: Re: Internal Server Error On Any SSI [help]
Post by: brianjw on August 20, 2007, 09:23:19 AM
OK. SSI's working again :D Now to install mods again..
Title: Re: Internal Server Error On Any SSI [help]
Post by: SleePy on August 24, 2007, 11:42:26 PM
Is this issue solved or do you still require assistance?

You should install mods one by one until you find which one causes this.
But it sounded like you added the TP required file back to your SSI and had the issue. So this may be a TP issue.
Title: Re: Internal Server Error On Any SSI [help]
Post by: brianjw on August 25, 2007, 08:06:12 AM
It could have been but I uploaded files over the old ones (except for themes and settings.php) and was able to reinstall all the mods and it works perfectly :) So yes, it is solved. I will put the solved icon on there.