Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
  1.  
    Hi ,

    When i try to activate an ad, i get this error

    Notice: Undefined index: later_edit in /home/flakdesi/public_html/hireme.sg/page_activate.php on line 4

    Warning: Cannot modify header information - headers already sent by (output started at /home/flakdesi/public_html/hireme.sg/page_activate.php:4) in /home/flakdesi/public_html/hireme.sg/_includes/function.redirect_to.php on line 16

    Any solution for this?

    thank you
    regards
    vinay
  2.  

    yes, i get the same error…

    interesting to note that whilst i get this error, the job is still activated… so the error is caused by something trying to happen AFTER the job is posted…

    ...if that helps :)

  3.  

    i compared the line of code on the page_activate.php file to the same line in the page_deactivate.php file and found a similar but different line of code…

    activate:
    if (($_SESSION[‘later_edit’] == $j->GetAuth()) || ($extra != ‘’ && $extra == $j->GetAuth()))

    deactivate:
    if ((isset($_SESSION[‘later_edit’]) && $_SESSION[‘later_edit’] == $j->GetAuth()) || ($extra != ‘’ && $extra == $j->GetAuth()))

    notably, ‘isset’ is used along with a few other variables.

    i replaced the activate’s page line 4 with the same line from the deactivate page, and so far haven’t gotten the error again…

    solved?
    maybe…. :)

    •  
      CommentAuthorgason
    • CommentTimeJan 28th 2008
     
    That´s not working for me...
    Now i´m getting this error:

    Notice: Use of undefined constant ?later_edit? - assumed '?later_edit?' in /home/ag000695/public_html/page_activate.php on line 4

    Notice: Use of undefined constant ?? - assumed '??' in /home/ag000695/public_html/page_activate.php on line 4

    Warning: Cannot modify header information - headers already sent by (output started at /home/ag000695/public_html/page_activate.php:4) in /home/ag000695/public_html/_includes/function.redirect_to.php on line 16

    But anyway the ad activation works
  4.  

    weird… it totally solved my problem…

    you coped FROM the deactivate page line 4, TO the activate page line 4?

    •  
      CommentAuthoralex
    • CommentTimeFeb 6th 2008
     

    it worked for me.
    thanks.