Joomla Forum

Joomla Hacks => Mambo-SMF 1.2.x => Topic started by: SilverFox on March 31, 2005, 12:08:30 PM



Title: Error 500: Internal Server Error (FIX)
Post by: SilverFox on March 31, 2005, 12:08:30 PM
when i finish Configure the component and save configuration,
an error happen:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
............................

what's wrong?


Title: Re: save configuration error
Post by: Editor (cowboy) on March 31, 2005, 04:36:57 PM
can you tell me more about your platform.
mambo/smf version... etc.


Title: Re: save configuration error
Post by: SilverFox on March 31, 2005, 05:11:21 PM
mambo 4.5.2
smf 1.0.3
Linux platform


Title: Re: save configuration error
Post by: Editor (cowboy) on March 31, 2005, 05:35:03 PM
I never encountered such issue during testing. I believe Linux should be fine as well. Of course you have all the permission settings writable.

Can you try just changing one configuration and try saving again.


Title: Re: save configuration error
Post by: soudlous on April 04, 2005, 02:48:44 AM
dude i get the same error. ever since integration 1.1. I use smf version since 1.02. tried the 1.1a bridge and with 1.02 SMF same error. i tried 1.2 beta 3 with 1.02 smf , same error, and now with 1.3 , and same error. ahh it's driving me nuts. I tried using the smf component that simple machinese gave out but that was horrific. it has so many bugs. I really like the mambo hacks verson but this lil thing is getting to me. It happens exactly when i type in the correct absolute path and click save in the upper right hand corner.

if i do any other setting change, it still shows "incorrect path" but doesn't freak out. but if once i put in the correct path. it goes into a 500 internet server error as mentioned above. Hope you can find a fix, i'm not a great php programmer yet so i don't know what to look for. I hope this helps. Don't flame the poor newb please. oh and by the way, everhthing is green as writable goes. i went and chmod 777 everything to make sure.


Title: Re: save configuration error
Post by: Editor (cowboy) on April 04, 2005, 04:06:07 AM
Ok, if you want pm me an access to your server to look at it quickly. I really don't know the cause of your error.


Title: Re: save configuration error
Post by: Bluesuede on April 04, 2005, 07:57:10 PM
Hi

I'm also having a save configuration error. I've done a new install of SMF, and installed the integration as per the docs. When I go to edit the configuration, it shows the path to SMF as incorrect, so I edit the path to the correct location, and click save. I receive a pop-up that says "The document contains no data". I am then unable to access the configuration component any more. I have tried uninstalling everything and reinstalling everything and receive the same result each time.

I'm using the latest release of SMF - 1.0.3, Mambo 4.5.2, platform is Win2K server, browser is Firefox 1.0.2 (have tested in IE as well - this doesn't give a pop-up as decribed above, but instead gives a "Cannot find server - The page cannot be displayed" error)

For what its worth, SMF appears to be working within Mambo though, I just can't access the configuration component from the admin interface.


Title: Re: save configuration error
Post by: Bluesuede on April 04, 2005, 08:26:21 PM
incidentally, the "powered by" at the bottom of the forum shows "Powered by SMF 1.0.0 for Mambo." instead of 1.0.3 like yours does. It is definitely using SMF 1.0.3...seems a little odd.


Title: Re: save configuration error
Post by: aravot on April 04, 2005, 08:34:53 PM
I had the same problem see HERE (http://www.mambohacks.com/component/option,com_smf/Itemid,66/expv,0/topic,38.0) but I was running locally are you using MSAS


Title: Re: save configuration error
Post by: Bluesuede on April 04, 2005, 08:50:40 PM
Hi - no I'm not running MSAS


Title: Error 500: Internal Server Error
Post by: ddonzal on April 05, 2005, 01:46:13 AM
Whenever I try to get to the Mambo-SMF Integ Config page through Mambo admin, I get 'Error 500: Internal Server Error.' This all started when...

I had Mambo-SMF Bridge v2.2 installed for SMF 1.0.2 on www.certifiedsecuritypro.com running Mambo 4.5.1b. All was running fine, but I got excited about SEF possibilities. I just couldn't leave well enough alone.

I upgraded SMF to 1.0.3.
Deleted the Bridge, Login Module and Who's Online Module.
Installed 1.2.0 b3 following instructions in the readme.

At this point I could logon to the Mambo admin page and get to the Mambo-SMF Integ Config page. But my forum path was incorrect. It was pointing to the com folder not the forum folder. As soon as I changed the path, I started to get the 500 error. So now I can't even get to the config page to change it back.

Please help.


Title: Re: save configuration error
Post by: ddonzal on April 05, 2005, 01:57:45 AM
Just got the same error. Details at:

http://www.mambohacks.com/component/option,com_smf/Itemid,66/expv,0/topic,91.0

ddonzal


Title: Re: save configuration error
Post by: Tam on April 05, 2005, 02:03:06 AM
Having same problem on a WinXP Pro IIS with Php 4.3.11.
Except that I get this errormessage when trying to enter config-page for the SMF-component after a "succesfull" install:

Quote
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

and thats all..no text displayed after that.


Title: Re: save configuration error
Post by: Editor (cowboy) on April 05, 2005, 05:10:47 AM
Are you all running IIS???


Title: Re: Error 500: Internal Server Error
Post by: Editor (cowboy) on April 05, 2005, 05:11:26 AM
Are you running IIS?


Title: Re: Error 500: Internal Server Error
Post by: robbievk on April 05, 2005, 10:12:05 AM
I got the same error, when i saved my config it gave me the 500 server error, and i'm using Apache...  :o

please help...


Title: Re: save configuration error
Post by: robbievk on April 05, 2005, 10:13:13 AM
Nope Apache here, with the same error...


Title: Re: Error 500: Internal Server Error
Post by: ddonzal on April 05, 2005, 10:28:04 AM
No IIS. Apache.

Web Server:  Apache/1.3.29 (Unix)

Any other details I would be glad to provide. The quicker we can resolve this the better.

Much appreciative of your time & coding.


Title: Re: Error 500: Internal Server Error
Post by: robbievk on April 05, 2005, 10:29:21 AM
It got something to do with config.smf.php, cause when i upload and overwrite that one, i got acces to the config again... offcourse without the new settings.


Title: Re: Error 500: Internal Server Error
Post by: ddonzal on April 05, 2005, 10:37:19 AM
What's the path to that file?


Title: Re: Error 500: Internal Server Error
Post by: ddonzal on April 05, 2005, 10:40:16 AM
Don't know if this helps, but I saw in the other post that others saw SMF as version 1.0.0 even after the upgrade to 1.0.3. When I did the initial install of MSI 1.2.0, I did see it set to version 1.0.3. Now it's set to 1.0.0.

Additional Info:

SMF File Your Version Current Version
SMF Package SMF 1.0.0 for Mambo SMF 1.0.3
Sources 1.0.3 1.0.3
Admin.php 1.0.3 1.0.3
BoardIndex.php 1.0 1.0
Calendar.php 1.0.3 1.0.3
Display.php 1.0.1 1.0.1
DumpDatabase.php 1.0 1.0
Errors.php 1.0.2 1.0.2
Help.php 1.0 1.0
InstantMessage.php 1.0.2 1.0.2
Karma.php 1.0 1.0
Load.php 1.0.2 1.0.2
LockTopic.php 1.0 1.0
LogInOut.php 1.0.2 1.0.2
MOS_SMF.php ?? ??
ManageAttachments.php 1.0.1 1.0.1
ManageBoards.php 1.0.1 1.0.1
ManageMembers.php 1.0.3 1.0.2
ManagePermissions.php 1.0 1.0
ManageSmileys.php 1.0.2 1.0.2
Memberlist.php 1.0 1.0
MessageIndex.php 1.0 1.0
ModSettings.php 1.0.1 1.0.1
Modlog.php 1.0 1.0
MoveTopic.php 1.0.1 1.0.1
News.php 1.0.3 1.0.3
Notify.php 1.0 1.0
PackageGet.php 1.0.1 1.0.1
Packages.php 1.0.1 1.0.1
Poll.php 1.0.3 1.0.3
Post.php 1.0.2 1.0.2
Printpage.php 1.0 1.0
Profile.php 1.0.3 1.0.3
QueryString.php 1.0 1.0
Recent.php 1.0.2 1.0.2
Register.php 1.0.3 1.0.3
Reminder.php 1.0 1.0
RemoveTopic.php 1.0.1 1.0.1
RepairBoards.php 1.0 1.0
SSI.php 1.0.3 1.0.3
Search.php 1.0.2 1.0.2
Security.php 1.0.2 1.0.2
SendTopic.php 1.0 1.0
SplitTopics.php 1.0 1.0
Stats.php 1.0 1.0
Subs-Auth.php 1.0.3 1.0.3
Subs-Boards.php 1.0 1.0
Subs-Graphics.php 1.0 1.0
Subs-Package.php 1.0.3 1.0.3
Subs-Post.php 1.0.3 1.0.3
Subs.php 1.0.2 1.0.2
Themes.php 1.0.2 1.0.2
ViewQuery.php 1.0 1.0
Who.php 1.0 1.0
Default Templates 1.0.3 1.0.3
Admin.template.php 1.0 1.0
BoardIndex.template.php 1.0.1 1.0.1
Calendar.template.php 1.0 1.0
Display.template.php 1.0.3 1.0.3
Errors.template.php 1.0 1.0
Help.template.php 1.0 1.0
InstantMessage.template.php 1.0 1.0
Login.template.php 1.0 1.0
ManageAttachments.template.php 1.0 1.0
ManageBoards.template.php 1.0 1.0
ManageMembers.template.php 1.0 1.0
ManagePermissions.template.php 1.0 1.0
ManageSmileys.template.php 1.0 1.0
Memberlist.template.php 1.0 1.0
MessageIndex.template.php 1.0 1.0
Modlog.template.php 1.0 1.0
MoveTopic.template.php 1.0 1.0
Notify.template.php 1.0 1.0
Packages.template.php 1.0.1 1.0.1
Poll.template.php 1.0.3 1.0.3
Post.template.php 1.0 1.0
Printpage.template.php 1.0 1.0
Profile.template.php 1.0.1 1.0.1
Recent.template.php 1.0.1 1.0.1
Register.template.php 1.0 1.0
Reminder.template.php 1.0 1.0
Search.template.php 1.0 1.0
SendTopic.template.php 1.0 1.0
Settings.template.php 1.0 1.0
SplitTopics.template.php 1.0 1.0
Stats.template.php 1.0 1.0
Themes.template.php 1.0 1.0
Who.template.php 1.0 1.0
Wireless.template.php 1.0.1 1.0.1
index.template.php 1.0 1.0
Language Files 1.0.1 1.0.1


Title: Re: Error 500: Internal Server Error
Post by: robbievk on April 05, 2005, 10:44:13 AM
that version 1.0.0 is just a variable set to 1.0.0 ($version), i'm not worried about that.

the path to config.smf.php: /administrator/components/com_smf/

how is your forum behaving? does it work okay? do you have SEF enabled?


Title: Re: save configuration error
Post by: Tam on April 05, 2005, 11:02:49 AM
How about Phpversions? (trying to find what we might have in common on our servers). php 4.3.11 here


Title: Re: Error 500: Internal Server Error
Post by: ddonzal on April 05, 2005, 11:03:17 AM
I just changed the path in the config file manually, and I can now login to the com config page. Here's what I get:

Permission Settings: All 4 set to 'is writeable.'
SMF Absolute Path: (incorrect path) /homepages/1/d109832938/htdocs/dsc136942053/administrator/components/com_smf/ 'Don't know what it should be.'
SMF Database Prefix:   smf_
Mambo Database Prefix:   mos_
Integration Option:  Wrapped     
Existing SMF With User Data? Checked
IMPORTANT: Uncheck only if you are using this for a fresh SMF install!
Version Info: SMF is not yet installed or the SMF Path is incorrect.

Your Mambo-SMF Integration version is 1.2.0-beta3.
Latest Mambo-SMF Integration Version is 1.2.0-beta3
 
 
INSTALLATION CHECKLIST:
installed Install SMF Forum on the same database as Mambo.
installed Install mod_smf_login module and publish it.
not installed Install SMFMamboMod.zip using your SMF Package Manager. 'But when I look in the package Manager in SMF, it's there!'
done Insert code to mambo template.

-----------------

I tried SEF and no go. I keep getting Error 404. That's the next issue to tackle, since this is the main reason I made the switch. Currently it is off within Mambo.

Thanks for your responses.


Title: Re: Error 500: Internal Server Error
Post by: ddonzal on April 05, 2005, 11:07:09 AM
While we're at it:

PHP Version:  4.3.10


Title: Re: save configuration error
Post by: ddonzal on April 05, 2005, 11:11:19 AM
PHP Version:  4.3.10
Web Server:  Apache/1.3.29 (Unix)

Hope this helps.


Title: Re: save configuration error
Post by: robbievk on April 05, 2005, 11:15:29 AM
PHP 4.3.3


Title: Re: Error 500: Internal Server Error
Post by: ddonzal on April 05, 2005, 12:28:36 PM
More info...

I did some more thorough testing, and here's what I found:

1. I registered a new test user just fine. Got the email, and activated the account. Logged in to my site http://www.certifiedsecuritypro.com and created a new post. All went fine.
2. The user is listed in the Mambo User Manager
3. Apparently keeping the SMF Absolute Path: /homepages/1/d109832938/htdocs/dsc136942053/forum seems to allow the forum to work although I continue to get the Error 500.
4. SEF doesn't work and neither does dynamic titles. I may tackle this if we get the Error 500 worked out.

So currently I'm seeing no benefit to making the change from the SMF Bridge to this Integration. I still have high hopes, but I'm on a deadline to have a working site by tomorrow.


Title: Re: Error 500: Internal Server Error
Post by: Editor (cowboy) on April 05, 2005, 01:17:28 PM
Can anyone getting this error pm me an access:
1. mambo admin
2. host access
3. db access
- and tell me the url.

I really don't know how to resolve this because I cannot re-create the error.


Title: Re: Error 500: Internal Server Error
Post by: Editor (cowboy) on April 06, 2005, 12:52:22 AM
HERE's WHAT I GOT SO FAR:

Can you please all confirm if you are all on CGI mode? To find out, go to system-info and look for "WebServer to PHP interface:".

Apparently, preg_match() that returns a long string match cause error 500 on this mode. Now I'm looking at a workaround other than preg_match().


Title: Re: Error 500: Internal Server Error
Post by: ddonzal on April 06, 2005, 01:03:27 AM
Copied directly from my Mambo Info Page:

WebServer to PHP interface:  cgi


Title: Re: Error 500: Internal Server Error
Post by: aravot on April 06, 2005, 02:07:23 AM
Could someone point me to the correct location, I can't find info page


Title: Re: Error 500: Internal Server Error (FIX)
Post by: Editor (cowboy) on April 06, 2005, 02:46:13 AM
Please download the attached file and put it in "/administrator/components/com_smf".

Let me know if this solved the issue.


Title: Re: Error 500: Internal Server Error (FIX)
Post by: robbievk on April 06, 2005, 03:35:25 AM
Yeah Great work!

What was it? cause as far as i know i'm not in a CGI environment


Title: Re: Error 500: Internal Server Error (FIX)
Post by: Editor (cowboy) on April 06, 2005, 03:47:24 AM
Yeah Great work!

What was it? cause as far as i know i'm not in a CGI environment
I meant PHP on CGI mode. The original version used a lot of preg_match() which is unnecessary. It caused error on CGI mode servers because it's parsing a long string.


Title: Re: Error 500: Internal Server Error (FIX)
Post by: Tam on April 06, 2005, 04:06:29 AM
Solved it for me (on IIS). Nice work  :-*


Title: Re: Error 500: Internal Server Error (FIX)
Post by: ddonzal on April 06, 2005, 06:16:19 AM
The new file fixed the Error 500 message. The Mambo Admin is now accessable and all is green and OK. How did you find that? Did the access help? Do you need further access?

FYI - Logging into the admin page of SMF (Administration Center) and viewing the version info, it still reads 'SMF 1.0.0 for Mambo' even though when I go to details, the rest still reads as:

SMF File Your Version Current Version
SMF Package SMF 1.0.0 for Mambo SMF 1.0.3
Sources 1.0.3 1.0.3
Default Templates 1.0.3 1.0.3
Language Files 1.0.1 1.0.1

Clearly this is a minor problem as the forum itself and the Mambo admin page now work.

Does this have anything to do with why SEF may not work properly?

Thanks for all your help & get some sleep,
ddonzal


Title: Re: Error 500: Internal Server Error (FIX)
Post by: robbievk on April 06, 2005, 09:00:59 AM
same here, but i still am not able to enable SEF, the forum won't work properly when i do that... links don't work, profiles can't be reached, etc etc

any thoughts?


Title: Re: Error 500: Internal Server Error
Post by: aravot on April 06, 2005, 10:48:51 AM
Copied directly from my Mambo Info Page:

WebServer to PHP interface:  cgi

Where in Mambo do you see that info


Title: Re: Error 500: Internal Server Error (FIX)
Post by: ddonzal on April 06, 2005, 12:03:01 PM
Login to Mambo Admin. On the menu on the top, select System then System Info.

Hope this helps.


Title: Re: Error 500: Internal Server Error (FIX)
Post by: aravot on April 06, 2005, 12:28:42 PM
Using Mambo 4.5.2
I don't have any System Info anywhere, do I need to enable it somewhere.

(http://webpages.charter.net/osipof/mambo/mambosystem.jpg)


Title: Re: Error 500: Internal Server Error (FIX)
Post by: ddonzal on April 06, 2005, 12:31:57 PM
That's odd. This would be one for the Mambo forum. I'm not sure why it's not there other than maybe the version, but that's a guess.

Sorry.


Title: Re: Error 500: Internal Server Error (FIX)
Post by: aravot on April 06, 2005, 12:58:06 PM
What is your version of Mambo


Title: Re: Error 500: Internal Server Error (FIX)
Post by: ddonzal on April 06, 2005, 01:02:21 PM
Mambo v4.5.1b


Title: Re: Error 500: Internal Server Error (FIX)
Post by: Editor (cowboy) on April 06, 2005, 03:31:10 PM
Using Mambo 4.5.2
I don't have any System Info anywhere, do I need to enable it somewhere.
Click "Help" and the link is on the upper-right side.


Title: Re: Error 500: Internal Server Error (FIX)
Post by: soudlous on April 06, 2005, 03:41:35 PM
thanx man it worked.


Title: Re: Error 500: Internal Server Error (FIX)
Post by: aravot on April 06, 2005, 09:13:12 PM
Mambo info page:

WebServer to PHP interface:  apache2handler

It worked ;D :) :D


Title: Re: Error 500: Internal Server Error (FIX)
Post by: soudlous on April 09, 2005, 11:40:57 AM
hey wassup

is this fix in the 1.2 mambo hacks bridge final?


Title: Re: Error 500: Internal Server Error (FIX)
Post by: aravot on April 09, 2005, 11:58:03 AM
Yes.


Title: Re: Error 500: Internal Server Error (FIX)
Post by: dj on May 04, 2006, 03:07:41 PM
Please download the attached file and put it in "/administrator/components/com_smf".

Let me know if this solved the issue.


Whenever I try to download this file, I get a server "timeout" error. Is there somewhere else to download this?


Title: Re: Error 500: Internal Server Error (FIX)
Post by: dj on May 04, 2006, 03:14:09 PM
Please download the attached file and put it in "/administrator/components/com_smf".

Let me know if this solved the issue.


Ok, I kept trying and I was finally able to download the file.

I was getting the following error, on a blank page:
Quote
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

So I download the admin.smf.php file, and uploaded to my server ... now I get the following errors:
Quote
Warning: main(D:/INETPUB/011/components/com_smf/language/english.php): failed to open stream: No such file or directory in D:\INETPUB\011\administrator\components\com_smf\admin.smf.php on line 27

Warning: main(): Failed opening 'D:/INETPUB/011/components/com_smf/language/english.php' for inclusion (include_path='.;c:\php4\pear') in D:\INETPUB\011\administrator\components\com_smf\admin.smf.php on line 27

Fatal error: Cannot instantiate non-existent class: mambosmflanguage in D:\INETPUB\011\administrator\components\com_smf\admin.smf.php on line 30

Got an ideas what else I could try? Please help.


Title: Re: Error 500: Internal Server Error (FIX)
Post by: -Wolverine on May 04, 2006, 03:30:01 PM
It appears the install of the component failed.  The required files as specified by the installer are not in the directories they are supposed to be.


Title: Re: Error 500: Internal Server Error (FIX)
Post by: dj on May 04, 2006, 04:30:50 PM
The install of the component said successful. When I uninstall and reinstall, the same problem occurs...

After checking the error and the file locations... this file:
D:/INETPUB/011/components/com_smf/language/english.php
... was actually in this folder ...
D:/INETPUB/011/administrator/components/com_smf/language/english.php

If I edit the admin.smf.php to fix the path, I get taken to the config page, but there are a TON of other errors as well (other paths broken, such as: there is no "functions.smf.main.php" file, but there is a "functions.smf.php").



Title: Re: Error 500: Internal Server Error (FIX)
Post by: Falgrim on August 26, 2006, 07:53:40 PM
Hi,

I have the same problem as dj, could someone help me out here?

Thanks.


Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com