webERP Forum

Full Version: [Solved] Error in SalesGraph.php: Unexpected T_INCLUDE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

when running >Receivables >Sales Graphs, I get this error message:

Parse error: syntax error, unexpected T_INCLUDE in /home/xxx/public_html/webERP/SalesGraph.php on line 12

I'm running version 4.10.1

Thanks for any advice!
This appears to have already been fixed.

Basically, a semi-colon is needed at the end of line 10.
Hi TurboPT,

thanks also for this advice here.

How do you get your updates? Via SVN?

Obviously I do not want to "revive" old errors, so I should work on my update strategy, I guess.
(06-01-2013 01:57 PM)MacPhotoBiker Wrote: [ -> ]How do you get your updates? Via SVN?

Yes, with SVN. I'm also on a mailing list, so I see updates that have been committed too.
Thank you, I will have to look into this. Off you head, would you know of any "Intro for dummies"?
Intro to what, exactly?

SVN, PHP, MySQL, etc?
Sorry for not being very precise with my question. I meant any strategy regarding how to use SVN to keep a production installation of webERP current. But probably this is more of an SVN topic rather than webERP. I'll try to do my homework there first Smile

Anyway, thanks for putting me on the right track!
MacPhotoBiker,

You can keep abreast of any changes in the code by subscribing to the web-erp-svn mailing list - this shows a "diff" for each change - showing the lines removed and the lines added.

https://lists.sourceforge.net/lists/list...eb-erp-svn

You can download any of the changed files from the svn repository manually - if you are not using subversion to update your files directly. See

https://sourceforge.net/p/web-erp/code/HEAD/tree/trunk/
Reference URL's