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!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
PHP-error after transferring nuB-DB to a server
-
- Posts: 1
- Joined: Wed Apr 13, 2011 5:31 pm
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
.