Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorConrad Taylor
     
    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
    • CommentAuthorConrad Taylor
     
    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
     

    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
     
    Hi, is this required by the framework because I'm getting a lot of deprecation warning messages?

    -Conrad
    •  
      CommentAuthorbermi
     

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