[Solved] Error during the first installation

So now I set the date via console Europe / Rome UTC … the Ellore now passed this way …

A PHP Error was encountered

Severity: Warning

Message: date(): It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘UTC’ for ‘UTC/0.0/no DST’ instead

Filename: libraries/Log.php

Line Number: 86

But what setting should I set for this to work ??? :weary:

I also download latest version to reinstall

Ok resolved set timezone in
/var/www/vhosts/system/ify.it/etc/php.ini

Thank you Iommes :smile:

You’re welcome.

But it is somehow strange because the date_default_timezone_set should be called before every request, so changing the systems timezone should have fixed this error.

Are you running your webpages on a shared hosting or a vps? Do you know the operating system of that machine?

Just saw that php was still using UTC/0.0/no DST as system timezone before, so this might still have been the problem

The machine is a Server Cloud I configured with Centos 6.6, the timezone is set to Europe / Rome UTC !! Set the php.ini in the root not work … as soon as I set the php.ini as Your everything worked !!

Now begin to experiment … but it seems like a great software !! Congratulations to all … if there was a warehouse extension products and the purchase invoices … would really be a competitive product on the market !!

Again congratulations to all

Hehe! Then wait for v1.2.0 as we are moving from “items” to “products” which will be the first step to the warehouse feature. :blush:

very well :+1:

hello … Kovah can be a function to export the invoice in an xml file according to the specifications of the file that you attach ?? This is the standard to which all companies must adapt from 31 March 2015 onwards for sending invoices to the Public Administration ?? If you plan to program this function would be available to provide all the information necessary !!

This follows the xml format:

http://www.fatturapa.gov.it/export/fatturazione/sdi/fatturapa/v1.1/IT01234567890_11001.xml

I think you should generate a xml file starting from the table that records the invoice in MySQL !!

No it’s not possible at the moment and will not be implemented in the current version. We planned extended exports and reports for version 2 which is in development right now.

ok then wait for the new version ! :+1:

Hello Kovah,

I have developed an export in php for electronic invoice according to the standard required in Italy.

Fields that were missing in sections invoices, customers, user I created them using the function that allows you to create custom fields.

I would understand if you can set an option to the menu options in the list that all invoices, to connect it to the file that I created by transferring variable as the invoice number, in order to generate the export file xml !!

Do you think that’s possible?
It would be a nice contribution to me that you can test for your next versions or with update of InvoicePlane !!

Let me know, so I send you the file I have compiled

a greeting
Giovanni

Sure. Share the file here and I’ll take a look.
But I can’t promise anything.

ok I’m trying to … just as soon as I tested everything I will send you the script! :wink:
I also noticed that if I delete an invoice, the number does not fit !! But it remains bound to the progressive Id record !! ?? So you have to edit it by hand … surely this is something that you will have to treat in later versions … :grin:

Good evening Kovah,

in modifying the template of the invoice I noticed that the custom fields are not displayed !! Could you tell me in which file to set the fields that can be taken to generate the invoice in pdf ??

Thanks :wink:

Please take a look at the wiki: https://github.com/InvoicePlane/InvoicePlane/wiki/Customfields

I got following error during first installation…

A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at ***/invoiceplane/system/core/Exceptions.php:185)

Filename: libraries/Session.php

Line Number: 688

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at ***/invoiceplane/system/core/Exceptions.php:185)

Filename: libraries/Session.php

Line Number: 688

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at ***/invoiceplane/system/core/Exceptions.php:185)

Filename: helpers/url_helper.php

Line Number: 542

Same Problem as: [Solved] PHP Error was Encountered

This is an error with your PHP-Version and the codeigniter core system.