webERP Forum
[Solved] Error in SalesGraph.php: Unexpected T_INCLUDE - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (/forumdisplay.php?fid=8)
+--- Thread: [Solved] Error in SalesGraph.php: Unexpected T_INCLUDE (/showthread.php?tid=913)



[Solved] Error in SalesGraph.php: Unexpected T_INCLUDE - MacPhotoBiker - 06-01-2013 11:06 AM

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!


RE: Error in SalesGraph.php: Unexpected T_INCLUDE - TurboPT - 06-01-2013 01:07 PM

This appears to have already been fixed.

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


RE: Error in SalesGraph.php: Unexpected T_INCLUDE - MacPhotoBiker - 06-01-2013 01:57 PM

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.


RE: Error in SalesGraph.php: Unexpected T_INCLUDE - TurboPT - 06-01-2013 02:00 PM

(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.


RE: Error in SalesGraph.php: Unexpected T_INCLUDE - MacPhotoBiker - 06-01-2013 02:06 PM

Thank you, I will have to look into this. Off you head, would you know of any "Intro for dummies"?


RE: Error in SalesGraph.php: Unexpected T_INCLUDE - TurboPT - 06-01-2013 02:12 PM

Intro to what, exactly?

SVN, PHP, MySQL, etc?


RE: Error in SalesGraph.php: Unexpected T_INCLUDE - MacPhotoBiker - 06-01-2013 02:24 PM

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!


RE: Error in SalesGraph.php: Unexpected T_INCLUDE - MacPhotoBiker - 06-03-2013 03:28 PM

Bug fixed version provided here: http://www.weberp.org/forum/showthread.p...80#pid2780


RE: [Solved] Error in SalesGraph.php: Unexpected T_INCLUDE - phil - 06-04-2013 07:12 AM

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/listinfo/web-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/