Jump to content

jfsinternetmarketing

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Posts posted by jfsinternetmarketing

  1. Hello,

     

    I was wondering if anyone could help me with PHP Timeclock 1.04.

     

    (Using dreamweaver replace and find)

    I successfully changed the old values of the "eregi" to "preg_match with the "/" "

    :

    Find: eregi \(\"([^']+?)\", Replace: preg_match ('/\1/i',

     

    I replaced all instances of TYPE=MyISAM with ENGINE=MyISAM in the create_tables.sql file

     

    as well as correcting line 100 to say

     

    timestamp bigint(14) NOT NULL,

     

    instead of timestamp timestamp(14) NOT NULL,

     

    When I load the timeclock.php it gives me the following errors I don't know where to start to correct:

     

    Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/sarab/public_html/CRISAGENCY.C0M/timesheet/display.php on line 133

     

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sarab/public_html/CRISAGENCY.C0M/timesheet/display.php on line 6

     

    Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/sarab/public_html/CRISAGENCY.C0M/timesheet/leftmain.php on line 186

     

    Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/sarab/public_html/CRISAGENCY.C0M/timesheet/leftmain.php on line 215

     

    So afterwards, I did another install under the /CRISAGENCY.C0M/timeclock and removed the "mysql_free_result" but it then gave me this:

     

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sarab/public_html/CRISAGENCY.C0M/timeclock/display.php on line 6

     

    Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/sarab/public_html/CRISAGENCY.C0M/timeclock/leftmain.php on line 186

     

    Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/sarab/public_html/CRISAGENCY.C0M/timeclock/leftmain.php on line 215

     

    Then when I try to go to the administration it says this:

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sarab/public_html/CRISAGENCY.COM/timeclock/login.php on line 19

     

     

    Obviously you can see our domain but I changed the "O" on dot come to 0 in case you want to see whats going on... afterwards I plan to just wrapper it onto our joomla.

     

     

    Here is the php info: http://crisagency.c0m/info.php

     

    Could anyone help or point me in the right direction?

     

    Thanks!

     

×
×
  • 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.