phpipam / phpipam

phpipam development repository
https://phpipam.net
2.24k stars 735 forks source link

V1.5 Blank Excel file when exporting Subnets #4283

Open Graham9999 opened 2 weeks ago

Graham9999 commented 2 weeks ago

Describe the bug When I export Subnets I get a blank file. This may be related to an earlier version of PHPIPAM, I don't know as this is the first time I am trying to export subnets. I recognise that this issue is present in earlier versions, however this is the first time I have needed to export.

phpIPAM version 1.5.0 db version 27

Versions of phpIPAM known to contain the issue (delete as appropriate). at least current.

Your Environment (please supply the following information):

I don't have access to all of the info. The Linux box and DB are managed by another group. I am with the networks team.

Steps To Reproduce Please include steps to reproduce the issue:

  1. Go to Administration
  2. Click on Import/Export
  3. Under Import/Export section, Data set = Subnets
  4. Click on Action Export
  5. Check desired section to export (uncheck undesired sections). Leave Fields as default
  6. Click Export
  7. set path and filename, click ok

Empty file is exported.

Screenshots and error logs Please set $debugging=true; in your config.php and include any reported error messages. If applicable, add screenshots or other error logs to help explain your problem.

Additional Info Nil.

GaryAllan commented 2 weeks ago

Hi, This is usually due to PHP8 breaking backwards compatibility with PHP7.

Some LTS Linux distros still support core packages including php7.

If you want to stick with php8 it should be fixed in 1.7.0.

Graham9999 commented 1 week ago

Thank you for your prompt reply Gary.

If I go back to php7, then this should resolve the issue? I can enquire with our Linux team.

Do we have an eta for 1.7? I see 1.6 is out now.

Please be aware that my availability for meetings is based on the AWST timezone. Please check my calendar for availability.

Upcoming Leave: 2 October to 13 October

Graham Astbury Senior Network Engineer | Network Services

Level 11 - 66 Saint Georges Terrace, Perth WA 6000 AUSTRALIA Email: @.**@.> (NOTE: NEW Email Domain) www.datacom.comhttp://www.datacom.com/

@.***

From: GaryAllan @.> Sent: Wednesday, 23 October 2024 3:32 PM To: phpipam/phpipam @.> Cc: Graham Astbury @.>; Author @.> Subject: Re: [phpipam/phpipam] V1.5 Blank Excel file when exporting Subnets (Issue #4283)

You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

Hi, This is usually due to PHP8 breaking backwards compatibility with PHP7.

Some LTS Linux distros still support core packages including php7.

If you want to stick with php8 it should be fixed in 1.7.0.

- Reply to this email directly, view it on GitHubhttps://github.com/phpipam/phpipam/issues/4283#issuecomment-2431147294, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVP5YCE7CZ6B7MIVUZXLYFTZ45GHNAVCNFSM6AAAAABQNTFE2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZRGE2DOMRZGQ. You are receiving this because you authored the thread.Message ID: @.**@.>>

GaryAllan commented 1 week ago

1.7.0 will be tagged next Wed. (Assuming no major issues found)