UBB.Dev
Posted By: Zezicla Zordo im wanting to use my UBB 6.1.0.3 again - 11/12/2013 4:43 AM
seems i keep getting this fallowing msg
Server error!

The server encountered an internal error and was unable to complete your request.

Error message:
couldn't create child process: 720002: cp.cgi

If you think this is a server error, please contact the webmaster.
Error 500
127.0.0.1
Apache/2.4.4 (Win32) OpenSSL/1.0.1e PHP/5.5.3

how to fix this ? cgi.cgi works in htdocs and the cgi-bin
if also chmod all to correspending numbers
some help plz smile
Posted By: Gizmo Re: im wanting to use my UBB 6.1.0.3 again - 11/12/2013 9:42 AM
I see you're running Perl in Windows; does the first line of cp.cgi reflect the path of perl installed?
its still not working
this is the map installed C:\xampp\perl\bin
i tryed variuous lines like
#!xampp/perl/bin
#!user/perl/bin
#!perl/bin
is there another solution ??
Posted By: Gizmo Re: im wanting to use my UBB 6.1.0.3 again - 11/12/2013 11:37 AM
Try either:
#!C:/xampp/perl/bin
#!C:/xampp/perl/bin/perl.exe


In WAMP I have to use:
#!C:/wamp/apps/Perl/bin/perl.exe

It's all about finding the path it will actually use; I believe there should be a copy of perl.exe in the proper directory.
using #!C:/xampp/perl/bin/perl.exe
now gives a new error

Server error!

The server encountered an internal error and was unable to complete your request.

Error message:
End of script output before headers: cp.cgi

If you think this is a server error, please contact the webmaster.
Error 500
127.0.0.1
and i know i should replace all files witch have the wrong line to #!C:/xampp/perl/bin/perl.exe
but there are files without this header
but first this error plz
Posted By: Gizmo Re: im wanting to use my UBB 6.1.0.3 again - 11/12/2013 7:20 PM
Do you have a test Perl script setup that you *know* is working?
hello.cgi and hello.cgi work also cgi.cgi and the other test files too
i found out that an other version do works smile so im gone use 6.05 afterschok edition
you mby still got a install guide on it ? + chmod options
my ftp server gives this error
Commando: SITE CHMOD 755 variables
Antwoord: 504 Command not implemented for that parameter
im using filezilla server and client
second i get this error after fallowing the guide i ahve

Error including required files: Can't locate vars_config.cgi in @INC (@INC contains: C:/xampp/cgi-bin/UBB C:/xampp/perl/site/lib C:/xampp/perl/vendor/lib C:/xampp/perl/lib .) at C:/xampp/cgi-bin/UBB/cp.cgi line 46. Make sure these files exist, permissions are set properly, and paths are set correctly.

i know that variables arent found how to fix this ??
i ran cp.cgi to get this error

after putting for test all variables in the ubb cgi folder i get this error

Error including required files: Reference to invalid group 0 in regex; marked by <-- HERE in m/\g <-- HERE etcookie/ at C:/xampp/cgi-bin/UBB/ubb_lib.cgi line 644. Compilation failed in require at C:/xampp/cgi-bin/UBB/cp.cgi line 50. Make sure these files exist, permissions are set properly, and paths are set correctly.

what to do ?

edit: i found on on windows no need chmod so leave that
i used this ubb6_test.cgi
all works fine but not
check my absolute paths in general settings if available

Path Path exists and is a directory OK
CGI Directory Path has not been defined sucessfully in the control panel help
NonCGI Directory Path has not been defined sucessfully in the control panel help
Members Directory Path has not been defined sucessfully in the control panel help
Variables Directory Path has not been defined sucessfully in the control panel

what to do as cg.cgi whont start

will change the files with a bin/perl line update them all with
#!"C:/xampp/perl/bin/perl.exe"
before it will work or ??
Posted By: Gizmo Re: im wanting to use my UBB 6.1.0.3 again - 11/12/2013 10:57 PM
It's possible 6.1.0.3 isn't compatibile with that version of Perl (where the test script may execute it's possible that other items in the script itself rely on outdated items that may have been depreciated in newer versions of Perl); since the v6 series is well past EoL and the 6.1 part of it would have been quite a long time ago... Is there any particular reason you want to run 6.1? There will be several security issues with running that version of an end of life build...

And yes, the shebang line will always have to point to the location of Perl in order for Perl to run a script.
i fixed it but not complelty i must have doen # no need to touch there statements:

# require "ubb_lib.cgi";
# require "cp_lib.cgi";
while normal theses 2 # arent there
lemme know if i can continue like this ??

fallow up

# require "ubb_lib.cgi";
require "cp_lib.cgi";
this works how to fix this ubb_lib.cgi ??
line 649 of ubb_lib.cgi
if ($_[0] =~ /\getcookie/i) {
&StandardHTML("$vars_wordlets_err{illegal_html_tag} GETCOOKIE"); exit;
line 50 of cp.cgi
require "ubb_lib.cgi";
do
# require "ubb_lib.cgi";
fixes it but dont i need it ??
i fixed it laugh
if ($_[0] =~ /\getcookie/i) {
&StandardHTML("$vars_wordlets_err{illegal_html_tag} GETCOOKIE"); exit;
}

should be

if ($_[0] =~ /\Getcookie/i) {
&StandardHTML("$vars_wordlets_err{illegal_html_tag} GETCOOKIE"); exit;
}
with a capital now the setup page is showing laugh
im now renaming all perl paths to
#!"C:/xampp/perl/bin/perl.exe"
now it all should work ill let you know laugh
Posted By: Gizmo Re: im wanting to use my UBB 6.1.0.3 again - 11/13/2013 12:02 AM
Well, the # sign usually denotes a comment, so by putting #'s you're actually commenting out the code; only the shebang line should have a #! otherwise you're likely commenting out things that need to be there...
© UBB.Developers