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!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, 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
.