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, I'm receiving many many warning messages in the follow flavor:

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /Users/conradwt/php.dir/akelos_framework/lib/AkObject.php on line 66

    Warning: Unknown: open(/var/folders/Mi/MiVKjMhdF6y1PBxSsZ1D2E+++TI/-Tmp-//sess_91g5o4r6hsc8is5s1k3j9rasb0, O_RDWR) failed: Permission denied (13) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0

    Could someone assist me because I'm not 100% as to what to do next? At this time, I only performed the following:

    ln -s <akelos_path>/public <apache_document_root>/akelos

    Now, is this step necessary for every project or is this something that I need to only do once?

    Thanks in advance,

    -Conrad
  2.  
    If allow_call_time_pass_reference is something required by the framework, then would it be possible to set this by default within the framework.

    -Conrad
    •  
      CommentAuthorbermi
    • CommentTime3 days ago
     

    Hi Conrad,

    It is not possible to disable pass-by-reference from the framework, you need to edit your php.ini in order to do so

    • CommentAuthorconradwt
    • CommentTime3 days ago
     
    Hi, is this required by the framework because I'm getting a lot of deprecation warning messages?

    -Conrad
    •  
      CommentAuthorbermi
    • CommentTime3 days ago
     

    It is required for PHP4 compatibility. Disabling "pass-by-reference" in your PHP is faster than creating a PHP5 only branch, which will be done if if we get some more help from contributions.

    • CommentAuthorconradwt
    • CommentTime3 days ago
     
    Hi, I have checked the php.ini file for PHP 5 installation and here are the settings:

    allow_call_time_pass_reference

    Local Value: Off

    Master Value: Off

    Thus, I don't understand why I'm getting these error messages if it is off and only required
    for PHP 4 when I'm using PHP 5. If you have any ideas as to why this is happening, please
    let me know and thanks in advance.
Add your comments
    Username Password
  • Format comments as