Hi
I created a database with nuBuilder on XAMPP. Everything was working fine. But now I transferred it on a server and get stuck.
After entering username and password I get this error message:
PHP Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in D:\xxx\xxx\xxxx\xxx\productionnu2\common.php on line 372
Any ideas what could be missing on the server?
Unfortunately I only have access to my folder on this server.
thanks
Welcome to the nuBuilder forums!
Please register and login to view forums and other content only available to registered users.
Please register and login to view forums and other content only available to registered users.
PHP-error after transferring nuB-DB to a server
-
- Posts: 1
- Joined: Wed Apr 13, 2011 5:31 pm
-
- Site Admin
- Posts: 2781
- Joined: Mon Jun 15, 2009 2:23 am
- nuBuilder Version: 4.5
- Been thanked: 1 time
Re: PHP-error after transferring nuB-DB to a server
It might be an idea to run
in a php file to check your version and the server version.
the error you have suggests the server version can't handle the syntax of a class.
its not expecting the word public
Steven
.
Code: Select all
<?php
phpinfo();
?>
the error you have suggests the server version can't handle the syntax of a class.
Code: Select all
class sqlString{
public $from = '';
public $where = '';
Steven
.