Cacti / plugin_gexport

Cacti Graph Export Plugin
GNU General Public License v2.0
12 stars 9 forks source link

Empty site variable may cause errors to appear #37

Closed carboxste closed 3 years ago

carboxste commented 5 years ago

Hi to All, after updating the cacti from 1.2.3 to 1.2.4 the gexport plugins no more work.

I tried to remove and enable it again but without success but the log shows only those informations:

cacti.log.3.gz:2019/07/10 05:18:27 - CMDPHP SQL Backtrace: (/plugins/gexport/poller_export.php[107]:graph_export(), /plugins/gexport/functions.php[120]:run_export(), /plugins/gexport/functions.php[162]:exporter(), /plugins/gexport/functions.php[421]:export_graphs(), /plugins/gexport/functions.php[747]:db_fetch_cell(), /lib/database.php[358]:db_fetch_cell_prepared(), /lib/database.php[374]:db_execute_prepared())

cacti.log.3.gz:2019/07/10 05:25:28 - CMDPHP SQL Backtrace: (/plugins/gexport/poller_export.php[107]:graph_export(), /plugins/gexport/functions.php[120]:run_export(), /plugins/gexport/functions.php[162]:exporter(), /plugins/gexport/functions.php[421]:export_graphs(), /plugins/gexport/functions.php[747]:db_fetch_cell(), /lib/database.php[358]:db_fetch_cell_prepared(), /lib/database.php[374]:db_execute_prepared())

The cacti forum suggested me to open an issue with Github

...... gexport likely uses a function that now has been changed to a byref parameter... can you open this is a bug on github for gexport repo?


Official Cacti Developer .......

Could you please patch gexport for the last Cacti version?

Thanks a lot

Best regards

carboxste commented 5 years ago

???

carboxste commented 5 years ago

Understood, I will keep cacti 1.2.3 ang Gexport 1.4.2...

netniV commented 5 years ago

This should now be resolved.

netniV commented 5 years ago

Sorry, you were faster than me as my kids wanted a kiss goodnight between me pushing the update and commenting on here.

carboxste commented 5 years ago

Ah ok I am very sorry, I have misunderstood the reply :-D Thanks a lot and good night to all :-D

carboxste commented 5 years ago

The problem persist. No prob we keep cacti version 1.2.3

netniV commented 5 years ago

Do you have the logs around this when the error reoccurred? Not just the SQL lines?

carboxste commented 5 years ago

Hello I have only the screenshot of cacti of error log. If you tell me what have I to search, please leti me know.

Thank you Best regards Stefano

Stefano Carbonera


INRETE S.r.l. Via Postiglione 29 10024 Moncalieri - TO Tel: +390116811590 Fax: +390116811603 e-mail: carbo@inrete.eu http://www.inrete.eu

Il giorno 15 lug 2019, alle ore 13:18, Mark Brugnoli-Vinten notifications@github.com ha scritto:

Do you have the logs around this when the error reoccurred? Not just the SQL lines?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Cacti/plugin_gexport/issues/37?email_source=notifications&email_token=ALWD46XTYGFUA6HR5TYAKX3P7RMKBA5CNFSM4IDRQIS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ5MMMQ#issuecomment-511362610, or mute the thread https://github.com/notifications/unsubscribe-auth/ALWD46QSQE6XT5LM2PL4A2TP7RMKBANCNFSM4IDRQISQ.

netniV commented 5 years ago

Copy and paste the lines around the error, there is usually more than just the above since there is normally the actual SQL error.