inoerp / inoERP

inoERP is an OneApp [ Go back-end & Flutter front-end ] based enterprise management system
http://docs.inoerp.com/
Mozilla Public License 2.0
767 stars 675 forks source link

Server error after install successfull #46

Open piercarlo62 opened 7 years ago

piercarlo62 commented 7 years ago

Just installed sucessfully last version of inoERP (0.6.1)

I try to access to the site and I get following errors:

Parse error: syntax error, unexpected 'class' (T_CLASS) in /home/jpghanab/admin.jpghana.biz/extensions/site_info/class_site_info.inc on line 1

Some body can help ?

Thank you

ReactorShop commented 7 years ago

This might be related to the PHP version you are testing on. InoERP 0.5.1 and on require PHP 7. Please check your PHP version running php -ver in a terminal console.

piercarlo62 commented 7 years ago

I just solved now the problem.

About requirement the all is ok.

The problem was really strange, I uploaded the inoERP files with Filezilla FTP Client and retrieved the error.

After I deleted the all installation and uploaded with smartFTP client and the all was going well.

As I repeated the installation procedure more time with different version of inoERP with Filezilla FTP client we can suppose that problem is Filezilla FTP client, very interesting because never I had this kind of problem.

Many Thanks

Piercarlo

ReactorShop commented 7 years ago

@piercarlo62 The last time I had a T_CLASS error, it was caused by a php eval() that included a gettext() translation in phpMyAdmin 4.5.4.1.

It could be that Filezilla messed that specific file encoding or the file itself, so PHP could not read and process the file and that's why it throwed the error at line 1.

Is good to know that you solved your problem.