Code Monkey home page Code Monkey logo

Comments (6)

mattpascoe avatar mattpascoe commented on July 23, 2024

Looks like I need to set up a newer version of php on my dev environment. I am using php v8.1.x and it seems there is no issue on that version.

This particular part of the code is not exactly written well so I'm not surprised it is starting to have issue with newer php versions. I'll see if I can get a newer version of php set up and get this code cleaned up. Thanks for letting me know!

from ona.

heppel avatar heppel commented on July 23, 2024

Hi Matt,

this issue affects not just CNAMEs, but also (at least) MX and TXT records.

Is there a time frame for a fix? My workaround with footer files is tiresome. I appreciate your efforts but I start to think about switching to a different IPAM system. Downgrading my PHP version is not an option.

from ona.

mattpascoe avatar mattpascoe commented on July 23, 2024

@heppel Sorry for my delay in getting back to you on this. Well I have done what I can to try and recreate this and have not yet had the issue.

I have installed php 8.2.10 on ubuntu as well as php 8.2.7 on debian12 (via default docker container images). I am able to add CNAMES, MX and TXT records with no issues.

I'm not sure which method you use to install/upgrade ONA but I would maybe refresh your installation to see if something is possibly missing? I usually install my systems via a direct git clone which allows for easy updates as well as to see a comparison of local files with the core repo.

For reference.. my line 1074 of the functions_general.inc.php file looks like this:

    if ((strlen($ip) >= 3) and (@strpos($ip, ':',3) !== false)) {

from ona.

heppel avatar heppel commented on July 23, 2024

Well, I'm using the official version from the "master" branch. The line you are citing is from the "develop" branch. It's different in the "master" branch.

Are you saying, that I should switch to the "develop" branch?

from ona.

mattpascoe avatar mattpascoe commented on July 23, 2024

Well this is just downright embarrassing. I clearly lost track timeframes. I looked at my develop branch and thought that my changes were already released in 19.0.1. CLEARLY they were not.

I have released a proper update (19.0.2) that should include the fixes to address your issue. Sorry for the extreme waste of time and frustration.

from ona.

heppel avatar heppel commented on July 23, 2024

Thank you.It's working now since upgrading to 19.0.2.

from ona.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.