[FreePBX]Parking module upgrade - FOP2 needs one too

  1. 11 years ago

    Hi all.

    Firstly, thanks for this amazing panel and great work. My operators team sincerely love it!

    As you probably know, there was this night, an update with the parking lots module on FreePBX. The problem is that this module changes all his table structure and name, making FOP2 module crash on reload (it searches parkinglots table instead of parkplus table).
    So, could we have an update please? That's just a query to change! ;)
    I'll try to do a custom modification of the module, but I prefer an official update.

    I'm coming back Monday from vacation, so I hope you will manage to do us an update this week end.

    Thank you,

  2. admin

    2 Mar 2013 Administrator

    I have not tried that module update yet, looking at the table definitions, you might want to change in functions.inc.php the line

    $query = "SELECT data FROM parkinglot WHERE keyword='parkext'";

    with

    $query = "SELECT parkext AS data FROM parkplus ORDER BY parkext LIMIT 1";

  3. Yeah, I tried to do "SELECT parkext FROM parkplus WHERE id=1" but I forgot the AS data :/

    I'll modify it soon. So this request doesn't support multiple parking extensions as the new parking extension do. I hope you'll make an awesome update :D

    Thank you! :)

  4. admin

    2 Mar 2013 Administrator

    I made a simple update. There might be like 0,1% of people with the new park module, and all the rest that are also using fop2admin, that should work for everyone.

    For now, if you want multiple parking lots you have to configure them by hand.

    Anyways, I do not see the point of multiple parking lots in FreePBX as FreePBX itself is not truly multi tenant.

or Sign Up to reply!