Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2003
Posts: 16
Newbie
Newbie
Offline
Joined: Feb 2003
Posts: 16
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

Last edited by Zezicla Zordo; 11/11/2013 9:44 PM.
Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I see you're running Perl in Windows; does the first line of cp.cgi reflect the path of perl installed?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2003
Posts: 16
Newbie
Newbie
Offline
Joined: Feb 2003
Posts: 16
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 ??

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2003
Posts: 16
Newbie
Newbie
Offline
Joined: Feb 2003
Posts: 16
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

Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Do you have a test Perl script setup that you *know* is working?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2003
Posts: 16
Newbie
Newbie
Offline
Joined: Feb 2003
Posts: 16
hello.cgi and hello.cgi work also cgi.cgi and the other test files too

Joined: Feb 2003
Posts: 16
Newbie
Newbie
Offline
Joined: Feb 2003
Posts: 16
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

Last edited by Zezicla Zordo; 11/12/2013 1:12 PM.
Joined: Feb 2003
Posts: 16
Newbie
Newbie
Offline
Joined: Feb 2003
Posts: 16
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 ??

Last edited by Zezicla Zordo; 11/12/2013 1:23 PM.
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Feb 2003
Posts: 16
Newbie
Newbie
Offline
Joined: Feb 2003
Posts: 16
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 ??

Last edited by Zezicla Zordo; 11/12/2013 4:02 PM.
Joined: Feb 2003
Posts: 16
Newbie
Newbie
Offline
Joined: Feb 2003
Posts: 16
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 ??

Joined: Feb 2003
Posts: 16
Newbie
Newbie
Offline
Joined: Feb 2003
Posts: 16
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

Joined: Feb 2003
Posts: 16
Newbie
Newbie
Offline
Joined: Feb 2003
Posts: 16
im now renaming all perl paths to
#!"C:/xampp/perl/bin/perl.exe"
now it all should work ill let you know laugh

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)