phatsyd
05-10-2004, 09:37 AM
Error Message: Exec format error
Error Number: 8
I have uploaded in ASCI mode but still cannot start create.cgi
Error Number: 8
I have uploaded in ASCI mode but still cannot start create.cgi
|
View Full Version : Error Message: phatsyd 05-10-2004, 09:37 AM Error Message: Exec format error Error Number: 8 I have uploaded in ASCI mode but still cannot start create.cgi phatsyd 05-10-2004, 09:52 AM The server encountered an internal error or misconfiguration and was unable to complete your request. hope u can save me some time and reply soon :D phatsyd 05-10-2004, 11:52 AM stiil i get an internal server error, could u please advise http://www.japsupercars.co.uk/cgi-bin/classifieds/classifieds.cgi is this where these images should be when - $url_to_templates = "http://www.japsupercars.co.uk/classified_images"; is defined http://www.japsupercars.co.uk/classified_images/tree.gif Jafo 05-10-2004, 01:17 PM Yes, that variables would seem to be correct. A 500 error can be many different things. What does your server log say? phatsyd 05-10-2004, 01:46 PM my host. thanks for the reply, hope i can get this sorted quickly phatsyd 05-12-2004, 12:53 PM i would like to customise classad. from http://www.japsupercars.co.uk/cgi-bin/classifieds/classifieds.cgi to http://www.japsupercars.co.uk/index.php I use dreamweaver with a template that updates all pages as i work on it. would i need to customise each page of classads/templates or just some. any advise before i start would be great Jafo 05-12-2004, 02:15 PM Well, it depends on how much you can do by using the header and footer templates. If you can fit most of your design in there, then you may not have to edit every template. Jafo 05-12-2004, 02:19 PM Oh and by the way, my pet is kickin your pets butt, you should go to the arena and fight back. :D phatsyd 05-13-2004, 12:42 AM sorted loads tonight,.. er this morning. but why the funny picture wen uploaded, like they are in complete? :confused: hope u can help Jafo 05-13-2004, 01:02 PM Im getting a 404 (file not found) error when I try to view your classifieds? (BTW, it is your turn in the fight, if we dont hurry and finish this battle our pets will starve to death). phatsyd 05-17-2004, 07:24 PM http://www.japsupercars.co.uk/classifieds/classifieds.cgi?List_Items&Used%20Cars%20For%20Sale this is where i am at the mo. i am also wondering why the pictures upload funny. i am getting errors everywhere wen put debug in there :( Jafo 05-17-2004, 09:07 PM I dont understand what the problem is? phatsyd 05-18-2004, 12:38 AM i have put the debug code in ,please register and logon Jafo 05-18-2004, 01:57 AM What debug code did you put in? Whatever it is, is causing cookie errors. phatsyd 05-18-2004, 11:26 AM # comment this BEGIN block out on production code for security BEGIN { $|=1; print "Content-type: text/html\n\n"; use CGI::Carp('fatalsToBrowser'); } # end of debug code log in as admin password twinturbo, i have taken the code out now browse the cars, without my debug it still throws up errors Jafo 05-18-2004, 01:29 PM http://www.worldwidecreations.com/cgi-bin/yabb/YaBBold.cgi?board=WWC;action=display;num=107227729 3 phatsyd 05-18-2004, 05:26 PM Hi done that, great help, but then this when browse under admin and it is under the posted by link Pha[Tue May 18 21:24:17 2004] classifieds.cgi: Issuing rollback() for database handle being DESTROY'd without explicit disconnect() at /home/sites/site34/web/classifieds/classifieds.cgi line 1410. [Tue May 18 21:24:17 2004] classifieds.cgi: Issuing rollback() for database handle being DESTROY'd without explicit disconnect() at /home/sites/site34/web/classifieds/classifieds.cgi line 1412. tsyd (0/0) any idea? Jafo 05-18-2004, 05:50 PM Comment out this line in classads.cgi (right at the beginning): use CGI::Carp qw(fatalsToBrowser); phatsyd 05-18-2004, 08:57 PM if i do, i get an internal server error so i put my debug code again to see this is what it looks like #!/usr/bin/perl use CGI qw/:standard/; require 'cookie.pl'; # comment this BEGIN block out on production code for security BEGIN { $|=1; print "Content-type: text/html\n\n"; use CGI::Carp('fatalsToBrowser'); } # end of debug code ### Your path to Sendmail $sendmail = "/usr/sbin/sendmail"; Jafo 05-18-2004, 10:57 PM Take out the debugging code and change the sub from before from this: sub dbdisconnect { #$dhb->disconnect() or oops("$! $@"); return 1; } To this: sub dbdisconnect { $_[0]->disconnect() or oops("$! $@"); return 1; } phatsyd 05-19-2004, 08:54 AM i have taken the debug out, and this is what sql.pl looks like, but logon as admin and go 'browse' sell' and login , I get sql errors return $results; } ### Connect to db sub dbconnect { my $db = DBI->connect("DBI:$dbtype:database=$dbname:host=$dbhost", $dbusername, $dbpassword) or &oops("$! DBI: $DBI::errstr"); return $db; } sub dbdisconnect { $_[0]->disconnect() or oops("$! $@"); return 1; } 1; Jafo 05-19-2004, 02:41 PM Add this right after yoru path to Perl: BEGIN { $SIG{__WARN__} = sub { $warn_error++; } } And change the sub dbdisconnect to: sub dbdisconnect { #$_[0]->disconnect() or oops("$! $@"); return 1; } phatsyd 05-19-2004, 05:29 PM looks lokie its working now, thanks alot :D |