Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Error in SalesGraph.php: Unexpected T_INCLUDE
06-01-2013, 11:06 AM (This post was last modified: 06-03-2013 03:29 PM by MacPhotoBiker.)
Post: #1
Bug [Solved] Error in SalesGraph.php: Unexpected T_INCLUDE
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!

MacPhotoBiker
Just Core Business Inc.
[url]http://www.justcorebusiness.com[/url]
Find all posts by this user
Quote this message in a reply
06-01-2013, 01:07 PM (This post was last modified: 06-01-2013 02:01 PM by TurboPT.)
Post: #2
RE: Error in SalesGraph.php: Unexpected T_INCLUDE
This appears to have already been fixed.

Basically, a semi-colon is needed at the end of line 10.
Find all posts by this user
Quote this message in a reply
06-01-2013, 01:57 PM
Post: #3
RE: Error in SalesGraph.php: Unexpected T_INCLUDE
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.

MacPhotoBiker
Just Core Business Inc.
[url]http://www.justcorebusiness.com[/url]
Find all posts by this user
Quote this message in a reply
06-01-2013, 02:00 PM (This post was last modified: 06-01-2013 02:00 PM by TurboPT.)
Post: #4
RE: Error in SalesGraph.php: Unexpected T_INCLUDE
(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.
Find all posts by this user
Quote this message in a reply
06-01-2013, 02:06 PM
Post: #5
RE: Error in SalesGraph.php: Unexpected T_INCLUDE
Thank you, I will have to look into this. Off you head, would you know of any "Intro for dummies"?

MacPhotoBiker
Just Core Business Inc.
[url]http://www.justcorebusiness.com[/url]
Find all posts by this user
Quote this message in a reply
06-01-2013, 02:12 PM
Post: #6
RE: Error in SalesGraph.php: Unexpected T_INCLUDE
Intro to what, exactly?

SVN, PHP, MySQL, etc?
Find all posts by this user
Quote this message in a reply
06-01-2013, 02:24 PM
Post: #7
RE: Error in SalesGraph.php: Unexpected T_INCLUDE
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
Just Core Business Inc.
[url]http://www.justcorebusiness.com[/url]
Find all posts by this user
Quote this message in a reply
06-03-2013, 03:28 PM
Post: #8
RE: Error in SalesGraph.php: Unexpected T_INCLUDE
Bug fixed version provided here: http://www.weberp.org/forum/showthread.p...80#pid2780

MacPhotoBiker
Just Core Business Inc.
[url]http://www.justcorebusiness.com[/url]
Find all posts by this user
Quote this message in a reply
06-04-2013, 07:12 AM
Post: #9
RE: [Solved] Error in SalesGraph.php: Unexpected T_INCLUDE
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/

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)