Jump to content

CodeMyster

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by CodeMyster

  1. Ok thanks all... not sure why this was such a pain in the rear. My original scripts came from a site that was up and running for 5 years... I updated the local paths and it was 500 errors forever. I started gutting huge chunks of it to simply the problem and guess I removed 1 too many lines along the way lol. The header stuff above worked as does this: print header does all the CGI / HTML in a single call. Soooooooooooooooooo thanks for the help. I wrote most of my scripts 4 to 5 years ago and in looking them over today... I really need to rewrite it all in php I guess with SQL dbase support over the clunky flat system I used before. /thank
  2. Ok thanks for the help and ideas so far. Yes part of my initial script was clipped in the quote. I also tried changing the perl directory to /usr/local/bin/perl but that didnt do anything. The path in the cpanel shows it to be /usr/bin/perl. Good catch on the print "Content-type: text/html"; ... the original script I'm trying to get working had it, my sample did not. I did some more digging into error logs and determined it to be a 500 error: Premature end of script headers. Yea these suck Here is my current script that errors out: (http://www.huntingnut.com/cgi-bin/zz.pl) There is very very little to go wrong here. In fact if I delete it all but the #!/usr/bin/perl it will still error. As I said, I've also tried #!/usr/local/bin/perl with the same results. THIS STRONGLY MAKES ME SUSPECT THE PATH IS INCORRECT. Cpanel shows the path to be #!/usr/bin/perl ... /shrug I verified via 2 different apps I was uploading the file in Ascii Mode. I even went as far as deleting the file, creating it through cpanel, editing it and putting back in the code. Nada. CHMODs are correct (755) I've written quite a few PERL scripts so its not like I'm a total newbie at this, but darned if I can see what is wrong. Guess I could re-write everything in PHP but that poses problems of its own as its tricker to integrate into CPGNuke, I'm learning PhP quickly but it would still take some time before the old systems were up and functional again. I did alot of searching around here in the forums and I see ALOT of people who had this same issue. There are a ton of Support peeps saying "I'm not a perl expert but hang in there, someone will help", then a few pieces of advice but I've yet to see a post here where someone really said they had a similar issue that was cleared up by fixing something minor. I dunno... I've tried about every permutation I can think of... running out of ideas quickly though.
  3. Hi all, Ok first off lemme say I cant be happier with TCH hosting, my only regret was not moving servers sooner! I love the support and features and have been having a ball setting up my new site. That said, I have a minor issue. I've reached a point the highend site functionality is up and working but some of my custom PERL scripts I used with the previous host wont execute. The file is CHMod'd 755. In true programmer fashion I kept simplifying the script till I cant go any simplier. So here is the basic test script I'm down to: http://www.huntingnut.com/cgi-bin/zz.pl Something like this worked great before but gives an error here at TCH. It makes me suspect something outside of my control is causing the error. Once I can execute this stupidly simple script I can begin to fix the dozen or so other scripts I have left to port over. Any ideas / help? Thanks in advance!
  4. Umm ok its working now. For future reference heres what I *think* was going on. I created an account here at TCH, was given a temp address to access things while my domain was transfered over. During this transfer phase I installed PHP-Nuke... php-nuke appears to not like the temp address and caused an error. As soon as the DNS was updated for my domain, accessing PHPNuke / admin started working great. /shrug go figure Thanks anyway TCH people, you guys have a A+ thing going here
  5. Hi guys, Ok so I've reciently decided to move my site to your hosting service and must say, I extremely impressed with it thus far. I do have a minor issue however: Using the TCH cPanel I installed PhP-Nuke. This is using TCH's installer mind you, and following the instructions I was able to access it just fine, but when I clicked the link to set the SuperUser I get "Access Denied". I wont post the IP / address access to this publicly as I dont want some other goober going in and setting up the superuser behind my back LOL. Umm there wasnt any real instructions given through the installer concerning additional access's I'd have to set, whether a default admin name / pass was set up etc etc. Should I try to get the TCH installed PhP-Nuke working or just delete it all and install manually? -CodeMyster
×
×
  • Create New...