Jump to content

TRUSTINWEB

Members
  • Posts

    14
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

TRUSTINWEB's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Using Unix platform.... Thanks-
  2. I am trying to do two cron jobs: I have a program that is set to do a cron job every 15mins to check for imported list staged in the que. But I keep getting an error message:?? sh: line 1: /home/username/sitename.com/8/crons/processimports.php: Permission denied sh: line 2: : command not found this is what I have: /usr/local/php5/bin/php -q /home/username/sitename.com/8/crons/processimports.php > /dev/null The second one is a scheduler to send out an email, but I get this error message: sh: line 1: /home/username/sitename.com/8/crons/scheduler.php: Permission denied from this out put: /usr/local/php5/bin/php -q /home/username/sitename.com/8/crons/scheduler.php > /dev/null Please Help?? Thanks, TRUSTINWEB
  3. I figured it out--- Thanks for the help... Thanks for pointing me in the right direction>>!!!! This was the magic code...
  4. Okay- I got it to work by using the following below: [pre]but I still get an error message:? ERROR CREATE PROJECT :Unknown column 'number_of_questions' in 'field list'[/pre] this is what I have now: CREATE TABLE `account` ( `account_id` int(20) NOT NULL auto_increment, `username` varchar(255) NOT NULL default '', `password` varchar(255) NOT NULL default '', `create_date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`account_id`) );# MySQL returned an empty result set (i.e. zero rows). CREATE TABLE `project` ( `project_id` int(20) NOT NULL auto_increment, `account_id` int(20) NOT NULL default '0', `project_name` varchar(255) NOT NULL default '', `admin_email` varchar(255) NOT NULL default '', `autoresponder_email` varchar(255) NOT NULL default '', `number_of_Answers` int(11) NOT NULL default '0', `Answers` text NOT NULL, `create_date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`project_id`) ) ;# MySQL returned an empty result set (i.e. zero rows). CREATE TABLE `stats` ( `project_id` int(20) NOT NULL default '0', `account_id` int(20) NOT NULL default '0', `question_id` int(20) NOT NULL default '0', `ip` bigint(20) NOT NULL default '0', `answered` int(20) NOT NULL default '0', `converted` int(20) NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00' ) ;# MySQL returned an empty result set (i.e. zero rows). Thanks- Again.. TRUSTINWEB
  5. Nope- that didn't work either... Thanks anyways... Still unsolved.. Any more suggestions would be appreciated... TRUSTINWEB
  6. [pre]Still having a 'Problem'[/pre] This is the part that is hanging up? So, I changed it to what was offered up here: I got rid of the default, and changed the call for the date/time. Also, I changed bigint(20) to int(11) ,but still not working?? Could some one put the code here, so I could copy 'n paste? I would appreciate it. [pre]Thanks-- TRUSTINWEB[/pre]
  7. TBL project creation failed ! Error :Invalid default value for 'account_id' below is the sql:
  8. Chrisynd, Thanks for the quick response! I will give it a try- TRUSTINWEB
  9. Hello, Looking for help on implementing java script into php?? <script src=" http://www.trustinweb.com/esel.js" type="text/javascript"></script> Also, how would you write an include with this too>? Thanks- TRUSTINWEB
  10. Thanks for the explanation & history: I appreciate it- Unfortunately- I did buy the script and is there a way around this problem>>? Can I create a .htaccess or php.ini file to throw in that file directory and if so, how would I write or do that??? Thanks a bunch- TRUSTINWEB
  11. Hello Everyone, I am having a problem with an error message: How can I do this? THANKS TRUSTINWEB
  12. Hello Everyone, I have just installed a script with .ico image files and they don't appear>? I have on my host: Not sure what to do next??? Thanks- TRUSTINWEB
  13. Here's the admin login: <?php ob_start("ob_gzhandler"); session_start(); include ("../includes/config.php"); include ("../includes/sessions.php"); if ($userStatus == '1' && $userGroup == '2' && isset($_SESSION['userid'])) { header ("Location: index.php"); exit(); } ?> <html> <head> <title> Administration</title> </head> <link rel="stylesheet" type="text/css" href="style.css"> <body bgcolor="#36648B" background="images/bg_body_blue.jpg"> <center> <br /><br /><br /><br /> <table style="border: 2px solid #CCCCCC; font-size: 12px; font-family: Arial; background-color: #FFFFFF;"> <tr> <td align="center"> <br /><b>Administration</b> <div style="padding: 10px;"> <form action="<?php echo $siteurl; ?>/index.php?action=login" method="post"> Username: <br /><input type="text" name="username" style="width: 150px; margin: 2px; border: 1px solid #A9A9A9;" maxlength="20"><br /> Password: <br /><input type="password" name="password" style="width: 150px; margin: 2px; border: 1px solid #A9A9A9;" maxlength="20"><br /> <input type="submit" name="submit" value="Log In" style="margin: 2px; border: 1px solid #A9A9A9; background-color: #FFFFFF;"> </form> </div> </td> </tr> </table> </center> </body> </html>
  14. I set this script up on the main site and it works fine, but I want to put in a subdirectory and that's where I have the problem?? There is a admin area that has a configuration file and I set the parameter http://www.website.com/Subdirectory so I thought this would switch everything over but it hasn['t]. ??? Can you give me some sugguestions?? TRUSTINWEB
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.