Author Topic: Same code on other server, parse error?  (Read 693 times)

0 Members and 1 Guest are viewing this topic.

artzie

  • Guest
Same code on other server, parse error?
on: Sat, 12. October 2002 - 18:33:15
I'v tested vlibTemplate with my Win-pc, first. Works fine, very nice.

Now I have tested that code with other server (portland.co.uk), and I have these errors... what is this? I read vlibTemplate.php-file from portland's server, and it's ok.

Quote

Parse error: parse error, expecting `')'' in vlibTemplate.php on line 522

Fatal error: Cannot instantiate non-existent class: vlibtemplatedebug in /host/ ..... /events.htm.php on line 27


This line 27 is where I do...
   $tmpl = new vlibTemplateDebug('events.htm');

releasedj

  • Guest
Same code on other server, parse error?
Reply #1 on: Sun, 13. October 2002 - 10:18:46
Hi,

It's hard to say what the problem is. I haven't experienced problems with parse errors on any versions of vLIB on Windows or Linux.

The most obvious thing that comes to mind is that maybe the file wasn't uploaded correctly to the server (perhaps an FTP error).

If you could send me the file which is actually on the server by email ([email protected]) then I could take a look at it.

Regards,

Kelvin