Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Technical Support    Install Issues  ›  Get always 500 Internal Server Error
Users Browsing Forum
Yahoo! Bot and 1 Guests

Get always 500 Internal Server Error  This thread currently has 739 views. Print
2 Pages « 1 2 Recommend Thread
marie2rob
April 15, 2008, 11:10am Report to Moderator Report to Moderator

E-Blah Member
Posts: 58
Gender: Female
Posts Per Day: 0.24
Reputation: 87.50%
Reputation Score: +7 / -1
Time Online: 1 days 10 hours 54 minutes
Location: North Carolina
Hi,

vol7ron is right.  You can get to the install new forum but nothing is working.  You need to pm him and send your ftp information so he can set the permissions right.  You have everything uploaded but it's not working.

I went to your board and tried the login and password and got the error you get.


Have A Wonderful Day!
Marie  
Backgrounds By Marie
http://www.artistic-designers.com/bkgds


If I helped, PLEASE increase my reputation by clicking the link below   
http://www.eblah.com/forum/v-memberpanel/a-view/u-6434/r-1
Logged Offline
Site Site Private Message Private message Reply: 15 - 26
vol7ron
April 15, 2008, 12:37pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 106
Gender: Male
Posts Per Day: 0.45
Reputation: 100.00%
Reputation Score: +9 / -0
Time Online: 1 days 58 minutes
Location: Washington DC
Age: 25
I can't get this to work.  This seems to be a problem with Perl.  I even copied my old forum over to your directory and fixed the paths in the Settings.pl file.  This should have worked --- you can tell because it loaded the template files correctly.

For some reason it seems like your Perl cannot handle parameters being passed to it.  It can run Blah.pl but can't call any of the subroutines like:
Blah.pl?v-register/

Justin may need to install this for you, but I think you're going to have to talk to your admin again about problems with Perl.



Increase vol7ron's Rating
Logged Offline
Private Message Private message Reply: 16 - 26
helmutus
April 15, 2008, 1:45pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 10
Posts Per Day: 0.04
Time Online: 5 hours 40 minutes
Ok, I will phone in the morning with the support of my host. I hope this will help.
Thank you very much for your help and time.
It's great to be here in this forum.
Logged Offline
Private Message Private message Reply: 17 - 26
helmutus
April 16, 2008, 4:41am Report to Moderator Report to Moderator
E-Blah Member
Posts: 10
Posts Per Day: 0.04
Time Online: 5 hours 40 minutes
Hi everybody,

I phoned this morning with the support of my host. The guy at the phone told me, that he tested the server and Perl works well.
He puts a stratotest.pl in the forum dir, so now we can see the complete server configuration.

http://www.forum-freie-mystik.de/cgi-bin/forum/stratotest.pl

Perhaps it is possible to install Eblah with these informations.
Logged Offline
Private Message Private message Reply: 18 - 26
vol7ron
April 16, 2008, 8:00am Report to Moderator Report to Moderator
E-Blah Member
Posts: 106
Gender: Male
Posts Per Day: 0.45
Reputation: 100.00%
Reputation Score: +9 / -0
Time Online: 1 days 58 minutes
Location: Washington DC
Age: 25
I have both good and bad news for you.

Good: I think I have found the problem
Bad: I'm not quite sure how to solve it yet.

I think the problem is with your version of Perl, or you missing a Mod that the Forum requires.  I'm not sure which yet as my experience with Perl is dated and I've been just getting back into it.

The problem is what I suggested before with passing parameters to the program.  Traditional parameters are assigned to a variable with an equal sign (=), whereas E-Blah uses a minus sign (-) in the query string.  I am not exactly sure why, other than it's different and looks nice, but it works for the rest of us.  It could be some effort to deter bots away (who knows).

I'll look into conditions of the query string and see why this would be a trouble.
____________________________________________
To help depict what I was saying. Running:
____________________________________________

program.pl?variable=value
print "Query String: ".$ENV{'QUERY_STRING'};  # this shows 'Query String: variable=value'


program.pl?variable-value
print "Query String: ".$ENV{'QUERY_STRING'};  # this shows an error


Both of these work on mine.  One option is for you to go through all the code and change all the links from a minus sign to an equal sign.  But I would suggest waiting before you do that because you don't want to have to do that with each update.  Instead I'd talk to your admin about the problem and maybe figure out how to solve it from there.

The issue is for any argument passed into the query string without an equal sign.  All of these generate errors:
program.pl?test
program.pl?-test

And these don't generate errors:
program.pl?test=
program.pl?=test



Increase vol7ron's Rating

Revision History (1 edits)
vol7ron  -  April 16, 2008, 8:15am
Logged Offline
Private Message Private message Reply: 19 - 26
helmutus
April 16, 2008, 10:03am Report to Moderator Report to Moderator
E-Blah Member
Posts: 10
Posts Per Day: 0.04
Time Online: 5 hours 40 minutes
The support of my host told me a few minutes ago, that the Perl installed on the Stato servers doesn't tolerate a minus-sign as an equal-sign. So I think, I have to change all "-" to "="
I hope this will solve the problem.
Logged Offline
Private Message Private message Reply: 20 - 26
vol7ron
April 16, 2008, 10:12am Report to Moderator Report to Moderator
E-Blah Member
Posts: 106
Gender: Male
Posts Per Day: 0.45
Reputation: 100.00%
Reputation Score: +9 / -0
Time Online: 1 days 58 minutes
Location: Washington DC
Age: 25
Tell your support host that your server doesn't tolerate anything.

Tell them to go to:
http://www.forum-freie-mystik.de/cgi-bin/forum/stratotest.pl
(There is an environment-variables section.  You'll notice that QUERY_STRING is blank.)

Then tell them to go to:
http://www.forum-freie-mystik.de/cgi-bin/forum/stratotest.pl?Test
(obviously an error will occur)

Finally tell them to go to:
http://www.web-critic.net/cgi-bin/stratotest.pl?Test
(now look at the QUERY_STRING in Environment-Variables)


The problem isn't just the minus sign.  It's the fact that there is no equal sign at all.  They need to fix that.



Increase vol7ron's Rating
Logged Offline
Private Message Private message Reply: 21 - 26
vol7ron
April 17, 2008, 10:25am Report to Moderator Report to Moderator
E-Blah Member
Posts: 106
Gender: Male
Posts Per Day: 0.45
Reputation: 100.00%
Reputation Score: +9 / -0
Time Online: 1 days 58 minutes
Location: Washington DC
Age: 25
Another problem with changing all the links is that you'll also have to change the separator function from a minus sign to an equal sign as well.  I think it's in Blah.pl

Really we should be using the CGI mod to handle the URL form arguments.  Justin/Martin (whomever updates the code) should start converting all the links to equal signs and using the CGI.

$_ = s/(href=\".+?)\-(.*?\")/$1\=$2/ig

I wrote the RegEx above to replace anything like hReF="blahblah-blah blah" to hReF="blahblah=blah blah".  I didn't test it but I think it'll work.

Just make a program to loop through the forum directory and sub directories, read in each file line by line, make the change, output it back to the file and move on.

Again you'll still need to modify the Blah.pl, I think there's a split() function somewhere in there being called for the URL separator.



Increase vol7ron's Rating
Logged Offline
Private Message Private message Reply: 22 - 26
helmutus
April 17, 2008, 12:08pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 10
Posts Per Day: 0.04
Time Online: 5 hours 40 minutes
@ vol7ron
I mailed your ideas for solving the problem to my support. Unfortunatly they don't answer until now. I hope, they'll do so tomorrow.
Logged Offline
Private Message Private message Reply: 23 - 26
Justin
April 17, 2008, 1:13pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
Quoted from vol7ron
Another problem with changing all the links is that you'll also have to change the separator function from a minus sign to an equal sign as well.  I think it's in Blah.pl

Really we should be using the CGI mod to handle the URL form arguments.  Justin/Martin (whomever updates the code) should start converting all the links to equal signs and using the CGI.

$_ = s/(href=\".+?)\-(.*?\")/$1\=$2/ig

I wrote the RegEx above to replace anything like hReF="blahblah-blah blah" to hReF="blahblah=blah blah".  I didn't test it but I think it'll work.

Just make a program to loop through the forum directory and sub directories, read in each file line by line, make the change, output it back to the file and move on.

Again you'll still need to modify the Blah.pl, I think there's a split() function somewhere in there being called for the URL separator.


1.) I changed them from = to - for SEO reasons.  It's worked very well.  Old versions of E-Blah had the =.
2.) CGI is used some, but not for every call.  I tried to limit usage of modules to speed E-Blah up.   CGI is used for things such as attaching files.



I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 24 - 26
vol7ron
April 17, 2008, 2:25pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 106
Gender: Male
Posts Per Day: 0.45
Reputation: 100.00%
Reputation Score: +9 / -0
Time Online: 1 days 58 minutes
Location: Washington DC
Age: 25
We should open a new thread on how to speed things up even further.  I think if we obfuscated the Perl code, it could potentially speed things up dramatically.

What I'd recommend is having two files.  One, a source file, that allows users/programmers to easily write and make changes to the code.  This would also be good to include as many comments as possible.

Then we'd run it through a Perl obfuscator and it would output our compressed production program without comments, linebreaks, or anything.
Also, I think Perl allows you to load parts of the Mod into memory to speed things up.  I think CGI has a lot of security features that help make things inpenetrable.



Increase vol7ron's Rating
Logged Offline
Private Message Private message Reply: 25 - 26
Justin
April 18, 2008, 2:55pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
Quoted from vol7ron
We should open a new thread on how to speed things up even further.  I think if we obfuscated the Perl code, it could potentially speed things up dramatically.

What I'd recommend is having two files.  One, a source file, that allows users/programmers to easily write and make changes to the code.  This would also be good to include as many comments as possible.

Then we'd run it through a Perl obfuscator and it would output our compressed production program without comments, linebreaks, or anything.
Also, I think Perl allows you to load parts of the Mod into memory to speed things up.  I think CGI has a lot of security features that help make things inpenetrable.


CGI does.  There are features in place that make sure that nothing can be put into a URL without CGI though.  CGI is just big and clunky for something you only need a few parts of.  I try to use modules sparingly.  

As for the comments -- have you looked at my code?     I don't know how to use comments.  


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 26 - 26
2 Pages « 1 2 Recommend Thread
Print

E-Blah Community    Technical Support    Install Issues  ›  Get always 500 Internal Server Error