Menu

#47 Error from common,php

v2.3.2
closed
nobody
None
1
2015-05-29
2015-05-29
Mike Jones
No

Hi, I just installed the project. I am using NetBeans IDE - XAMPP and PHP version 5.6.8. Comes up ok, but I get the following PHP warning at the top of most pages:

A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257

The offending line is: return $_config[0] =& $config;

Program seems to work fine otherwise (although I have not tested it much). I dabble, but this is a bit out of my depth - any suggestions?

Thanks,

Mike J.

Discussion

  • jekkos

    jekkos - 2015-05-29

    Ok thanks for the link. This looks like an issue in CI 2.2. Might be best to upgrade to 2.2.2.

     
  • jekkos

    jekkos - 2015-05-29
    • status: open --> closed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.